marcoalbarelli / nfctools-aer

Android External Reader, Make your Android device NFC capable
17 stars 8 forks source link

NTAG215 cards not working #2

Closed Fyb3roptik closed 5 years ago

Fyb3roptik commented 6 years ago

Getting this error:

10-16 23:18:52.001 2159-2187/eu.marcoalbarelli.android.usbtest E/AndroidRuntime: FATAL EXCEPTION: Thread-2
    Process: eu.marcoalbarelli.android.usbtest, PID: 2159
    org.nfctools.NfcException: org.nfctools.NfcException: Unknown memory size 62
        at org.nfctools.mf.ul.Type2NfcTagListener.createNdefOperations(Type2NfcTagListener.java:96)
        at org.nfctools.mf.ul.Type2NfcTagListener.handleTag(Type2NfcTagListener.java:52)
        at eu.marcoalbarelli.android.usbtest.ReaderStateChangeListener.onStateChange(ReaderStateChangeListener.java:45)
        at com.acs.smartcard.Reader$a.run(SourceFile:846)
        at java.lang.Thread.run(Thread.java:764)
     Caused by: org.nfctools.NfcException: Unknown memory size 62
        at org.nfctools.mf.ul.Type2NfcTagListener.createNdefOperations(Type2NfcTagListener.java:87)
        at org.nfctools.mf.ul.Type2NfcTagListener.handleTag(Type2NfcTagListener.java:52) 
        at eu.marcoalbarelli.android.usbtest.ReaderStateChangeListener.onStateChange(ReaderStateChangeListener.java:45) 
        at com.acs.smartcard.Reader$a.run(SourceFile:846) 
        at java.lang.Thread.run(Thread.java:764) 
marcoalbarelli commented 5 years ago

This project is very old. Most likely you should provide a PR for updating the nfctools library. Feel free to do so.

Fyb3roptik commented 5 years ago

I ended up using NTAG213 cards instead

marcoalbarelli commented 5 years ago

Glad you found a solution :)