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

nfc_ep_err.h
Go to the documentation of this file.
1 #ifndef NFC_EP_ERR_H
2 #define NFC_EP_ERR_H
3
4 /* ****************************** NFC Entr Point error codes ******************************* */
8 /* ***************************************************************************************** */
9
10 /* ************************************* EP Error Codes ************************************ */
18 /* ***************************************** epInit **************************************** */
19 #define EP_ERR_INIT 0xA200
20 #define EP_ERR_INIT_HAL_INIT EP_ERR_INIT + 0x01
22 /* **************************************** epDeInit *************************************** */
23 #define EP_ERR_DEINIT 0xA220
24 #define EP_ERR_DEINIT_HAL_DEINIT EP_ERR_DEINIT + 0x01
26 /* ********************************** epPosPrepareNewTran ********************************** */
27 #define EP_ERR_POS_PREP_NEW_TRAN 0xA240
28 #define EP_ERR_POS_PREP_NEW_TRAN_INV_PARAM EP_ERR_POS_PREP_NEW_TRAN + 0x01
29 #define EP_ERR_POS_PREP_NEW_TRAN_ALLOC_MEM EP_ERR_POS_PREP_NEW_TRAN + 0x02
30 #define EP_ERR_POS_PREP_NEW_TRAN_LOAD_COMB_LONFIG EP_ERR_POS_PREP_NEW_TRAN + 0x03
31 #define EP_ERR_POS_PREP_NEW_TRAN_RELEASE_MEM EP_ERR_POS_PREP_NEW_TRAN + 0x04
32 #define EP_ERR_POS_PREP_NEW_TRAN_CREATE_TLV EP_ERR_POS_PREP_NEW_TRAN + 0x05
34 /* *************************************** epPosTran *************************************** */
35 #define EP_ERR_POS_TRAN 0xA260
36 #define EP_ERR_POS_TRAN_INV_PARAM EP_ERR_POS_TRAN + 0x01
37 #define EP_ERR_POS_TRAN_EXT_PROCESSING EP_ERR_POS_TRAN + 0x02
38 #define EP_ERR_POS_TRAN_POLLING_CANCELLED EP_ERR_POS_TRAN + 0x03
39 #define EP_ERR_POS_TRAN_POLLING_TIMEOUT EP_ERR_POS_TRAN + 0x04
40 #define EP_ERR_POS_TRAN_PCD_FAILURE EP_ERR_POS_TRAN + 0x05
41 #define EP_ERR_POS_TRAN_INV_OUTCOME EP_ERR_POS_TRAN + 0x06
43 /* ************************************ epPosTranRestart *********************************** */
44 #define EP_ERR_POS_TRAN_RESTART 0xA280
45 #define EP_ERR_POS_TRAN_RESTART_INV_PARAM EP_ERR_POS_TRAN_RESTART + 0x01
46 #define EP_ERR_POS_TRAN_RESTART_UNEXPECTED EP_ERR_POS_TRAN_RESTART + 0x02
47 #define EP_ERR_POS_TRAN_RESTART_FIELDOFF_TIMEOUT EP_ERR_POS_TRAN_RESTART + 0x03
48 #define EP_ERR_POS_TRAN_RESTART_REMOVAL_TIMEOUT EP_ERR_POS_TRAN_RESTART + 0x04
49 #define EP_ERR_POS_TRAN_RESTART_REMOVAL_FAILURE EP_ERR_POS_TRAN_RESTART + 0x05
50 #define EP_ERR_POS_TRAN_RESTART_CANCELLED EP_ERR_POS_TRAN_RESTART + 0x06
51 #define EP_ERR_POS_TRAN_RESTART_TIMEOUT EP_ERR_POS_TRAN_RESTART + 0x07
52 #define EP_ERR_POS_TRAN_RESTART_PCD_FAILURE EP_ERR_POS_TRAN_RESTART + 0x08
53 #define EP_ERR_POS_TRAN_RESTART_INV_OUTCOME EP_ERR_POS_TRAN_RESTART + 0x09
55 /* ************************************ epPosTranRelease *********************************** */
56 #define EP_ERR_POS_RELEASE_TRAN 0xA2A0
57 #define EP_ERR_POS_RELEASE_TRAN_INV_PARAM EP_ERR_POS_RELEASE_TRAN + 0x01
58 #define EP_ERR_POS_RELEASE_TRAN_MEM_FREE EP_ERR_POS_RELEASE_TRAN + 0x02
60 /* ************************************** epNfcGetData ************************************* */
61 #define EP_ERR_GET_DATA 0xA300
62 #define EP_ERR_GET_DATA_INV_PARAM EP_ERR_GET_DATA + 0x01
63 #define EP_ERR_GET_DATA_INV_SEQ EP_ERR_GET_DATA + 0x02
65 /* *********************************** epNfcGetDataByTag *********************************** */
66 #define EP_ERR_GET_DATA_BY_TAG 0xA320
67 #define EP_ERR_GET_DATA_BY_TAG_INV_PARAM EP_ERR_GET_DATA_BY_TAG + 0x01
68 #define EP_ERR_GET_DATA_BY_TAG_INV_SEQ EP_ERR_GET_DATA_BY_TAG + 0x02
70 /* ********************************** epNfcGetDataByTagList ******************************** */
71 #define EP_ERR_GET_DATA_BY_TAG_LIST 0xA340
72 #define EP_ERR_GET_DATA_BY_TAG_LIST_INV_PARAM EP_ERR_GET_DATA_BY_TAG_LIST + 0x01
73 #define EP_ERR_GET_DATA_BY_TAG_LIST_INV_SEQ EP_ERR_GET_DATA_BY_TAG_LIST + 0x02
75 /* ************************************ epNfcGetDataByID *********************************** */
76 #define EP_ERR_GET_DATA_BY_ID 0xA360
77 #define EP_ERR_GET_DATA_BY_ID_INV_PARAM EP_ERR_GET_DATA_BY_ID + 0x01
79 /* ***************************************************************************************** */
82 #endif /* NFC_EP_ERR_H */