|
|
@@ -3,24 +3,32 @@
|
|
|
#pragma once
|
|
|
|
|
|
#define ContactlessCard_UserErrorCode_Start 0x21300200
|
|
|
-#define ContactlessCard_UserErrorCode_Reset_Failed (ContactlessCard_UserErrorCode_Start + 1) //Reset失败
|
|
|
-#define ContactlessCard_UserErrorCode_GetDevInfo_Failed (ContactlessCard_UserErrorCode_Start + 2) //获取设备信息失败
|
|
|
-#define ContactlessCard_UserErrorCode_LOGWARN_TERM_INFO (ContactlessCard_UserErrorCode_Start + 3) //硬件信息告警
|
|
|
-#define ContactlessCard_UserErrorCode_NO_ADAPTER_FILE (ContactlessCard_UserErrorCode_Start + 4) //未找到适配器文件
|
|
|
-#define ContactlessCard_UserErrorCode_ZssDeviceInfo (ContactlessCard_UserErrorCode_Start + 5) //中世顺机型信息告警
|
|
|
-#define ContactlessCard_UserErrorCode_RootInfo (ContactlessCard_UserErrorCode_Start + 6) //root信息
|
|
|
+#define ContactlessCard_UserErrorCode_Reset_Failed (ContactlessCard_UserErrorCode_Start + 1) //Reset澶辫触
|
|
|
+#define ContactlessCard_UserErrorCode_GetDevInfo_Failed (ContactlessCard_UserErrorCode_Start + 2) //鑾峰彇璁惧�淇℃伅澶辫触
|
|
|
+#define ContactlessCard_UserErrorCode_LOGWARN_TERM_INFO (ContactlessCard_UserErrorCode_Start + 3) //纭�欢淇℃伅鍛婅�
|
|
|
+#define ContactlessCard_UserErrorCode_NO_ADAPTER_FILE (ContactlessCard_UserErrorCode_Start + 4) //鏈�壘鍒伴€傞厤鍣ㄦ枃浠�
|
|
|
+#define ContactlessCard_UserErrorCode_ZssDeviceInfo (ContactlessCard_UserErrorCode_Start + 5) //涓�笘椤烘満鍨嬩俊鎭�憡璀�
|
|
|
+#define ContactlessCard_UserErrorCode_RootInfo (ContactlessCard_UserErrorCode_Start + 6) //root淇℃伅
|
|
|
|
|
|
-#define ContactlessCard_UserErrorCode_FORGET_FETCH (ContactlessCard_UserErrorCode_Start + 7) //客户忘记取卡
|
|
|
+#define ContactlessCard_UserErrorCode_FORGET_FETCH (ContactlessCard_UserErrorCode_Start + 7) //瀹㈡埛蹇樿�鍙栧崱
|
|
|
|
|
|
|
|
|
-//预留一部分用于CardAssist.cpp中的报错告警
|
|
|
-//自ContactlessCard_UserErrorCode_Start + 11 ~ CardIssuer_UserErrorCode_Start + 20
|
|
|
-#define ContactlessCard_UserErrorCode_ActiveContactlessICCard_Failed (ContactlessCard_UserErrorCode_Start + 11) //DetectIfICCard调用ContactIC失败
|
|
|
-#define ContactlessCard_UserErrorCode_RFTypeABCommand_Failed (ContactlessCard_UserErrorCode_Start + 12) //BuildSupportedAppList调用RFTypeABCommand失败
|
|
|
-#define ContactlessCard_UserErrorCode_ICCommand_RecvData_Invalid (ContactlessCard_UserErrorCode_Start + 13) //APDU接收到的数据无效
|
|
|
-#define ContactlessCard_UserErrorCode_BuildSupportedAppList_Failed (ContactlessCard_UserErrorCode_Start + 14) //BuildSupportedAppList失败
|
|
|
+//棰勭暀涓€閮ㄥ垎鐢ㄤ簬CardAssist.cpp涓�殑鎶ラ敊鍛婅�
|
|
|
+//鑷狢ontactlessCard_UserErrorCode_Start + 11 ~ CardIssuer_UserErrorCode_Start + 20
|
|
|
+#define ContactlessCard_UserErrorCode_ActiveContactlessICCard_Failed (ContactlessCard_UserErrorCode_Start + 11) //DetectIfICCard璋冪敤ContactIC澶辫触
|
|
|
+#define ContactlessCard_UserErrorCode_RFTypeABCommand_Failed (ContactlessCard_UserErrorCode_Start + 12) //BuildSupportedAppList璋冪敤RFTypeABCommand澶辫触
|
|
|
+#define ContactlessCard_UserErrorCode_ICCommand_RecvData_Invalid (ContactlessCard_UserErrorCode_Start + 13) //APDU鎺ユ敹鍒扮殑鏁版嵁鏃犳晥
|
|
|
+#define ContactlessCard_UserErrorCode_BuildSupportedAppList_Failed (ContactlessCard_UserErrorCode_Start + 14) //BuildSupportedAppList澶辫触
|
|
|
|
|
|
-//Error_DevNotAvailable情况
|
|
|
-#define ContactlessCard_UserErrorCode_Read_OpenFailed (ContactlessCard_UserErrorCode_Start + 21) //设备未打开,读卡失败
|
|
|
+//Error_DevNotAvailable鎯呭喌
|
|
|
+#define ContactlessCard_UserErrorCode_Read_OpenFailed (ContactlessCard_UserErrorCode_Start + 21) //璁惧�鏈�墦寮€锛岃�鍗″け璐�
|
|
|
+#define ContactlessCard_UserErrorCode_Cancel_OpenFailed (ContactlessCard_UserErrorCode_Start + 22) //璁惧�鏈�墦寮€锛屽彇娑堝け璐�
|
|
|
+#define ContactlessCard_UserErrorCode_Exit_OpenFailed (ContactlessCard_UserErrorCode_Start + 23) //璁惧�鏈�墦寮€锛岄€€鍑哄け璐�
|
|
|
+
|
|
|
+#define ContactlessCard_UserErrorCode_DevOpen_Success (ContactlessCard_UserErrorCode_Start + 31) //璁惧�鎵撳紑鎴愬姛
|
|
|
+#define ContactlessCard_UserErrorCode_DevOpen_Failed (ContactlessCard_UserErrorCode_Start + 32) //璁惧�鎵撳紑澶辫触
|
|
|
+
|
|
|
+//瀹為檯root閰嶇疆
|
|
|
+#define ContactlessCard_UserErrorCode_Real_Root_Config (ContactlessCard_UserErrorCode_Start + 36) //瀹為檯root閰嶇疆
|
|
|
|
|
|
#endif //_CONTACTLESSCARD_USER_ERRORCODE_H
|