Data Uploading

The alarm or event data from devices or detectors should be uploaded to control panel for management, such as triggering alarm, notifying to alarm center, and so on. You can set the uploading method and related parameters.

Function

Description

Get Data Uploading Parameters

Call NET_DVR_GetDeviceConfig with "NET_DVR_GET_ALARMHOST_REPORT_CENTER_V40" (command No.: 2064). And the data uploading parameters are returned in the structure of NET_DVR_ALARMHOST_REPORT_CENTER_CFG_V40.

Note:

For the security control panel in version 2.0 and lower, the value of parameter dwCount in the API NET_DVR_GetDeviceConfig is specified as the centers' number returned by the capability, and the parameter lpStatusList is invalid.

Set Data Uploading Parameters

Call NET_DVR_SetDeviceConfig with "NET_DVR_SET_ALARMHOST_REPORT_CENTER_V40" (command No.: 2065) and set the lpInParamBuffer to NET_DVR_ALARMHOST_REPORT_CENTER_CFG_V40.