设备网络SDK开发使用手册


体征仪网络配置Json数据结构

{
    "requestURL":"",
    /*可选,URL,string*/
    "statusCode": ,
    /*必填,状态码,int*/
    "statusString": "",
    /*必填,状态描述,string*/
    "subStatusCode": "",
    /*必填,子状态码,string*/
    "errorCode": 1,
    /*可选,当statusCode不为1时,必填。错误码,与subStatusCode对应,int*/
    "errorMsg": "ok",
    /*可选, 当statusCode不为1时,必填,错误详细信息,能具体到某一个参数的错误,string*/

	/*以上节点作为PUT命令输入参数时无效,可删除*/

    "id": 1,
    /*必填, 体征仪编号, integer类型*/
    "ipAddress": "172.6.64.7",
    /*必填, 设备IPv4地址, string类型, 最大长度为32*/
    "ipv6Address": "",
    /*可选, 设备IPv6地址, string类型, 最大长度为128*/
    "portNo": 80,
    /*必填, 设备端口号, integer类型*/
    "protocolType": "none",
    /*必填, 协议类型,  none-无,contec-康泰, string类型*/
    "connectStatus": "connected,connecting,disconnect",
    /*可选, 连接状态, connected-已连接,connecting-连接中,disconnect-未连接 string类型, 最大长度为32, {dep if protocolType != "none"}*/
    "relatedChannelID": 1,
    /*可选, 关联通道号,integer类型, {dep if protocolType != "none"}*/
}


See Also

NET_DVR_STDXMLConfig