AnsweredAssumed Answered

NFC Reader Library how to know if phone read is success or fail

Question asked by EMMANUEL SANCHEZ on Sep 11, 2019

Hi,

 

I'm using the NFC Reader Library to run the PN5180 in card emulation mode (NfcrdlibEx8_HCE_T4T.c). I can successfully read the NDEF content with a phone. However, I noticed that if I move the phone too quickly or I move it out of range before the read finishes, I get a message "No NDEF Detected" on the NXP TagWriter app.

 

Is it possible for the PN5180 to know if the phone finished reading the tag successfully?

 

I set a breakpoint in T4TCardEmulation() immediately after status = phceT4T_Activate(pceT4T); and a breakpoint in TApplication() immediately after status = phceT4T_AppProcessCmd(...);. The breakpoints hit when the phone moves out of range after reading the tag, but the statuses do not tell me if the phone read was a success or fail.

 

Is there a way to distinguish?

 

Thank you!

Outcomes