Files
taoyao/taoyao-signal/README.md
2022-11-13 12:14:10 +08:00

50 lines
562 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 信令
## 格式
```
{
"header": {
"v": "版本",
"id": 请求标识,
"sn": "设备标识"
"pid": 信令标识,
},
"code": "响应编码",
"message": "响应描述",
"body": {
// 信令参数
}
}
```
## 系统信令1000~1999|9999
### 心跳信令1000
```
{}
```
### 异常信令9999
## 设备信令2000~2999
### 注册信令2000
```
{
"username": "username",
"password": "password"
}
```
### 关闭信令2001
### 上线信令2002
### 下线信令2003
## 房间信令3000~3999