Forum › MIFARE SDK › NTAG213 Tranceive error and TAG lost exception seen › Reply To: NTAG213 Tranceive error and TAG lost exception seen
Thank you, I tried in the new card and certain sequence of steps of above apis worked as referred from datasheet,
However just one Api call failed.
I tried calling,
public interface INTag213215216
enableCounter(boolean isEnable) -> Enables the NFC counter.
called as enableCounter(true);
But I am getting this error,
W/System.err: com.nxp.nfclib.exceptions.NxpNfcLibException: Transceive failed
2020-10-15 13:30:58.908 30551-30551/com.example.desfiresdklogic W/System.err: at com.nxp.nfclib.NfcAReader.transceive(:71)
2020-10-15 13:30:58.908 30551-30551/com.example.desfiresdklogic W/System.err: at com.nxp.nfclib.AndroidApduHandler.apduExchange(:42)
2020-10-15 13:30:58.908 30551-30551/com.example.desfiresdklogic W/System.err: at com.nxp.nfclib.ntag.AbstractNTag.Ž(:197)
2020-10-15 13:30:58.908 30551-30551/com.example.desfiresdklogic W/System.err: at com.nxp.nfclib.ntag.AbstractNTag.?(:403)
2020-10-15 13:30:58.908 30551-30551/com.example.desfiresdklogic W/System.err: at com.nxp.nfclib.ntag.NTag213215216.enableCounter(:374)
Referred to datasheet 8.5.7,
NFC_CNT_EN -> If the NFC counter is enabled, the NFC counter will be automatically increased at the first READ or FAST_READ command after a power on reset
But unable to understand why this error is thrown for this API.
Can you please help me getting some insights what could be wrong with this?
Regards,
Anitha
However just one Api call failed.
I tried calling,
public interface INTag213215216
enableCounter(boolean isEnable) -> Enables the NFC counter.
called as enableCounter(true);
But I am getting this error,
W/System.err: com.nxp.nfclib.exceptions.NxpNfcLibException: Transceive failed
2020-10-15 13:30:58.908 30551-30551/com.example.desfiresdklogic W/System.err: at com.nxp.nfclib.NfcAReader.transceive(:71)
2020-10-15 13:30:58.908 30551-30551/com.example.desfiresdklogic W/System.err: at com.nxp.nfclib.AndroidApduHandler.apduExchange(:42)
2020-10-15 13:30:58.908 30551-30551/com.example.desfiresdklogic W/System.err: at com.nxp.nfclib.ntag.AbstractNTag.Ž(:197)
2020-10-15 13:30:58.908 30551-30551/com.example.desfiresdklogic W/System.err: at com.nxp.nfclib.ntag.AbstractNTag.?(:403)
2020-10-15 13:30:58.908 30551-30551/com.example.desfiresdklogic W/System.err: at com.nxp.nfclib.ntag.NTag213215216.enableCounter(:374)
Referred to datasheet 8.5.7,
NFC_CNT_EN -> If the NFC counter is enabled, the NFC counter will be automatically increased at the first READ or FAST_READ command after a power on reset
But unable to understand why this error is thrown for this API.
Can you please help me getting some insights what could be wrong with this?
Regards,
Anitha
+ 0
|
- 0