设备网络SDK开发使用手册

NET_DVR_STDXMLConfig

ISAPI协议命令透传。

BOOL NET_DVR_STDXMLConfig(
  LONG                         lUserID,
  NET_DVR_XML_CONFIG_INPUT     *lpInputParam,
  NET_DVR_XML_CONFIG_OUTPUT    *lpOutputParam
);

Parameters

lUserID
[in] NET_DVR_Login_V40等登录接口的返回值
lpInputParam
[in] 输入参数
lpOutputParam
[in&out] 输出参数

Return Values

TRUE表示成功,FALSE表示失败。接口返回失败请调用NET_DVR_GetLastError获取错误码,通过错误码判断出错原因。

Remarks

通过该接口可以直接透传ISAPI协议命令,实现参数配置、能力集获取等功能。调用该接口需要设备支持ISAPI协议(PUT、GET、POST、DELETE等命令),获取和设置不同类型参数时对应的输入参数、输出参数不同,具体如下表:

功能描述 lpInputParam->lpRequestUrl lpInputParam->lpInBuffer lpOutputParam->lpOutBuffer
获取体征仪能力 GET /ISAPI/System/signInstrument/capabilities?format=json NULL JSON_signInstrument_capabilities
获取体征仪网络配置 GET /ISAPI/System/signInstrument/<ID>/network?format=json NULL JSON_signInstrument_network
设置体征仪网络配置 PUT /ISAPI/System/signInstrument/<ID>/network?format=json JSON_signInstrument_network NULL
获取体征仪网络配置能力 GET /ISAPI/System/signInstrument/network/capabilities?format=json NULL JSON_signInstrument_capabilities_network
获取体征仪检测参数配置 GET /ISAPI/System/signInstrument/<ID>/detectParam?format=json NULL JSON_signInstrument_detectParam
设置体征仪检测参数配置 PUT /ISAPI/System/signInstrument/<ID>/detectParam?format=json JSON_signInstrument_detectParam NULL
获取体征仪检测参数配置能力 GET /ISAPI/System/signInstrument/detectParam/capabilities?format=json NULL JSON_signInstrument_capabilities_detectParam
获取体征仪波形叠加配置 GET /ISAPI/System/signInstrument/<ID>/waveform?format=json NULL JSON_signInstrument_waveform
设置体征仪波形叠加配置 PUT /ISAPI/System/signInstrument/<ID>/waveform?format=json JSON_signInstrument_waveform NULL
获取体征仪波形叠加配置能力 GET /ISAPI/System/signInstrument/waveform/capabilities?format=json NULL JSON_signInstrument_capabilities_waveform

See Also

NET_DVR_Login_V40
JSON_ResponseStatus