Generic structure to handle NFC device functions. More...
#include <nfc-types.h>
Data Fields | |
const char * | acDriver |
struct chip_callbacks * | pcc |
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 )(nfc_device_t *pnd, 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 118 of file nfc-types.h.
const char* driver_callbacks::acDriver |
Driver name
Definition at line 120 of file nfc-types.h.
nfc_device_t*(* driver_callbacks::connect)(const nfc_device_desc_t *pndd) |
Connect callback
Definition at line 128 of file nfc-types.h.
void(* driver_callbacks::disconnect)(nfc_device_t *pnd) |
Disconnect callback
Definition at line 136 of file nfc-types.h.
bool(* driver_callbacks::list_devices)(nfc_device_desc_t pnddDevices[], size_t szDevices, size_t *pszDeviceFound) |
List devices callback
Definition at line 126 of file nfc-types.h.
struct chip_callbacks* driver_callbacks::pcc |
Chip specific callback functions
Definition at line 122 of file nfc-types.h.
Pick devices callback
Definition at line 124 of file nfc-types.h.
bool(* driver_callbacks::transceive)(nfc_device_t *pnd, const byte_t *pbtTx, const size_t szTxLen, byte_t *pbtRx, size_t *pszRxLen) |
Transceive callback
Definition at line 133 of file nfc-types.h.