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

Macros | Typedefs | Functions
t_nfc_ker.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_KER_MODE KER_IMP_API
#define | NAME_FUNC_T_NFC_KERNEL_INIT "t_nfc_Init"
#define | NAME_FUNC_T_NFC_KERNEL_DEINIT "t_nfc_Deinit"
#define | NAME_FUNC_T_NFC_KERNEL_REGISTERCALLBACK "t_nfc_RegisterCallback"
#define | NAME_FUNC_T_NFC_KERNEL_VERSION "t_nfc_Version"
#define | NAME_FUNC_T_NFC_KERNEL_CHECKSUM "t_nfc_Checksum"
#define | NAME_FUNC_T_NFC_KERNEL_TRAN_PREPROCESS "t_nfc_TranPreprocessing"
#define | NAME_FUNC_T_NFC_KERNEL_TRAN_START "t_nfc_TranStart"
#define | NAME_FUNC_T_NFC_KERNEL_TRAN_ISS_UPDATE "t_nfc_TranIssUpdate"
#define | NAME_FUNC_T_NFC_KERNEL_TRAN_RELEASE "t_nfc_TranRelease"
#define | NAME_FUNC_T_NFC_KERNEL_GET_DATA "t_nfc_GetData"
#define | NAME_FUNC_T_NFC_KERNEL_GET_DATA_BY_TAG "t_nfc_GetDataByTag"
#define | NAME_FUNC_T_NFC_KERNEL_GET_DATA_BY_TAG_LIST "t_nfc_GetDataByTagList"
#define | NAME_FUNC_T_NFC_KERNEL_GET_DATA_BY_ID "t_nfc_GetDataByID"
#define | T_NFC_CHECKSUM_KERNEL 0x00
#define | T_NFC_CHECKSUM_CONFIG 0x01
#define | T_NFC_CHECKSUM_FULL_CONFIG 0x02
#define | T_NFC_KER_GET_OPT_CUST 0x0001
#define | T_NFC_KER_GET_OPT_SKIP_STD_PROC 0x0002

## Typedefs
typedef KER_VOID * | T_NFC_HANDLE
typedef struct tag_T_NFC_CALLBACKS | T_NFC_CALLBACKS
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_INIT) (KER_INT32U ulRuntimeKernelID, KER_VOID *pCallbackHandle, const T_NFC_CALLBACKS *pCallbacks, const KER_VOID *pConfigID, KER_INT16U usConfigIDLen, T_NFC_HANDLE *ppHandle)
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_DEINIT) (T_NFC_HANDLE pHandle)
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_REGISTERCALLBACK) (T_NFC_HANDLE pHandle, KER_INT16U usCllbackID, KER_VOID *pCallback)
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_VERSION) (T_NFC_HANDLE pHandle, KER_CHAR *pchVerInfo, KER_INT16U *pusVerInfoLen)
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_CHECKSUM) (T_NFC_HANDLE pHandle, KER_BYTE btCheckSumType, KER_BYTE *pbtCheckSum, KER_INT16U *pusCheckSumSize)
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_TRAN_PREPROCESS) (T_NFC_HANDLE pHandle, const NFC_EXT_TERM_TRAN_DATA *pTermTranData, const NFC_EP_PRE_DATA *pEpPRE)
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_TRAN_START) (T_NFC_HANDLE pHandle, const NFC_EP_PRE_DATA *pEpPRE, const NFC_EP_PPSE_DATA *pEpPPSE, const NFC_EP_TRAN_DATA *pEpTranData, NFC_OUTCOME **ppOutcome)
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_TRAN_ISS_UPDATE) (T_NFC_HANDLE pHandle, const NFC_EP_RESTART_DATA *pEpRestartData, const NFC_EXT_TERM_RESTART_DATA *pTermRestartData, NFC_OUTCOME **ppOutcome)
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_TRAN_RELEASE) (T_NFC_HANDLE pHandle)
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_GET_DATA) (T_NFC_HANDLE pHandle, KER_INT16U usOptions, KER_BYTE *pbtData, KER_INT16U *pusDataLen)
typedef KER_RES(KER_API * | FUNC_T_NFC_KERNEL_GET_DATA_BY_TAG) (T_NFC_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_KERNEL_GET_DATA_BY_TAG_LIST) (T_NFC_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_KERNEL_GET_DATA_BY_ID) (T_NFC_HANDLE pHandle, KER_INT16U usID, KER_BYTE *pbtData, KER_INT16U *pusDataSize)

## Functions
T_NFC_KER_MODE KER_RES KER_API | t_nfc_Init (KER_INT32U ulRuntimeKernelID, KER_VOID *pCallbackHandle, const T_NFC_CALLBACKS *pCallbacks, const KER_VOID *pConfigID, KER_INT16U usConfigIDLen, T_NFC_HANDLE *ppHandle)
| Kernel Initialization. More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_Deinit (T_NFC_HANDLE pHandle)
| Kernel De-Initialization. More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_RegisterCallback (T_NFC_HANDLE pHandle, KER_INT16U usCllbackID, KER_VOID *pCallback)
| Kernel callback registration. More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_Version (T_NFC_HANDLE pHandle, KER_CHAR *pchVerInfo, KER_INT16U *pusVerInfoLen)
| Kernel version information. More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_Checksum (T_NFC_HANDLE pHandle, KER_BYTE btCheckSumType, KER_BYTE *pbtCheckSum, KER_INT16U *pusCheckSumSize)
| Kernel checksum calculation. More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_TranPreprocessing (T_NFC_HANDLE pHandle, const NFC_EXT_TERM_TRAN_DATA *pTermTranData, const NFC_EP_PRE_DATA *pEpPRE)
| Makes transaction preprocessing by Kernel (optional) More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_TranStart (T_NFC_HANDLE pHandle, const NFC_EP_PRE_DATA *pEpPRE, const NFC_EP_PPSE_DATA *pEpPPSE, const NFC_EP_TRAN_DATA *pEpTranData, NFC_OUTCOME **ppOutcome)
| Start new transaction by Kernel. More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_TranIssUpdate (T_NFC_HANDLE pHandle, const NFC_EP_RESTART_DATA *pEpRestartData, const NFC_EXT_TERM_RESTART_DATA *pTermRestartData, NFC_OUTCOME **ppOutcome)
| Issuer data (obtained by auth request) processing. More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_TranRelease (T_NFC_HANDLE pHandle)
| Kernel Transaction completion (free resuorces) More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_GetData (T_NFC_HANDLE pHandle, KER_INT16U usOptions, KER_BYTE *pbtData, KER_INT16U *pusDataLen)
| Kernel transaction data request. More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_GetDataByTag (T_NFC_HANDLE pHandle, KER_INT16U usOptions, const KER_BYTE *pbtTag, KER_BYTE btTagSize, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
| Kernel transaction data request. More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_GetDataByTagList (T_NFC_HANDLE pHandle, KER_INT16U usOptions, const KER_BYTE *pbtTagList, KER_INT16U usTagListSize, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
| Kernel transaction data request. More...
T_NFC_KER_MODE KER_RES KER_API | t_nfc_GetDataByID (T_NFC_HANDLE pHandle, KER_INT16U usID, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
| Kernel data request by ID. More...

## Detailed Description

T-NFC KERNEL interface