| | |
| | | //设备入网和认证响应 |
| | | public static final String DEIVCE_AUTH_REQUEST_REPLY = "/user/all/custom/device/network_access/request_reply"; |
| | | |
| | | //入网认证结果反馈 |
| | | public static final String DEIVCE_AUTH_RESULT_NOTIFY = "/user/%s/custom/device/auth/result_notify"; |
| | | |
| | | //搜索网关 |
| | | public static final String GATEWAY_SEARCH = "/user/all/custom/gateway/search"; |
| | | |
| | |
| | | /** |
| | | * 设备连接TCP之前广播 |
| | | */ |
| | | public static final String BROADCAST="/user/all/custom/gateway/broadcast"; |
| | | public static final String BROADCAST = "/user/all/custom/gateway/broadcast"; |
| | | |
| | | /** |
| | | * 主网关回复 |
| | | */ |
| | | public static final String BROADCAST_REPLY="/user/all/custom/gateway/broadcast_reply"; |
| | | public static final String BROADCAST_REPLY = "/user/all/custom/gateway/broadcast_reply"; |
| | | |
| | | public static final String LINK_BROADCAST = "/user/all/custom/gateway/broadcast_reply"; |
| | | |
| | | /** |
| | | * 心跳检测 |
| | | */ |
| | | public static final String HEARTBEAT="/user/%s/custom/gateway/heartbeat"; |
| | | public static final String HEARTBEAT = "/user/%s/custom/gateway/heartbeat"; |
| | | /** |
| | | * 心跳检测回复 |
| | | */ |
| | | public static final String HEARTBEAT_REPLY="/user/%s/custom/gateway/heartbeat_reply"; |
| | | public static final String HEARTBEAT_REPLY = "/user/%s/custom/gateway/heartbeat_reply"; |
| | | |
| | | //通知删除并退网子设备 |
| | | public static final String DELETE_REQUEST = "/base/%s/thing/topo/delete/request"; |
| | | |
| | | //网关响应退网通知 |
| | | public static final String DELETE_NOTIFY = "/base/%s/thing/topo/delete/notify"; |
| | | |
| | | public static final String DELETE_NOTIFY_REPLY = "/base/%s/thing/topo/delete/notify_reply"; |
| | | |
| | | //网关物理删除(退网)子设备后上报 |
| | | public static final String DELETE_UP = "/base/%s/thing/topo/delete/up"; |
| | | |
| | | //驱动上报oid列表 |
| | | public static final String LIST_UPLOAD = "/user/%s/custom/device/list/upload"; |
| | | |
| | | //驱动上报oid列表回复 |
| | | public static final String LIST_UPLOAD_REPLY = "/user/%s/custom/device/list/upload_reply"; |
| | | |
| | | /** |
| | | * sid列表上报 |
| | | */ |
| | | public static final String LIST_SID_UPLOAD="/base/%s/thing/topo/list/upload"; |
| | | |
| | | /** |
| | | * sid列表上报回复 |
| | | */ |
| | | public static final String LIST_SID_UPLOAD_REPLY="/base/%s/thing/topo/list/upload_reply"; |
| | | |
| | | /* |
| | | * 网关编辑命令 |
| | | * 写远程信息的,例如服务器地址、HomeId、密钥之类 |
| | | * 与服务器相关的 |
| | | * */ |
| | | public static final String GATEWAY_EDIT_REMOTE = "/user/%s/custom/gateway/remote/edit"; |
| | | |
| | | public static final String GATEWAY_EDIT_REMOTE_REPLY = "/user/%s/custom/gateway/remote/edit_reply"; |
| | | } |