AT-NFC 2.1 (win) AT-NFC kernel set

Typedefs | Functions
hal_nfc_de.h File Reference

Go to the source code of this file.

## Macros
#define | HAL_NFC_DE_RES_OK 0x0000
#define | HAL_NFC_DE_RES_TIMEOUT 0x0001
#define | HAL_NFC_DE_RES_NO_DATA 0x0002
#define | HAL_NFC_DE_RES_FAIL 0x0003
#define | HAL_NFC_DE_DET_POLLING_TIMEOUT 0xFFFE
#define | HAL_NFC_DE_DET_DEF_TIMEOUT 0xFFFF

## Typedefs
typedef KER_BOOL(KER_API * | CALLBACK_NFC_DE_DATA_FROM_KERNEL) (KER_CTX_PARAM KER_VOID *pCallbackHandle, const KER_BYTE *pbtData, KER_INT16U usDataLen)
| Callback type for data exchange. More...
typedef KER_INT16U(KER_API * | CALLBACK_NFC_DE_DATA_FROM_TERMINAL) (KER_CTX_PARAM KER_VOID *pCallbackHandle, KER_INT16U usTimeout, KER_INT16U usParam, KER_VOID *pParam, KER_BYTE **ppbtData, KER_INT16U *pusDataLen)
| Callback type for data exchange. More...
typedef KER_BOOL(KER_API * | CALLBACK_NFC_DE_DATA_RELEASE) (KER_CTX_PARAM KER_VOID *pCallbackHandle, KER_BYTE *pbtData)
| Callback type for data exchange. More...
typedef KER_BOOL(KER_API * | CALLBACK_NFC_DE_DATA_RELEASE_EX) (KER_CTX_PARAM KER_VOID *pCallbackHandle, KER_BYTE *pbtData, KER_INT16U usDataLen)
| Callback type for data exchange. More...

## Functions
KER_BOOL | hal_nfc_de_set_data_from_kernel (KER_CTX_PARAM const KER_BYTE *pbtData, KER_INT16U usDataLen)
| Data exchange: pass data from kernel. More...
KER_INT16U | hal_nfc_de_get_data_from_terminal (KER_CTX_PARAM KER_INT16U usTimeout, KER_INT16U usParam, KER_VOID *pParam, KER_BYTE **ppbtData, KER_INT16U *pusDataLen)
| Data exchange: obtain updated transaction data from terminal. More...
KER_BOOL | hal_nfc_de_release (KER_CTX_PARAM KER_BYTE *pbtData)
| Data exchange: release memory allocated by hal_nfc_de_get_data_from_terminal. More...
KER_BOOL | hal_nfc_de_release_ex (KER_CTX_PARAM KER_BYTE *pbtData, KER_INT16U usDataLen)
| Data exchange: release memory allocated by hal_nfc_de_get_data_from_terminal. More...

## Detailed Description

HAL NFC data exchange interface definition