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

t_nfc_ker_err.h
Go to the documentation of this file.
1 #ifndef T_NFC_KER_ERR_H
2 #define T_NFC_KER_ERR_H
3
4 /* *************************** T-NFC KERNEL error definitions ****************************** */
8 /* ***************************************************************************************** */
9
10 /* ****************************** Internal Errors used in code ***************************** */
18 /* ***************************************************************************************** */
19 #define T_NFC_OK 0x0000
20 /* ************************************ Common Info Codes ********************************** */
21 #define T_NFC_INF 0x03A0
22 #define T_NFC_INF_NO_DATA T_NFC_INF + 0x01
23 /* ***************************************************************************************** */
24
25 /* **************************************** t_nfc_Init ************************************* */
26 #define T_NFC_KER_INIT 0x7500
27 #define T_NFC_KER_INIT_INV_PARAM T_NFC_KER_INIT + 0x01
28 #define T_NFC_KER_INIT_LIB_INIT T_NFC_KER_INIT + 0x02
29 #define T_NFC_KER_INIT_HAL_LICENSE T_NFC_KER_INIT + 0x03
30 #define T_NFC_KER_INIT_HAL_CHECKSUM T_NFC_KER_INIT + 0x04
32 /* ************************************** t_nfc_Deinit ************************************* */
33 #define T_NFC_KER_DEINIT 0x7510
34 #define T_NFC_KER_DEINIT_INV_PARAM T_NFC_KER_DEINIT + 0x01
35 #define T_NFC_KER_DEINIT_TRAN_RELEASE T_NFC_KER_DEINIT + 0x02
36 #define T_NFC_KER_DEINIT_LIB_DEINIT T_NFC_KER_DEINIT + 0x03
37 #define T_NFC_KER_DEINIT_MEM_FREE T_NFC_KER_DEINIT + 0x04
39 /* ************************************* t_nfc_Version ************************************* */
40 #define T_NFC_KER_VERSION 0x7520
41 #define T_NFC_KER_VERSION_INV_PARAM T_NFC_KER_VERSION + 0x01
42 #define T_NFC_KER_VERSION_LIB_ERR T_NFC_KER_VERSION + 0x02
43 #define T_NFC_KER_VERSION_LENGTH T_NFC_KER_VERSION + 0x03
45 /* ************************************* t_nfc_Checksum ************************************ */
46 #define T_NFC_KER_CHECKSUM 0x7530
47 #define T_NFC_KER_CHECKSUM_INV_PARAM T_NFC_KER_CHECKSUM + 0x01
48 #define T_NFC_KER_CHECKSUM_LIB_CALC T_NFC_KER_CHECKSUM + 0x02
50 /* ******************************** t_nfc_RegisterCallback ********************************* */
51 #define T_NFC_KER_REG_CALLBACK 0x7540
52 #define T_NFC_KER_REG_CALLBACK_INV_PARAM T_NFC_KER_REG_CALLBACK + 0x01
53 #define T_NFC_KER_REG_CALLBACK_INV_HAL_CONTEXT T_NFC_KER_REG_CALLBACK + 0x02
54 #define T_NFC_KER_REG_CALLBACK_INV_HAL_PARAM T_NFC_KER_REG_CALLBACK + 0x03
55 #define T_NFC_KER_REG_CALLBACK_NOT_SET T_NFC_KER_REG_CALLBACK + 0x04
57 /* ******************************** t_nfc_TranPreprocessing ******************************** */
58 #define T_NFC_KER_PREPROCESS 0x7550
59 #define T_NFC_KER_PREPROCESS_INV_PARAM T_NFC_KER_PREPROCESS + 0x01
60 #define T_NFC_KER_PREPROCESS_NOT_READY T_NFC_KER_PREPROCESS + 0x02
61 #define T_NFC_KER_PREPROCESS_RELEASE_TRAN T_NFC_KER_PREPROCESS + 0x03
62 #define T_NFC_KER_PREPROCESS_NOT_SUPPORTED T_NFC_KER_PREPROCESS + 0x04
64 /* ************************************* t_nfc_TranStart *********************************** */
65 #define T_NFC_KER_TRAN_START 0x7560
66 #define T_NFC_KER_TRAN_START_INV_PARAM T_NFC_KER_TRAN_START + 0x01
67 #define T_NFC_KER_TRAN_START_INV_SEQ T_NFC_KER_TRAN_START + 0x02
68 #define T_NFC_KER_TRAN_START_HAL_TRACE T_NFC_KER_TRAN_START + 0x03
69 #define T_NFC_KER_TRAN_START_FAILURE T_NFC_KER_TRAN_START + 0x04
70 #define T_NFC_KER_TRAN_START_LICENSE T_NFC_KER_TRAN_START + 0x05
71 #define T_NFC_KER_TRAN_START_RELEASE T_NFC_KER_TRAN_START + 0x06
73 /* *********************************** t_nfc_TranIssUpdate ********************************* */
74 #define T_NFC_KER_TRAN_ISS_UPDATE 0x7570
75 #define T_NFC_KER_TRAN_ISS_UPDATE_INV_PARAM T_NFC_KER_TRAN_ISS_UPDATE + 0x01
76 #define T_NFC_KER_TRAN_ISS_UPDATE_INV_SEQ T_NFC_KER_TRAN_ISS_UPDATE + 0x02
77 #define T_NFC_KER_TRAN_ISS_UPDATE_FAILURE T_NFC_KER_TRAN_ISS_UPDATE + 0x03
79 /* *********************************** t_nfc_TranRelease *********************************** */
80 #define T_NFC_KER_TR_RELEASE 0x7580
81 #define T_NFC_KER_TR_RELEASE_INV_PARAM T_NFC_KER_TR_RELEASE + 0x01
82 #define T_NFC_KER_TR_RELEASE_RELEASE_TRAN T_NFC_KER_TR_RELEASE + 0x02
84 /* ************************************* t_nfc_GetData ************************************* */
85 #define T_NFC_KER_GET_DATA 0x7590
86 #define T_NFC_KER_GET_DATA_INV_PARAM T_NFC_KER_GET_DATA + 0x01
87 #define T_NFC_KER_GET_DATA_INV_SEQ T_NFC_KER_GET_DATA + 0x02
88 #define T_NFC_KER_GET_DATA_FAILED T_NFC_KER_GET_DATA + 0x03
90 /* *********************************** t_nfc_GetDataByTag ********************************** */
91 #define T_NFC_KER_GET_DATA_BY_TAG 0x75A0
92 #define T_NFC_KER_GET_DATA_BY_TAG_INV_PARAM T_NFC_KER_GET_DATA_BY_TAG + 0x01
93 #define T_NFC_KER_GET_DATA_BY_TAG_INV_SEQ T_NFC_KER_GET_DATA_BY_TAG + 0x02
94 #define T_NFC_KER_GET_DATA_BY_TAG_FAILED T_NFC_KER_GET_DATA_BY_TAG + 0x03
96 /* ********************************* t_nfc_GetDataByTagList ******************************** */
97 #define T_NFC_KER_GET_DATA_BY_TAG_LIST 0x75B0
98 #define T_NFC_KER_GET_DATA_BY_TAG_LIST_INV_PARAM T_NFC_KER_GET_DATA_BY_TAG_LIST + 0x01
99 #define T_NFC_KER_GET_DATA_BY_TAG_LIST_INV_SEQ T_NFC_KER_GET_DATA_BY_TAG_LIST + 0x02
100 #define T_NFC_KER_GET_DATA_BY_TAG_LIST_FAILED T_NFC_KER_GET_DATA_BY_TAG_LIST + 0x03
102 /* *********************************** t_nfc_GetDataByID *********************************** */
103 #define T_NFC_KER_GET_DATA_BY_ID 0x75C0
104 #define T_NFC_KER_GET_DATA_BY_ID_INV_PARAM T_NFC_KER_GET_DATA_BY_ID + 0x01
105 #define T_NFC_KER_GET_DATA_BY_ID_NOT_READY T_NFC_KER_GET_DATA_BY_ID + 0x02
106 #define T_NFC_KER_GET_DATA_BY_ID_MEM_ALLOC T_NFC_KER_GET_DATA_BY_ID + 0x03
108 /* ************************************** t_int_Init *************************************** */
109 #define T_NFC_KER_INT_INIT 0x75D0
110 #define T_NFC_KER_INT_INIT_INV_PARAM T_NFC_KER_INT_INIT + 0x01
111 #define T_NFC_KER_INT_INIT_INV_CLB_VER T_NFC_KER_INT_INIT + 0x02
112 #define T_NFC_KER_INT_INIT_INV_CLB_SIZE T_NFC_KER_INT_INIT + 0x03
113 #define T_NFC_KER_INT_INIT_MEM_CLB T_NFC_KER_INT_INIT + 0x04
114 #define T_NFC_KER_INT_INIT_MEM_ALLOC T_NFC_KER_INT_INIT + 0x05
116 /* ********************************* t_int_ConvertOutcome ********************************** */
117 #define T_NFC_KER_INT_CNV_OUTCOME 0x75E0
118 #define T_NFC_KER_INT_CNV_OUTCOME_INV_PARAM T_NFC_KER_INT_CNV_OUTCOME + 0x01
119 #define T_NFC_KER_INT_CNV_OUTCOME_INV_TYPE T_NFC_KER_INT_CNV_OUTCOME + 0x02
120 #define T_NFC_KER_INT_CNV_OUTCOME_INV_START T_NFC_KER_INT_CNV_OUTCOME + 0x03
121 #define T_NFC_KER_INT_CNV_OUTCOME_INV_ONLINE_RESP T_NFC_KER_INT_CNV_OUTCOME + 0x04
122 #define T_NFC_KER_INT_CNV_OUTCOME_INV_CVM T_NFC_KER_INT_CNV_OUTCOME + 0x05
123 #define T_NFC_KER_INT_CNV_OUTCOME_INV_MSG_ID T_NFC_KER_INT_CNV_OUTCOME + 0x06
125 /* ************************************* t_int_DeInit ************************************** */
126 #define T_NFC_KER_INT_DEINIT 0x75F0
127 #define T_NFC_KER_INT_DEINIT_INV_PARAM T_NFC_KER_INT_DEINIT + 0x01
128 #define T_NFC_KER_INT_DEINIT_MEM_CLB T_NFC_KER_INT_DEINIT + 0x02
129 #define T_NFC_KER_INT_DEINIT_MEM_RELEASE T_NFC_KER_INT_DEINIT + 0x03
131 /* ***************************************************************************************** */
132
133 /* ***************************************************************************************** */
134
138 #endif /* T_NFC_KER_ERR_H */