libnfc  1.4.2
arygon.h
Go to the documentation of this file.
1 
24 #ifndef __NFC_DRIVER_ARYGON_H__
25 # define __NFC_DRIVER_ARYGON_H__
26 
27 # include <nfc/nfc-types.h>
28 
29 # define ARYGON_DRIVER_NAME "ARYGON"
30 
31 // Functions used by developer to handle connection to this device
32 nfc_device_desc_t *arygon_pick_device (void);
33 bool arygon_list_devices (nfc_device_desc_t pnddDevices[], size_t szDevices, size_t * pszDeviceFound);
34 
35 nfc_device_t *arygon_connect (const nfc_device_desc_t * pndd);
36 void arygon_disconnect (nfc_device_t * pnd);
37 
38 // Callback function used by libnfc to transmit commands to the PN53X chip
39 bool arygon_transceive (nfc_device_t * pnd, const byte_t * pbtTx, const size_t szTx, byte_t * pbtRx,
40  size_t * pszRx);
41 
42 #endif // ! __NFC_DRIVER_ARYGON_H__