Abort mecanism is now implemented in driver layer:

iAbortFd file descriptor array have been removed from nfc_device_t;
nfc_abort_command() can now failed (return false);
nfc_abort_command() now call abort_command pointer from drivers;
pn532_uart and arygon drivers use a pipe-based mecanism (similar from previous one);
pn53x_usb driver use a boolean flag-based mecanism (the previous one does not work as expected);
pn53x_usb now print smarter messages on error at usb connection;
pn53x_usb now handle a strange case: sometimes, the first sent command is not ACKed by PN53x USB device, a dummy command is now sent.
This commit is contained in:
Romuald Conty 2011-05-05 09:27:17 +00:00
parent 72422e819b
commit 0265515a0c
8 changed files with 102 additions and 52 deletions

View file

@ -66,7 +66,6 @@ typedef struct {
* +----------- Driver-level general error (common to all drivers)
*/
int iLastError;
int iAbortFds[2];
} nfc_device_t;
/**