I got some errors when using your app to parse the NDef message sent by my app. But your app worked properly when I removed that -1 of your apdu.length-1 algorithm.
Please consider the following APDU extended command to simulate this issue:
Instead of just removing the hardcoded -1 (it was there because of Le field) from the array copy, I used the declared data length to calculate how many bytes I should copy.
You have the following line at your APDU parser method: https://github.com/moreira/NFCIsoDepListener/blob/e4fde3e0e0431f7554fe6e2f0fad93ef612d2453/app/src/main/java/com/example/nfcisodeplistener/APDUCommand.java#L62
I got some errors when using your app to parse the NDef message sent by my app. But your app worked properly when I removed that
-1
of yourapdu.length-1
algorithm.Please consider the following APDU extended command to simulate this issue:
This APDU encapsulates the following URI:
Thanks!
pmotta