pn532_uart.h
Go to the documentation of this file.00001
00024 #ifndef __NFC_DRIVER_PN532_UART_H__
00025 #define __NFC_DRIVER_PN532_UART_H__
00026
00027 #include <nfc/nfc-types.h>
00028
00029 #define PN532_UART_DRIVER_NAME "PN532_UART"
00030
00031
00032 nfc_device_desc_t * pn532_uart_pick_device (void);
00033 bool pn532_uart_list_devices(nfc_device_desc_t pnddDevices[], size_t szDevices, size_t *pszDeviceFound);
00034
00035 nfc_device_t* pn532_uart_connect(const nfc_device_desc_t* pndd);
00036 void pn532_uart_disconnect(nfc_device_t* pnd);
00037
00038
00039 bool pn532_uart_transceive(const nfc_device_spec_t nds, const byte_t* pbtTx, const size_t szTxLen, byte_t* pbtRx, size_t* pszRxLen);
00040
00041 #endif // ! __NFC_DRIVER_PN532_UART_H__
00042