+5 改成+2
This commit is contained in:
10
Readme.md
10
Readme.md
@ -21,21 +21,21 @@
|
||||
|
||||
json定义比较灵活 但是根对象必须提供如下:
|
||||
|
||||
- CN: 命令名称
|
||||
- command: 命令名称
|
||||
|
||||
|
||||
|
||||
- PA:命令参数 //发送时必须 返回可选
|
||||
- PA:命令参数 //可选
|
||||
|
||||
返回时应提供相应状态
|
||||
|
||||
- ST:OK
|
||||
- ST:OK //可选
|
||||
|
||||
发送示例:
|
||||
|
||||
```json
|
||||
{
|
||||
"CN":"SetCamerTime",
|
||||
"command":"SetCamerTime",
|
||||
"PA":{
|
||||
"time1":1000,
|
||||
"time2":1000
|
||||
@ -49,7 +49,7 @@ json定义比较灵活 但是根对象必须提供如下:
|
||||
|
||||
```json
|
||||
{
|
||||
"CN":"SetCamerTime",
|
||||
"command":"SetCamerTime",
|
||||
"Other":"自己定义",
|
||||
"ST":"OK"
|
||||
}
|
||||
|
Reference in New Issue
Block a user