arygon.h

Go to the documentation of this file.
00001 
00024 #ifndef __NFC_DRIVER_ARYGON_H__
00025 #  define __NFC_DRIVER_ARYGON_H__
00026 
00027 #  include <nfc/nfc-types.h>
00028 
00029 #  define ARYGON_DRIVER_NAME "ARYGON"
00030 
00031 // Functions used by developer to handle connection to this device
00032 nfc_device_desc_t *arygon_pick_device (void);
00033 bool    arygon_list_devices (nfc_device_desc_t pnddDevices[], size_t szDevices, size_t * pszDeviceFound);
00034 
00035 nfc_device_t *arygon_connect (const nfc_device_desc_t * pndd);
00036 void    arygon_disconnect (nfc_device_t * pnd);
00037 
00038 // Callback function used by libnfc to transmit commands to the PN53X chip
00039 bool    arygon_transceive (nfc_device_t * pnd, const byte_t * pbtTx, const size_t szTxLen, byte_t * pbtRx,
00040                            size_t * pszRxLen);
00041 
00042 #endif // ! __NFC_DRIVER_ARYGON_H__