ErrorCode.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /*************************************************
  2. History:
  3. Jimmy Chan 2022/1/25 3.0.0.0 build this moudle
  4. Jimmy Chan 2022/3/9 3.0.0.1 add some error code
  5. *************************************************/
  6. #ifndef __ERRORCODE_H__
  7. #define __ERRORCODE_H__
  8. #define SUCCESS 10000
  9. #define ERROR_INIT 10001
  10. #define ERROR_CLOSE 10002
  11. #define ERROR_CFG 10003
  12. #define ERROR_CONNECT 10004
  13. #define ERROR_RX 10005
  14. #define ERROR_TX 10006
  15. #define ERROR_DATA 10007
  16. #define ERROR_OUTRANGE 10008
  17. #define ERROR_GET_DIG_VAl 10009
  18. #define ERROR_GET_STB_VAl 10010
  19. #define ERROR_GET_LIG_DEL_VAl 10011
  20. #define ERROR_GET_CAM_DEL_VAl 10012
  21. #define ERROR_GET_INT_CYC_VAl 10013
  22. #define ERROR_GET_LIG_TRI_MODE 10014
  23. #define ERROR_GET_CAM_TRI_EDGE 10015
  24. #define ERROR_GET_LIG_STA 10016
  25. #define ERROR_SET_DIG_VAl 10017
  26. #define ERROR_SET_STB_VAl 10018
  27. #define ERROR_SET_LIG_DEL_VAl 10019
  28. #define ERROR_SET_CAM_DEL_VAl 10020
  29. #define ERROR_SET_INT_CYC_VAl 10021
  30. #define ERROR_SET_LIG_TRI_MODE 10022
  31. #define ERROR_SET_CAM_TRI_EDGE 10023
  32. #define ERROR_SET_LIG_STA 10024
  33. #define ERROR_DOWNLINE 10025
  34. #define ERROR_SEND_HEARTBEAT 10026
  35. #define ERROR_GET_ADAPTER 10027
  36. #define ERROR_SET_MUL_DIG_VAl 10028
  37. #define ERROR_SET_MUL_STB_VAl 10029
  38. #define ERROR_SET_MUL_LIG_DEL_VAl 10030
  39. #define ERROR_SET_MUL_CAM_DEL_VAl 10031
  40. #define ERROR_IP_ADDRESS 10032
  41. #define ERROR_SM_ADDRESS 10033
  42. #define ERROR_GW_ADDRESS 10034
  43. #define ERROR_SET_PGM_PAR 10035
  44. #define ERROR_COLLISION 10036
  45. #define ERROR_GET_PGM_PAR 10037
  46. #define ERROR_GET_PULSE_UNIT 10038
  47. #define ERROR_SET_PULSE_UNIT 10039
  48. #define ERROR_GET_TRI_PTY 10040
  49. #define ERROR_SET_TRI_PTY 10041
  50. #define ERROR_CLR_PGM_PAR 10042
  51. #define ERROR_SET_CURRENT_STEP 10043
  52. #define ERROR_GET_CURRENT_STEP 10044
  53. #define ERROR_GET_TOTAL_STEP 10045
  54. #define ERROR_RESET_STEP 10046
  55. #define ERROR_SetON_OFF 10047
  56. #define ERROR_GetON_OFF 10048
  57. #define ERROR_SetMulON_OFF 10049
  58. #define ERROR_GetSoftwareVersion 10050
  59. #define ERROR_SetTriggerPolarity 10051
  60. #define ERROR_GetTriggerPolarity 10052
  61. #define ERROR_GetChannelNumberSummary 10053
  62. #define ERROR_GeControllerModel 10054
  63. #define ERROR_SetColorTemperature 10055
  64. #define ERROR_SetMulColorTemperature 10056
  65. #define ERROR_GetColorTemperature 10057
  66. #endif