OpenJavaCard / openjavacard-ndef

NDEF tag implementation for JavaCard
GNU General Public License v3.0
70 stars 25 forks source link

PN532 failing with Unknown TLV 67 #9

Closed systemx-xx closed 5 years ago

systemx-xx commented 5 years ago

Update: Fails on windows with GoToTags and ACR122u.

I cant seem to get to the PN532 and Arduino to read the tag, when I use ACR122U it works fine, however the Arduino can read a regular mifare card with the same NDEF tag fine.

Loaded javacard-ndef-full-plain.cap onto J3A040 Created text ndef Write ndef onto mifare and java card.

Reading Mifare and Java card with ACR122U works. Reading Mifare and Java card with iPhone Xs works. Reading Mifare with Arduino and PN532 works. Reading Mifare with GoToTags Windows App with ACR122U works.

Reading Java card with Arduino and PN532 throws error, Unknown TLV 67. Reading Java card with GoToTags Windows App with ACR122U does not work, Throws NFC tag's type is not supported.

martinpaljak commented 5 years ago

Couldn't this be a bug report to the Arduino software instead?

systemx-xx commented 5 years ago

Couldn't this be a bug report to the Arduino software instead?

I have been able to get the Java card to fail under windows using the GotoTags Windows App with the ACR122U, this doesn't appear to be specific to the Arduino. The Mifare card works fine. I will update my initial issue.

promovicz commented 5 years ago

This looks like you are having issues with your clients, not the NDEF applet.

The Arduino library probably does not support the type of content you have written. Can you point out which library you are using so I can follow up on this? You might also create a ticket with them yourself. I am willing to support an effort to debug this.

The GoToTags application seems to be incompatible with the NFC applet. The applet implements a bare-minimum but fully compliant NDEF feature set. This application likely requires something that the applet does not implement. If you figure out what that is then I might be able to offer advice.

promovicz commented 5 years ago

This issue is closed with regards to openjavacard-ndef.

Please create a new issue or contact me personally if you wish me to follow up on your library problems.