文档更新
This commit is contained in:
parent
df7f4c28b5
commit
9e862a6439
@ -252,4 +252,44 @@ PS: 同一节点只允许建立一条连接。
|
||||
"Switch01": 1
|
||||
}
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
### 遥控/遥调命令请求
|
||||
|
||||
?> 方向: `系统` -> `采集程序`
|
||||
|
||||
**命令:** `deviceControl`
|
||||
|
||||
**数据体:**
|
||||
|
||||
```json
|
||||
{
|
||||
//设备ID
|
||||
"deviceId": "1123451235464",
|
||||
//遥控服务名
|
||||
"serviceName": "start",
|
||||
//操作值
|
||||
"opValue": 1
|
||||
}
|
||||
```
|
||||
|
||||
### 遥控/遥调命令响应
|
||||
|
||||
?> 方向: `采集程序` -> `系统`
|
||||
|
||||
**命令:** `deviceControlResp`
|
||||
|
||||
**数据体:**
|
||||
|
||||
```json
|
||||
{
|
||||
//操作结果
|
||||
"result": true,
|
||||
//设备ID
|
||||
"deviceId": "1123451235464",
|
||||
//遥控服务名
|
||||
"serviceName": "start",
|
||||
//操作值
|
||||
"opValue": 1
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user