demo.dtu/dtu_config.json
elian.wang c7f2fd5bec 测试移远云:
1.增加移远云初始化时,qos配置
2.修改数据串口发送前 package_datas函数
3.修改modbus模式下,移远云不获取topic id
4.移远云中增加透传发送through_po
5.cloud_read_data_parse_main 函数中增加移远云没有topic id只有pkgid的特殊处理
2022-05-07 16:56:15 +08:00

64 lines
1.1 KiB
JSON

{
"plate": 1,
"password": "123",
"conf": {
"3": {
"protocol": "quecthing",
"keepAlive": "",
"ProductKey": "p113LS",
"ProductSecret": "ZjY3bGFtTUpsL1RN",
"Devicename": "dtudevice1",
"DeviceSecret":"",
"qos": "0",
"SessionFlag": false,
"sendMode": "pass",
"serialID": "2"
}
},
"reg": 0,
"convert": 0,
"version": 100,
"nolog": 0,
"message": {},
"uconf": {
"2": {
"baudrate": "115200",
"databits": "8",
"parity": "0",
"stopbits": "1",
"flowctl": "0"
}
},
"fota": 1,
"pins": [
"1",
"2",
"3"
],
"direction_pin": {},
"apn": [
"",
"",
""
],
"service_acquire": 0,
"work_mode": "modbus",
"auto_connect": 1,
"offline_storage": false,
"modbus":{
"groups":[
{
"device_type": "temp_humid_sensor",
"device_model": "TH10S-B",
"slave_address":["0x01"]
},
{
"device_type": "light_sensor",
"device_model": "YGC-BG-M",
"slave_address":["0x02", "0x03"]
}
]
}
}