# 探测多功能卡常规信息

该接口可以探测多功能卡的常规信息。

# 请求路径

{CLTPlatform-ip}:8086/multiFunctionCard/detectAllDevice

  • 请求地址替换为对应的 ip 地址
  • 请求端口号为 8086

# 请求协议

HTTP

# 请求方法

POST

# 请求参数

  • 请求体的Content-Type请设置为application/json
参数名 说明 必填 类型 数据字典 限制 示例
command 指令类型 [string] multiFunctionCard/detectAllDevice
data 数据 [object]

# 请求示例

{
    "command": "multiFunctionCard/detectAllDevice",
    "data": {}
}

# 返回结果

参数名 说明 必填 类型 数据字典 限制 示例
command 指令类型 [string]
code 状态码 [int]
message 消息 [string]
data 数据 [object]
data>>deviceList 设备列表 [array]
data>>deviceList>>senderIndex 所在的发送器序号 [int] 0
data>>deviceList>>portIndex 所在的网口序号 [int] 0
data>>deviceList>>functionCardIndex 网口内的多功能卡序号 [int] 0
data>>deviceList>>typeVersion 类型版本 [string] IM9 12.55(ARM: 12.55 FPGA: 12.55)

# 返回示例

{
    "command": "",
    "code": 0,
    "message": "",
    "data": {
        "deviceList": [{
            "senderIndex": 0,
            "portIndex": 0,
            "functionCardIndex": 0,
            "typeVersion": "IM9 12.55(ARM: 12.55 FPGA: 12.55)"
        }]
    }
}

# 详细说明