grundid / nfctools-examples

Examples for the nfctools library
69 stars 55 forks source link

NDEFReader Fails. Unknown card type #3

Closed samsamm777 closed 2 years ago

samsamm777 commented 11 years ago

java -cp nfctools-examples.jar org.nfctools.examples.ndefreader.NdefReaderDemo

root@ubuntu001:/home/administrator/Downloads# java -cp nfctools-examples-ultralight.jar org.nfctools.examples.ndefreader.NdefReaderDemo^[[B^[[A^[[AINFO : org.nfctools.examples.ndefreader.NdefReaderDemo - Listening... DEBUG: org.nfctools.spi.acs.Acr122ReaderWriter - Starting new thread Thread-0 INFO : org.nfctools.examples.ndefreader.NdefReaderDemo - Done Exception in thread "Thread-0" java.lang.RuntimeException: org.nfctools.mf.MfException: unknown card type: 804F0CA00000030603000300000000 at org.nfctools.spi.acs.PollingCardScanner.run(PollingCardScanner.java:51) at java.lang.Thread.run(Thread.java:722) Caused by: org.nfctools.mf.MfException: unknown card type: 804F0CA00000030603000300000000 at org.nfctools.spi.acs.CardResolver.resolvecard(CardResolver.java:44) at org.nfctools.spi.acs.PollingCardScanner.waitForCard(PollingCardScanner.java:60) at org.nfctools.spi.acs.PollingCardScanner.run(PollingCardScanner.java:45) ... 1 more

Any ideas?

honeynatividad commented 8 years ago

Have you ever resolve this issue? Because Im also getting this error. but when I tried the scancard, its working. Do i need to configure soemthing?

riverajefer commented 8 years ago

is there any solution to the problem?

Premier commented 7 years ago

Same error, i'm using Ultralight Type 2 NFC

grundid commented 7 years ago

I'm sorry, but I do not have access to ultralight type 2 cards right now. I assume this is an ID issue. You would have to change to possible IDs in der CardResolver class and then try this again.