1. K8凯发(中国)

    读取局域网搜索结果协议
    请求地址:

    http://ip:port/device/ReadDeviceSearchRecord


    请求方式: GET


    返回数据:

    {

    "result": {$result},

    "list":[{

    "pluginid": {$pluginid},

    "name:" {$name},

    "ip": {$ip},

    "port": {$port},

    "submask": {submask},

    "gateway": {$gateway},

    "channelcount:" {$channelcount},

    "devtype": {$devtype},

    "webport:" {$webport},

    "videoport": {$videoport},

    "mac": {$mac}

    }]

    }


    返回字段:
    字段名 类型 描述
    result int 执行结果:0 成功,-1 为失败。
    pluginid int 记录所属的插件 ID
    name string 设备名称 ID
    IP string 设备名称 IP
    Port int 设备的控制端口
    submask string 设备的子网掩码
    gateway string 设备的网关地址
    channelcount int 设备的通道数。>0 时有效。
    devtype string 设备类型
    webport int 设备的 Web 访问端口
    videoport int 设备的视频访问端口。当视频访问端口与控制端口不一致时有效
    mac string 设备的 MAC 地址