ContactlessCard_UserErrorCode.h 2.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef _CONTACTLESSCARD_USER_ERRORCODE_H
  2. #define _CONTACTLESSCARD_USER_ERRORCODE_H
  3. #pragma once
  4. #define ContactlessCard_UserErrorCode_Start 0x21300200
  5. #define ContactlessCard_UserErrorCode_Reset_Failed (ContactlessCard_UserErrorCode_Start + 1) //Reset失败
  6. #define ContactlessCard_UserErrorCode_GetDevInfo_Failed (ContactlessCard_UserErrorCode_Start + 2) //获取设备信息失败
  7. #define ContactlessCard_UserErrorCode_LOGWARN_TERM_INFO (ContactlessCard_UserErrorCode_Start + 3) //硬件信息告警
  8. #define ContactlessCard_UserErrorCode_NO_ADAPTER_FILE (ContactlessCard_UserErrorCode_Start + 4) //未找到适配器文件
  9. #define ContactlessCard_UserErrorCode_ZssDeviceInfo (ContactlessCard_UserErrorCode_Start + 5) //中世顺机型信息告警
  10. #define ContactlessCard_UserErrorCode_RootInfo (ContactlessCard_UserErrorCode_Start + 6) //root信息
  11. #define ContactlessCard_UserErrorCode_FORGET_FETCH (ContactlessCard_UserErrorCode_Start + 7) //客户忘记取卡
  12. //预留一部分用于CardAssist.cpp中的报错告警
  13. //自ContactlessCard_UserErrorCode_Start + 11 ~ ContactlessCard_UserErrorCode_Start + 20
  14. #define ContactlessCard_UserErrorCode_ActiveContactlessICCard_Failed (ContactlessCard_UserErrorCode_Start + 11) //DetectIfICCard调用ContactIC失败
  15. #define ContactlessCard_UserErrorCode_RFTypeABCommand_Failed (ContactlessCard_UserErrorCode_Start + 12) //BuildSupportedAppList调用RFTypeABCommand失败
  16. #define ContactlessCard_UserErrorCode_ICCommand_RecvData_Invalid (ContactlessCard_UserErrorCode_Start + 13) //APDU接收到的数据无效
  17. #define ContactlessCard_UserErrorCode_BuildSupportedAppList_Failed (ContactlessCard_UserErrorCode_Start + 14) //BuildSupportedAppList失败
  18. //Error_DevNotAvailable情况
  19. #define ContactlessCard_UserErrorCode_Read_OpenFailed (ContactlessCard_UserErrorCode_Start + 21) //设备未打开,读卡失败
  20. #define ContactlessCard_UserErrorCode_Cancel_OpenFailed (ContactlessCard_UserErrorCode_Start + 22) //设备未打开,取消失败
  21. #define ContactlessCard_UserErrorCode_Exit_OpenFailed (ContactlessCard_UserErrorCode_Start + 23) //设备未打开,退出失败
  22. #define ContactlessCard_UserErrorCode_DevOpen_Success (ContactlessCard_UserErrorCode_Start + 31) //设备打开成功
  23. #define ContactlessCard_UserErrorCode_DevOpen_Failed (ContactlessCard_UserErrorCode_Start + 32) //设备打开失败
  24. //实际root配置
  25. #define ContactlessCard_UserErrorCode_Real_Root_Config (ContactlessCard_UserErrorCode_Start + 36) //实际root配置
  26. #define ContactlessCard_UserErrorCode_ReadAccount (ContactlessCard_UserErrorCode_Start + 37) //读到卡片信息
  27. #endif //_CONTACTLESSCARD_USER_ERRORCODE_H