demo.dtu/dtu_config.json
elian.wang 1d5ddc3524 1.增加历史数据发送功能
2.增加post函数发送前检查云连接状态
3.修改部分参数配置功能
2022-05-09 19:55:44 +08:00

55 lines
997 B
JSON

{
"plate": 1,
"password": "123",
"conf": {
"3": {
"protocol": "aliyun",
"type": "mos",
"keepAlive": "",
"clientID": "0",
"Devicename": "dtu_device1",
"ProductKey": "gzsi5zT5fH3",
"DeviceSecret": "173f006cab770615346978583ac430c0",
"ProductSecret": "D07Ujh1RvKAs6KEY",
"cleanSession": "0",
"qos": "1",
"subscribe": {"0": "/gzsi5zT5fH3/dtu_device1/user/get"},
"publish": {"0": "/gzsi5zT5fH3/dtu_device1/user/update"},
"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": "through",
"auto_connect": 1,
"offline_storage": true,
"modbus":{
}
}