FingerPrint_UserErrorCode.h 5.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #ifndef _FINGERPRINT_USER_ERRORCODE_H
  2. #define _FINGERPRINT_USER_ERRORCODE_H
  3. #pragma once
  4. #define FingerPrint_Open_ID "QLR040220499"
  5. #define FingerPrint_Scan_ID "QLR040220407"
  6. #define FingerPrint_Generate_Template_ID "QLR040220408"
  7. #define LOG_ERR_FINGERPRINT_REQUEST_REFUSE 0x20400100
  8. #define FingerPrint_UserErrorCode_Start 0x20400200
  9. #define FingerPrint_UserErrorCode_GET_DLLNAME_FAILED_ONINIT ( FingerPrint_UserErrorCode_Start + 1 ) //指纹仪实体初始化时,获取适配器名称失败 - LogWarn
  10. #define FingerPrint_UserErrorCode_OPEN_ROOT_FAILED_ONINIT ( FingerPrint_UserErrorCode_Start + 2 ) //指纹仪实体初始化时,打开root.ini文件失败 - LogWarn
  11. #define FingerPrint_UserErrorCode_VENDOR_ADAPTER_NOT_EXIST ( FingerPrint_UserErrorCode_Start + 3 ) //厂商适配器不存在dep中 - LogWarn
  12. #define FingerPrint_UserErrorCode_LOAD_ADAPTER_FAILED ( FingerPrint_UserErrorCode_Start + 4 ) //加载厂商适配器失败 - LogWarn
  13. #define FingerPrint_UserErrorCode_CREATE_COMPONENT_FAILED ( FingerPrint_UserErrorCode_Start + 5 ) //加载适配器成功后,CreateDevComponent失败 - LogWarn
  14. #define FingerPrint_UserErrorCode_GET_DEP_PATH_FAILED_REGISTER ( FingerPrint_UserErrorCode_Start + 6 ) //采集接口,获取dep路径失败 - LogWarn
  15. #define FingerPrint_UserErrorCode_NO_IMAGE_IN_DEP_REGISTER ( FingerPrint_UserErrorCode_Start + 7 ) //注册时,采集接口调用成功,但未在dep中找到图片文件 - LogError
  16. #define FingerPrint_UserErrorCode_GETFEATURE_FAILED_REGISTER ( FingerPrint_UserErrorCode_Start + 8 ) //注册时,采集接口调用成功,但返回的特征值为空 - LogError
  17. #define FingerPrint_UserErrorCode_GETTEMPLATE_FAILED ( FingerPrint_UserErrorCode_Start + 9 ) //注册时,合成特征模板失败 - LogError
  18. #define FingerPrint_UserErrorCode_REGISTER_FAILED ( FingerPrint_UserErrorCode_Start + 10 ) //手动Exit退出业务(WARN)- LogWarn
  19. #define FingerPrint_UserErrorCode_GET_DEP_PATH_FAILED_MATCH ( FingerPrint_UserErrorCode_Start + 11 ) //匹配接口,获取dep路径失败 - LogWarn
  20. #define FingerPrint_UserErrorCode_NO_IMAGE_IN_DEP_MATCH ( FingerPrint_UserErrorCode_Start + 12 ) //匹配时,采集接口调用成功,但未在dep中找到图片文件 - LogError
  21. #define FingerPrint_UserErrorCode_GETFEATURE_FAILED_MATCH ( FingerPrint_UserErrorCode_Start + 13 ) //匹配时,采集接口调用成功,但返回的特征值为空 - LogError
  22. #define FingerPrint_UserErrorCode_MATCH_TIME ( FingerPrint_UserErrorCode_Start + 14 ) //匹配接口耗时 (仅用作性能分析,非错误,WARN)- LogWarn
  23. #define FingerPrint_UserErrorCode_INVOKE_MATCH_FAILED ( FingerPrint_UserErrorCode_Start + 15 ) //厂商匹配接口返回失败(Match) - LogWarn
  24. #define FingerPrint_UserErrorCode_MATCH_FAILED ( FingerPrint_UserErrorCode_Start + 16 ) //手动Exit退出业务(WARN) - LogWarn
  25. #define FingerPrint_UserErrorCode_LOGWARN_TERM_INFO ( FingerPrint_UserErrorCode_Start + 17 ) //告警硬件模块信息
  26. #define FingerPrint_UserErrorCode_NO_ADAPTER_FILE ( FingerPrint_UserErrorCode_Start + 18 ) //未找到适配器文件
  27. #define FingerPrint_UserErrorCode_FEATURELEN_ISNOTRIGHT ( FingerPrint_UserErrorCode_Start + 19 ) //注册时 返回的指纹特征长度错误
  28. #define FingerPrint_UserErrorCode_DEVOPENFAILED_MATCH ( FingerPrint_UserErrorCode_Start + 20 ) //指纹DevOpen失败,业务调用Match时报错
  29. #define FingerPrint_UserErrorCode_DEVOPENFAILED_GETFINGERPRINT ( FingerPrint_UserErrorCode_Start + 21 ) //指纹DevOpen失败,业务调用GetFingerPrint时报错
  30. #define FingerPrint_UserErrorCode_DEVOPENFAILED_GenerateTemplate ( FingerPrint_UserErrorCode_Start + 22 ) //指纹DevOpen失败,业务调用GenerateTemplate时报错
  31. #define FingerPrint_UserErrorCode_DEVOPENFAILED_GetImageAndFeature ( FingerPrint_UserErrorCode_Start + 23 ) //指纹DevOpen失败,业务调用GetImageAndFeature时报错
  32. #define FingerPrint_UserErrorCode_DEVOPENFAILED_GetImageAndFeatureEx ( FingerPrint_UserErrorCode_Start + 24 ) //指纹DevOpen失败,业务调用GetImageAndFeatureEx时报错
  33. #define FingerPrint_UserErrorCode_ROOT_INFO ( FingerPrint_UserErrorCode_Start + 25 ) //root信息
  34. #define FingerPrint_UserErrorCode_DevOpen_Success ( FingerPrint_UserErrorCode_Start + 30 ) //指纹打开成功
  35. #define FingerPrint_UserErrorCode_DevOpen_Failed ( FingerPrint_UserErrorCode_Start + 31 ) //指纹打开失败
  36. #define FingerPrint_UserErrorCode_Release_Object_Failed ( FingerPrint_UserErrorCode_Start + 32 ) //释放对象失败
  37. #define FingerPrint_UserErrorCode_Registe_Timeout ( FingerPrint_UserErrorCode_Start + 33 ) //注册时 采集超时
  38. #define FingerPrint_UserErrorCode_Match_Timeout ( FingerPrint_UserErrorCode_Start + 34 ) //识别时 采集超时
  39. #define FingerPrint_UserErrorCode_FEATURELEN_ISNOTRIGHT_MATCH ( FingerPrint_UserErrorCode_Start + 36 ) //识别时 返回的指纹特征长度错误
  40. #define FingerPrint_UserErrorCode_DevOpen_Failed_Registe ( FingerPrint_UserErrorCode_Start + 37 ) //采集指纹时,指纹是打开失败状态
  41. #define FingerPrint_UserErrorCode_Real_Root_Config ( FingerPrint_UserErrorCode_Start + 41 ) //实际加载的root配置
  42. #endif