Generate an error before sending InAutoPoll command if chip does not support it.

This commit is contained in:
Romuald Conty 2010-08-20 10:11:06 +00:00
parent f4aa4edc94
commit 084c001c11
2 changed files with 8 additions and 5 deletions

View file

@ -73,6 +73,7 @@
#define DENACK 0x0100 /* NACK */
#define DEACKMISMATCH 0x0200 /* Unexpected data */
#define DEISERRFRAME 0x0300 /* Error frame */
#define DENOTSUP 0x0400 /* Not supported */
bool pn53x_transceive_check_ack_frame_callback(nfc_device_t* pnd, const byte_t *pbtRxFrame, const size_t szRxFrameLen);
bool pn53x_transceive_check_error_frame_callback(nfc_device_t* pnd, const byte_t *pbtRxFrame, const size_t szRxFrameLen);