examples/nfc-read-forum-tag3: add new example to read a NFC Forum Tag Type 3

This commit is contained in:
Romuald Conty 2011-10-10 00:40:34 +00:00
parent 57db10acf0
commit dc842a844c
8 changed files with 344 additions and 9 deletions

View file

@ -477,6 +477,7 @@ pn53x_usb_send (nfc_device_t * pnd, const byte_t * pbtData, const size_t szData,
// response packet. With this hack, the nextly executed function (ie.
// pn53x_usb_receive()) will be able to retreive the correct response
// packet.
// FIXME Sony reader is also affected by this bug but NACK is not supported
int res = pn53x_usb_bulk_write (DRIVER_DATA (pnd), (byte_t *)pn53x_nack_frame, sizeof(pn53x_nack_frame), timeout);
if (res < 0) {
pnd->iLastError = ECOMIO;