|
|
@ -23,17 +23,17 @@ typedef enum { |
|
|
|
/**
|
|
|
|
* @brief 通信错误 |
|
|
|
*/ |
|
|
|
kce_overtime = 1000, |
|
|
|
kce_noack, |
|
|
|
kce_errorack, |
|
|
|
kce_device_offline, |
|
|
|
kce_parse_json_err, |
|
|
|
kce_overtime = 1000, |
|
|
|
kce_noack = 1001, |
|
|
|
kce_errorack = 1002, |
|
|
|
kce_device_offline = 1003, |
|
|
|
kce_parse_json_err = 1004, |
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief 数据库错误 |
|
|
|
*/ |
|
|
|
kdbe_user_not_exist = 2000, |
|
|
|
kdbe_catch_exception, |
|
|
|
kdbe_user_not_exist = 2000, |
|
|
|
kdbe_catch_exception = 2001, |
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief 硬件错误 |
|
|
@ -48,14 +48,14 @@ typedef enum { |
|
|
|
/**
|
|
|
|
* @brief 应用交互基本错误 |
|
|
|
*/ |
|
|
|
kinteraction_error_passwd_error = 5000, |
|
|
|
kinteraction_error_user_not_exist, |
|
|
|
kinteraction_error_passwd_error = 5000, |
|
|
|
kinteraction_error_user_not_exist = 50001, |
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief 系统错误 |
|
|
|
*/ |
|
|
|
ksys_error = 6000, |
|
|
|
ksys_create_file_error, |
|
|
|
ksys_error = 6000, |
|
|
|
ksys_create_file_error = 6001, |
|
|
|
ksys_create_dir_error, |
|
|
|
ksys_open_file_error, |
|
|
|
ksys_open_dir_error, |
|
|
|