JLChen
2021-11-15 44155b50cbb4f6ad78474f40331ed8838a3b0d49
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package com.hdl.sdk.common.config;
 
/**
 * Created by Tong on 2021/9/22.
 */
public class TopicConstant {
 
    //网关广播入网指令
    public static final String GATEWAY_AUTH_BROADCAST = "/user/all/custom/device/network_access/broadcast";
 
    //设备入网和认证
    public static final String DEIVCE_AUTH_REQUEST = "/user/all/custom/device/network_access/request";
 
    //设备入网和认证响应
    public static final String DEIVCE_AUTH_REQUEST_REPLY = "/user/all/custom/device/network_access/request_reply";
 
    //搜索网关
    public static final String GATEWAY_SEARCH = "/user/all/custom/gateway/search";
 
    //搜索网关响应
    public static final String GATEWAY_SEARCH_REPLY = "/user/all/custom/gateway/search_reply";
 
    //网关详细信息获取s=gw_id
    public static final String GATEWAY_INFO = "/user/%s/custom/gateway/get";
 
    //获取物理设备列表
    public static final String GET_DEVICE_LIST = " /user/%s/custom/device/list/get";
 
    //获取物理设备列表响应
    public static final String GET_DEVICE_LIST_REPLY = " /user/%s/custom/device/list/get_reply";
 
    //获取功能列表
    public static final String GET_FUNCTION_LIST = "/user/%s/custom/function/list/get";
 
    //获取功能响应
    public static final String GET_FUNCTION_LIST_REPLY = "/user/%s/custom/function/list/get_reply";
 
    //功能属性读取
    public static final String GET_FUNCTION_ATTRIBUTE = "/user/%s/custom/function/attribute/get";
 
    //功能属性响应
    public static final String GET_FUNCTION_ATTRIBUTE_REPLY = "/user/%s/custom/function/attribute/get_reply";
 
    //控制
    public static final String PROPERTY_DOWN = "/base/%s/thing/property/down";
 
    //控制响应
    public static final String PROPERTY_DOWN_REPLY = "/base/%s/thing/property/down_reply";
 
    //状态上报
    public static final String PROPERTY_UP = "/base/%s/thing/property/up";
 
    //状态上报响应
    public static final String PROPERTY_UP_REPLY = "/base/%s/thing/property/up_reply";
 
    //读取状态
    public static final String PROPERTY_READ = "/base/%s/thing/property/read";
 
    //读取状态响应
    public static final String PROPERTY_READ_REPLY = "/base/%s/thing/property/read_reply";
}