mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-16 04:23:45 +00:00
ARYGON driver works again and PN532_UART improved :)
drivers/pn532_uart: code clean up chips/pn53x: new fonction to build frames drivers/arygon: use the new way to drive UART (its far more stable)
This commit is contained in:
@@ -29,16 +29,12 @@
|
||||
# include <sys/param.h>
|
||||
# define PN532_UART_DRIVER_NAME "PN532_UART"
|
||||
|
||||
// Functions used by developer to handle connection to this device
|
||||
nfc_device_desc_t *pn532_uart_pick_device (void);
|
||||
bool pn532_uart_probe (nfc_device_desc_t pnddDevices[], size_t szDevices, size_t * pszDeviceFound);
|
||||
|
||||
nfc_device_t *pn532_uart_connect (const nfc_device_desc_t * pndd);
|
||||
void pn532_uart_disconnect (nfc_device_t * pnd);
|
||||
|
||||
// Callback function used by libnfc to transmit commands to the PN53X chip
|
||||
bool pn532_uart_send (nfc_device_t * pnd, const byte_t * pbtData, const size_t szData);
|
||||
int pn532_uart_receive (nfc_device_t * pnd, byte_t * pbtData, const size_t szDataLen);
|
||||
int pn532_uart_receive (nfc_device_t * pnd, byte_t * pbtData, const size_t szData);
|
||||
|
||||
extern const struct nfc_driver_t pn532_uart_driver;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user