Tange Cloud for Device
Rev.352
载入中...
搜索中...
未找到
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 -18001
///< 失败
10
#define ICAM_E_AUTHEN -18002
///< 用户名或口令错
11
#define ICAM_E_UNSUPPORT -18003
///< 不支持的操作
12
#define ICAM_E_SESSION_CLOSED -18004
///< p2p连接已关闭
13
#define ICAM_E_TIMEOUTED -18005
///< 操作超时
14
#define ICAM_E_INVALID_P2PID -18006
///< 无效p2pid
15
#define ICAM_E_PARAMETER -18007
///< 参数错
16
#define ICAM_E_DEVICE_OFFLINE -18008
///< 设备离线
17
#define ICAM_E_CANNOT_RESOLV_HOST -18009
///< 不能解析域名
18
#define ICAM_E_SERVER_PROBLEM -18010
///< 服务器问题
19
#define ICAM_E_SESSION_TIMEOUTED -18011
///< p2p连接超时关闭
20
21
22
#define ICAM_E_UNEXPECTED_RESPONSE -18012
///< 错误响应格式
23
#define ICAM_E_COMMUNICATION -18013
///< 通信错误
24
25
#define ICAM_E_MAX_SESSION -18014
///< 达到最大连接数
26
#define ICAM_E_LICENSE -18015
///< 错误p2p license
27
#define ICAM_E_RESOURCE -18016
///< 资源不足
28
#define ICAM_E_FAILURE -18017
///< 操作失败
29
30
#define ICAM_E_INVALID_HANDLE -18018
///< 无效句柄
31
/**@}*/
32
33
/** @name 设备返回的通用状态码映射
34
* @{*/
35
#define ICAM_E_INPROCESSING -18100
///< 正在处理
36
#define ICAM_E_CMDHDR -18101
///< 错误命令头
37
#define ICAM_E_UNSUPPORTED_CMD -18102
///< 不支持的p2p命令
38
#define ICAM_E_INVALID_PARAM -18103
///< 无效参数
39
#define ICAM_E_LACK_OF_RESOURCE -18104
///< 设备端资源不足
40
#define ICAM_E_INTERVAL -18105
///< 设备内部错误
41
#define ICAM_E_NOT_ALLOWED -18106
///< not allowd
42
#define ICAM_E_SERVER -18107
///< 服务器错误
43
#define ICAM_E_REJECT -18108
///< 拒接
44
/**@}*/
45
46
#endif
Caller
inc
icam_const.h
制作者
1.12.0