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

Macros | Typedefs | Functions
t_nfc_ep.h File Reference
`#include <emv_platform_set_align.h>`
`#include <emv_platform_restore_align.h>`

Go to the source code of this file.

## Macros
#define | T_NFC_EP_MODE KER_IMP_API
#define | NAME_FUNC_T_NFC_EP_INIT "t_nfc_epInit"
#define | NAME_FUNC_T_NFC_EP_DEINIT "t_nfc_epDeinit"
#define | NAME_FUNC_T_NFC_EP_VERSION "t_nfc_epVersion"
#define | NAME_FUNC_T_NFC_EP_CHECKSUM "t_nfc_epChecksum"
#define | NAME_FUNC_T_NFC_EP_REGISTERCALLBACK "t_nfc_epRegisterCallback"
#define | NAME_FUNC_T_NFC_EP_PREP_NEW_TRAN "t_nfc_epPrepareNewTran"
#define | NAME_FUNC_T_NFC_EP_NEW_TRAN "t_nfc_epNewTran"
#define | NAME_FUNC_T_NFC_EP_TRAN_RESTART "t_nfc_epTranRestart"
#define | NAME_FUNC_T_NFC_EP_TRAN_RELEASE "t_nfc_epTranRelease"
#define | NAME_FUNC_T_NFC_EP_GET_DATA "t_nfc_epGetData"
#define | NAME_FUNC_T_NFC_EP_GET_DATA_BY_TAG "t_nfc_epGetDataByTag"
#define | NAME_FUNC_T_NFC_EP_GET_DATA_BY_TAG_LIST "t_nfc_epGetDataByTagList"
#define | NAME_FUNC_T_NFC_EP_GET_DATA_BY_ID "t_nfc_epGetDataByID"
#define | NAME_FUNC_T_NFC_EP_GET_CUST_TAG_BY_ID "t_nfc_epGetCustomTagByID"

## Typedefs
typedef KER_VOID * | T_NFC_EP_HANDLE
typedef KER_BOOL(KER_API * | T_NFC_CALLBACK_CANCEL_TRAN) (KER_VOID *pCallbackHandle)
| Async check for cancel card polling from outside. More...
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_INIT) (KER_VOID *pConfigID, KER_INT16U usConfigIDLen, T_NFC_EP_HANDLE *ppHandle)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_DEINIT) (T_NFC_EP_HANDLE pHandle)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_VERSION) (T_NFC_EP_HANDLE pHandle, const KER_BYTE *pbtKerID, KER_BYTE btKerIDLen, KER_CHAR *pchVerInfo, KER_INT16U *pusVerInfoLen)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_CHECKSUM) (T_NFC_EP_HANDLE pHandle, const KER_BYTE *pbtKerID, KER_BYTE btKerIDLen, KER_BYTE btCheckSumType, KER_BYTE *pbtCheckSum, KER_INT16U *pusCheckSumSize)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_REGISTERCALLBACK) (T_NFC_EP_HANDLE pHandle, KER_INT16U usCllbackID, KER_VOID *pCallback)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_PREP_NEW_TRAN) (T_NFC_EP_HANDLE pHandle, const NFC_EXT_TERM_TRAN_DATA *pTermTranData, const NFC_OUTCOME **ppOutcome)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_NEW_TRAN) (T_NFC_EP_HANDLE pHandle, KER_INT32U ulTimeout, KER_INT16U usExtCardTypes, T_NFC_CALLBACK_CANCEL_TRAN fCancelCallback, KER_VOID *pCancelCallbackHandle, KER_INT16U *pusCardType, KER_BYTE *pbtUID, KER_INT16U *pusUIDLen, const NFC_OUTCOME **ppOutcome)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_TRAN_RESTART) (T_NFC_EP_HANDLE pHandle, const NFC_EXT_TERM_RESTART_DATA *pTermRestartData, KER_INT32U ulTimeout, KER_INT16U usExtCardTypes, T_NFC_CALLBACK_CANCEL_TRAN fCancelCallback, KER_VOID *pCancelCallbackHandle, KER_INT16U *pusCardType, KER_BYTE *pbtUID, KER_INT16U *pusUIDLen, const NFC_OUTCOME **ppOutcome)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_TRAN_RELEASE) (T_NFC_EP_HANDLE pHandle)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_GET_DATA) (T_NFC_EP_HANDLE pHandle, KER_INT16U usOptions, KER_BYTE *pbtData, KER_INT16U *pusDataLen)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_GET_DATA_BY_TAG) (T_NFC_EP_HANDLE pHandle, KER_INT16U usOptions, const KER_BYTE *pbtTag, KER_BYTE btTagSize, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_GET_DATA_BY_TAG_LIST) (T_NFC_EP_HANDLE pHandle, KER_INT16U usOptions, const KER_BYTE *pbtTagList, KER_INT16U usTagListSize, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_GET_DATA_BY_ID) (T_NFC_EP_HANDLE pHandle, KER_INT16U usID, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
typedef KER_RES(KER_API * | FUNC_T_NFC_EP_GET_CUST_TAG_BY_ID) (T_NFC_EP_HANDLE pHandle, KER_INT16U usID, KER_BYTE *pbtCustomTag, KER_INT16U *pusCustomTagSize)

## Functions
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epInit (KER_VOID *pConfigID, KER_INT16U usConfigIDLen, T_NFC_EP_HANDLE *ppHandle)
| Entry Point Initialization. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epDeinit (T_NFC_EP_HANDLE pHandle)
| Entry Point De-Initialization. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epVersion (T_NFC_EP_HANDLE pHandle, const KER_BYTE *pbtKerID, KER_BYTE btKerIDLen, KER_CHAR *pchVerInfo, KER_INT16U *pusVerInfoLen)
| Entry Point version information. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epChecksum (T_NFC_EP_HANDLE pHandle, const KER_BYTE *pbtKerID, KER_BYTE btKerIDLen, KER_BYTE btCheckSumType, KER_BYTE *pbtCheckSum, KER_INT16U *pusCheckSumSize)
| Kernel checksum calculation. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epRegisterCallback (T_NFC_EP_HANDLE pHandle, KER_INT16U usCllbackID, KER_VOID *pCallback)
| Kernel callback registration. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epPrepareNewTran (T_NFC_EP_HANDLE pHandle, const NFC_EXT_TERM_TRAN_DATA *pTermTranData, const NFC_OUTCOME **ppOutcome)
| Prepares new transaction. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epNewTran (T_NFC_EP_HANDLE pHandle, KER_INT32U ulTimeout, KER_INT16U usExtCardTypes, T_NFC_CALLBACK_CANCEL_TRAN fCancelCallback, KER_VOID *pCancelCallbackHandle, KER_INT16U *pusCardType, KER_BYTE *pbtUID, KER_INT16U *pusUIDLen, const NFC_OUTCOME **ppOutcome)
| Initiates new transaction. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epTranRestart (T_NFC_EP_HANDLE pHandle, const NFC_EXT_TERM_RESTART_DATA *pTermRestartData, KER_INT32U ulTimeout, KER_INT16U usExtCardTypes, T_NFC_CALLBACK_CANCEL_TRAN fCancelCallback, KER_VOID *pCancelCallbackHandle, KER_INT16U *pusCardType, KER_BYTE *pbtUID, KER_INT16U *pusUIDLen, const NFC_OUTCOME **ppOutcome)
| Restarts transaction for issuer update, cv-cvm confirmation, etc... More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epTranRelease (T_NFC_EP_HANDLE pHandle)
| Releases transaction context. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epGetData (T_NFC_EP_HANDLE pHandle, KER_INT16U usOptions, KER_BYTE *pbtData, KER_INT16U *pusDataLen)
| Entry Point transaction data request. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epGetDataByTag (T_NFC_EP_HANDLE pHandle, KER_INT16U usOptions, const KER_BYTE *pbtTag, KER_BYTE btTagSize, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
| Entry Point transaction data request. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epGetDataByTagList (T_NFC_EP_HANDLE pHandle, KER_INT16U usOptions, const KER_BYTE *pbtTagList, KER_INT16U usTagListSize, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
| Entry Point transaction data request. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epGetDataByID (T_NFC_EP_HANDLE pHandle, KER_INT16U usID, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
| Obtain emv data by ID. More...
T_NFC_EP_MODE KER_RES KER_API | t_nfc_epGetCustomTagByID (T_NFC_EP_HANDLE pHandle, KER_INT16U usID, KER_BYTE *pbtCustomTag, KER_INT16U *pusCustomTagSize)
| Obtain custum tag by ID. More...

## Detailed Description

T-NFC Entry Point interface

## Macro Definition Documentation

## ◆ NAME_FUNC_T_NFC_EP_GET_CUST_TAG_BY_ID

#define NAME_FUNC_T_NFC_EP_GET_CUST_TAG_BY_ID "t_nfc_epGetCustomTagByID"

\ ( )

## ◆ NAME_FUNC_T_NFC_EP_GET_DATA_BY_ID

#define NAME_FUNC_T_NFC_EP_GET_DATA_BY_ID "t_nfc_epGetDataByID"

\ ( )

## Typedef Documentation

## ◆ FUNC_T_NFC_EP_GET_CUST_TAG_BY_ID

typedef KER_RES(KER_API * FUNC_T_NFC_EP_GET_CUST_TAG_BY_ID) (T_NFC_EP_HANDLE pHandle, KER_INT16U usID, KER_BYTE *pbtCustomTag, KER_INT16U *pusCustomTagSize)

\ ( )

## ◆ FUNC_T_NFC_EP_GET_DATA_BY_ID

typedef KER_RES(KER_API * FUNC_T_NFC_EP_GET_DATA_BY_ID) (T_NFC_EP_HANDLE pHandle, KER_INT16U usID, KER_BYTE *pbtData, KER_INT16U *pusDataSize)

\ ( )