Generic structure to handle NFC device functions. More...
#include <nfc-types.h>
Data Fields | |
| const char * | acDriver |
| nfc_device_desc_t *(* | pick_device )(void) |
| bool(* | list_devices )(nfc_device_desc_t pnddDevices[], size_t szDevices, size_t *pszDeviceFound) |
| nfc_device_t *(* | connect )(const nfc_device_desc_t *pndd) |
| bool(* | transceive )(const nfc_device_spec_t nds, const byte_t *pbtTx, const size_t szTxLen, byte_t *pbtRx, size_t *pszRxLen) |
| void(* | disconnect )(nfc_device_t *pnd) |
Generic structure to handle NFC device functions.
Definition at line 98 of file nfc-types.h.
| const char* driver_callbacks::acDriver |
Driver name
Definition at line 100 of file nfc-types.h.
| nfc_device_t*(* driver_callbacks::connect)(const nfc_device_desc_t *pndd) |
Connect callback
| void(* driver_callbacks::disconnect)(nfc_device_t *pnd) |
Disconnect callback
| bool(* driver_callbacks::list_devices)(nfc_device_desc_t pnddDevices[], size_t szDevices, size_t *pszDeviceFound) |
List devices callback
Pick devices callback
| bool(* driver_callbacks::transceive)(const nfc_device_spec_t nds, const byte_t *pbtTx, const size_t szTxLen, byte_t *pbtRx, size_t *pszRxLen) |
Transceive callback
1.6.1