From 9e862a643944bce00a37819d2f750d83d9897cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=B7=E6=88=90=E4=BC=9F?= Date: Fri, 5 Jul 2024 13:57:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/datacollect/README.md | 42 +++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/docs/datacollect/README.md b/docs/datacollect/README.md index a89ec5d5..965f0a17 100644 --- a/docs/datacollect/README.md +++ b/docs/datacollect/README.md @@ -252,4 +252,44 @@ PS: 同一节点只允许建立一条连接。 "Switch01": 1 } } -``` \ No newline at end of file +``` + +### 遥控/遥调命令请求 + +?> 方向: `系统` -> `采集程序` + +**命令:** `deviceControl` + +**数据体:** + +```json +{ + //设备ID + "deviceId": "1123451235464", + //遥控服务名 + "serviceName": "start", + //操作值 + "opValue": 1 +} +``` + +### 遥控/遥调命令响应 + +?> 方向: `采集程序` -> `系统` + +**命令:** `deviceControlResp` + +**数据体:** + +```json +{ + //操作结果 + "result": true, + //设备ID + "deviceId": "1123451235464", + //遥控服务名 + "serviceName": "start", + //操作值 + "opValue": 1 +} +```