AnsweredAssumed Answered

PN7120 StartDiscovery returns DISCOVERY_ALREADY_STARTED

Question asked by Tim van der Valk on Jun 23, 2017
Latest reply on Jul 14, 2017 by Tim van der Valk

Hi all,

 

Right after I start a discovery, I get a weird notification.

 

My log:

NfcReader::Send: cmd:  \x20\x00\x01\x01
NfcReader::Receive: header  \x40\x00\x03
NfcReader::Receive: payload:  \x00\x10\x01
NfcReader::Send: cmd:  \x20\x01\x00
NfcReader::Receive: header  \x40\x01\x17
NfcReader::Receive: payload:  \x00\x03\x0e\x03\x00\x06\x00\x01\x02\x03\x81\x82\x02\xc8\x00\xff\x02\x00\x04\x05\x08\x02\x02
NfcReader::Send: cmd:  \x2f\x02\x00
NfcReader::Receive: header  \x4f\x02\x05
NfcReader::Receive: payload:  \x00\x00\x00\x7a\x5d
NfcReader::Send: cmd:  \x21\x00\x10\x05\x01\x01\x01\x02\x01\x01\x03\x01\x01\x04\x01\x02\x80\x01\x80
NfcReader::Receive: header  \x41\x00\x01
NfcReader::Receive: payload:  \x00
NfcReader::Send: cmd:  \x21\x03\x11\x08\x00\x01\x01\x01\x02\x01\x05\x01\x80\x01\x82\x01\x83\x01\x85\x01
NfcReader::Receive: header  \x60\x00\x06
NfcReader::Receive: payload:  \xa0\x00\xd7\xd4\x00\x00

 

The structure of the last notification is unexpected. GID and OID are 0000b which indicate CORE_RESET_NTF, but it's payload clearly belongs to the just delivered RF_DISCOVER_CMD. So I would expect RF_DISCOVER_NTF (0x61 0x30). Could somebody please explain if my iterpretation is correct?

 

Kind regards!

Outcomes