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

nfc_ep_ker.h
Go to the documentation of this file.
1 #ifndef NFC_EP_KER_H
2 #define NFC_EP_KER_H
3
4 /* **************************** ENTRY POINT TO NFC KERNEL API ****************************** */
8 /* ***************************************************************************************** */
9
10 /* ************************* NFC Kernel library export functions *************************** */
19 /* ***************************************************************************************** */
20
21 typedef struct tag_KER_TRAN KER_TRAN;
22
23
24 /* ******************************** epKerTranPreprocessing ********************************* */
36 extern KER_RES KER_API epKerTranPreprocessing(KER_CTX_PARAM const NFC_EXT_TERM_TRAN_DATA* pTermTranData, const NFC_EP_PRE_DATA* pEpPRE);
37
38
39 /* ************************************ epKerTranStart ************************************* */
57 extern KER_RES KER_API epKerTranStart(KER_CTX_PARAM const NFC_EP_PRE_DATA* pEpPRE, const NFC_EP_PPSE_DATA* pEpPPSE, NFC_EP_TRAN_DATA* pEpTranData, KER_TRAN** ppTran, NFC_OUTCOME** ppOutcome);
58
59
60 /* *********************************** epKerTranIssUpdate ********************************** */
78 extern KER_RES KER_API epKerTranIssUpdate(KER_CTX_PARAM KER_TRAN* pTran, const NFC_EP_PRE_DATA* pEpPRE, const NFC_EP_PPSE_DATA* pEpPPSE, NFC_EP_TRAN_DATA* pEpTranData, const NFC_EP_RESTART_DATA* pEpRestartData, const NFC_EXT_TERM_RESTART_DATA* pTermRestartData, NFC_OUTCOME** ppOutcome);
79
80
81 /* ********************************** epKerTranRelease ************************************* */
91 extern KER_RES KER_API epKerTranRelease(KER_CTX_PARAM KER_TRAN* pTran, const NFC_EP_PRE_DATA* pEpPRE);
92
93
94 /* ************************************** epKerGetData ************************************* */
110 extern KER_RES KER_API epKerGetData(KER_CTX_PARAM KER_TRAN* pTran, const NFC_EP_PRE_DATA* pEpPRE, KER_INT16U usOptions, KER_BYTE* pbtData, KER_INT16U* pusDataLen);
111
112
113 /* *********************************** epKerGetDataByTag *********************************** */
132 extern KER_RES KER_API epKerGetDataByTag(KER_CTX_PARAM KER_TRAN* pTran, const NFC_EP_PRE_DATA* pEpPRE, KER_INT16U usOptions, const KER_BYTE* pbtTag, KER_BYTE btTagSize, KER_BYTE* pbtData, KER_INT16U* pusDataSize);
133
134
135 /* ********************************* epKerGetDataByTagList ********************************* */
153 extern KER_RES KER_API epKerGetDataByTagList(KER_CTX_PARAM KER_TRAN* pTran, const NFC_EP_PRE_DATA* pEpPRE, KER_INT16U usOptions, const KER_BYTE* pbtTagList, KER_INT16U usTagListSize, KER_BYTE* pbtData, KER_INT16U* pusDataSize);
154
155
156 /* ************************************ epKerGetDataByID *********************************** */
173 extern KER_RES KER_API epKerGetDataByID(KER_CTX_PARAM KER_TRAN* pTran, const NFC_EP_PRE_DATA* pEpPRE, KER_INT16U usID, KER_BYTE* pbtData, KER_INT16U* pusDataSize);
174
175
176 #endif /* NFC_EP_KER_H */
KER_BYTE
uint8_t KER_BYTE
Definition: emv_platform.h:70
KER_RES
KER_INT16U KER_RES
Definition: emv_platform.h:68
KER_INT16U
unsigned short KER_INT16U
Definition: emv_platform.h:61
KER_CTX_PARAM
#define KER_CTX_PARAM
Definition: emv_context.h:53
KER_TRAN
struct tag_KER_TRAN KER_TRAN
Kernel internal transaction data structure.
Definition: emv_data.h:251
epKerTranPreprocessing
KER_RES KER_API epKerTranPreprocessing(KER_CTX_PARAM const NFC_EXT_TERM_TRAN_DATA *pTermTranData, const NFC_EP_PRE_DATA *pEpPRE)
Initiates transaction preprocessing by kernel.
epKerTranStart
KER_RES KER_API epKerTranStart(KER_CTX_PARAM const NFC_EP_PRE_DATA *pEpPRE, const NFC_EP_PPSE_DATA *pEpPPSE, NFC_EP_TRAN_DATA *pEpTranData, KER_TRAN **ppTran, NFC_OUTCOME **ppOutcome)
Initiates transaction processing by kernel.
epKerGetDataByTagList
KER_RES KER_API epKerGetDataByTagList(KER_CTX_PARAM KER_TRAN *pTran, const NFC_EP_PRE_DATA *pEpPRE, KER_INT16U usOptions, const KER_BYTE *pbtTagList, KER_INT16U usTagListSize, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
transaction data request
epKerGetData
KER_RES KER_API epKerGetData(KER_CTX_PARAM KER_TRAN *pTran, const NFC_EP_PRE_DATA *pEpPRE, KER_INT16U usOptions, KER_BYTE *pbtData, KER_INT16U *pusDataLen)
Transaction data request.
epKerGetDataByTag
KER_RES KER_API epKerGetDataByTag(KER_CTX_PARAM KER_TRAN *pTran, const NFC_EP_PRE_DATA *pEpPRE, KER_INT16U usOptions, const KER_BYTE *pbtTag, KER_BYTE btTagSize, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
transaction data request
epKerGetDataByID
KER_RES KER_API epKerGetDataByID(KER_CTX_PARAM KER_TRAN *pTran, const NFC_EP_PRE_DATA *pEpPRE, KER_INT16U usID, KER_BYTE *pbtData, KER_INT16U *pusDataSize)
Obtain emv data by ID.
epKerTranIssUpdate
KER_RES KER_API epKerTranIssUpdate(KER_CTX_PARAM KER_TRAN *pTran, const NFC_EP_PRE_DATA *pEpPRE, const NFC_EP_PPSE_DATA *pEpPPSE, NFC_EP_TRAN_DATA *pEpTranData, const NFC_EP_RESTART_DATA *pEpRestartData, const NFC_EXT_TERM_RESTART_DATA *pTermRestartData, NFC_OUTCOME **ppOutcome)
Initiates issuer update processing by kernel.
epKerTranRelease
KER_RES KER_API epKerTranRelease(KER_CTX_PARAM KER_TRAN *pTran, const NFC_EP_PRE_DATA *pEpPRE)
Releases NFC Transaction container structure.
tag_NFC_EP_PPSE_DATA
EP PPSE Card data used for certain combination.
Definition: nfc_ep_data.h:153
tag_NFC_EP_PRE_DATA
EP preprocessing data version 1.
Definition: nfc_ep_data.h:92
tag_NFC_EP_RESTART_DATA
EP Transaction restart data.
Definition: nfc_ep_data.h:287
tag_NFC_EP_TRAN_DATA
EP Transaction data.
Definition: nfc_ep_data.h:221
tag_NFC_EXT_TERM_RESTART_DATA
Terminal transaction restart data.
Definition: nfc_ext_data.h:144
tag_NFC_EXT_TERM_TRAN_DATA
Terminal transaction data structure.
Definition: nfc_ext_data.h:83
tag_NFC_OUTCOME
Outcome User Interface struct definition, version 0.
Definition: nfc_outcome.h:350