Tange Cloud for Device
Rev.333
载入中...
搜索中...
未找到
icam_const.h
浏览该文件的文档.
1
/** @file icam_const.h Constant Erro Codes
2
*/
3
#ifndef __icam_const_h__
4
#define __icam_const_h__
5
6
/** @name P2P层 错误码
7
* @{*/
8
#define ICAM_E_OK 0
///< OK
9
#define ICAM_E_FAILED -10001
///< 失败
10
#define ICAM_E_AUTHEN -10002
///< 用户名或口令错
11
#define ICAM_E_UNSUPPORT -10003
///< 不支持的操作
12
#define ICAM_E_SESSION_CLOSED -10004
///< p2p连接已关闭
13
#define ICAM_E_TIMEOUTED -10005
///< 操作超时
14
#define ICAM_E_INVALID_P2PID -10006
///< 无效p2pid
15
#define ICAM_E_PARAMETER -10007
///< 参数错
16
#define ICAM_E_DEVICE_OFFLINE -10008
///< 设备离线
17
#define ICAM_E_CANNOT_RESOLV_HOST -10009
///< 不能解析域名
18
#define ICAM_E_SERVER_PROBLEM -10010
///< 服务器问题
19
#define ICAM_E_SESSION_TIMEOUTED -10011
///< p2p连接超时关闭
20
21
22
#define ICAM_E_UNEXPECTED_RESPONSE -10012
///< 错误响应格式
23
#define ICAM_E_COMMUNICATION -10013
///< 通信错误
24
25
#define ICAM_E_MAX_SESSION -10014
///< 达到最大连接数
26
#define ICAM_E_LICENSE -10015
///< 错误p2p license
27
#define ICAM_E_RESOURCE -10016
///< 资源不足
28
#define ICAM_E_FAILURE -10017
///< 操作失败
29
30
#define ICAM_E_INVALID_HANDLE -10018
///< 无效句柄
31
/**@}*/
32
33
/** @name 设备返回的通用状态码映射
34
* @{*/
35
#define ICAM_E_INPROCESSING -10100
///< 正在处理
36
#define ICAM_E_CMDHDR -10101
///< 错误命令头
37
#define ICAM_E_UNSUPPORTED_CMD -10102
///< 不支持的p2p命令
38
#define ICAM_E_INVALID_PARAM -10103
///< 无效参数
39
#define ICAM_E_LACK_OF_RESOURCE -10104
///< 设备端资源不足
40
#define ICAM_E_INTERVAL -10105
///< 设备内部错误
41
#define ICAM_E_NOT_ALLOWED -10106
///< not allowd
42
#define ICAM_E_SERVER -10107
///< 服务器错误
43
/**@}*/
44
45
#endif
Caller
inc
icam_const.h
制作者
1.12.0