# 探测接收卡信息
该接口可以快速探测接收卡。
# 请求路径
{CLTPlatform-ip}:8086/receiver/detectAllDevice
- 请求地址替换为对应的 ip 地址
- 请求端口号为
8086
# 请求协议
HTTP
# 请求方法
POST
# 请求参数
- 请求体的
Content-Type
请设置为application/json
参数名 | 说明 | 必填 | 类型 | 数据字典 | 限制 | 示例 |
---|---|---|---|---|---|---|
command | 指令类型 | 是 | [string] | receiver/detectAllDevice | ||
data | 数据 | 是 | [object] |
# 请求示例
{
"command": "receiver/detectAllDevice",
"data": {}
}
# 返回结果
参数名 | 说明 | 必填 | 类型 | 数据字典 | 限制 | 示例 |
---|---|---|---|---|---|---|
command | 指令类型 | 是 | [string] | |||
code | 状态码 | 是 | [int] | |||
message | 消息 | 是 | [string] | |||
data | 数据 | 是 | [object] | |||
data>>deviceList | 接收卡列表 | 是 | [array] | |||
data>>deviceList>>portIndex | 网口序号 | 是 | [int] | |||
data>>deviceList>>senderIndex | 发送器序号 | 是 | [int] | |||
data>>deviceList>>receiverIndex | 接收卡序号 | 是 | [int] | |||
data>>deviceList>>typeVersion | 型号版本 | 是 | [string] | |||
data>>deviceList>>type | 型号定义 | 是 | [int] |
# 返回示例
{
"code": 20000,
"command": "receiver/detectAllDevice",
"data": {
"deviceList": null
},
"message": "Common_Success"
}