Alarm Lamp Configuration

An alarm lamp is an output device that flickers to alert people when alarm is triggered. You can configure schedules to enable the alarm lamp flickering when the alarm is triggered, and you can also set the duration and interval of the alarm lamp flickering.

Alarm Lamp Settings

Function

Description

Get Alarm Lamp Configuration Capability

Call NET_DVR_GetSTDAbility and set dwAbilityType to "NET_DVR_GET_ALARM_LAMP_CFG_CAP" (macro definition value: 2216).

The configuration capability is returned in the message XML_Cap_AlarmLampConfig by lpOutBuffer of the structure NET_DVR_STD_ABILITY.

Get Alarm Lamp Parameters

Call NET_DVR_GetSTDConfig with "NET_DVR_GET_ALARM_LAMP_CFG" (command No.: 2217).

The parameters are returned in the structure NET_DVR_ALARM_LAMP_CFG by lpOutBuffer of the structure NET_DVR_STD_CONFIG.

Set Alarm Lamp Parameters

Call NET_DVR_SetSTDConfig with "NET_DVR_SET_ALARM_LAMP_CFG" (command No.: 2218) and set lpInBuffer of the structure NET_DVR_STD_CONFIG to NET_DVR_ALARM_LAMP_CFG.

Note:

To check whether the device supports configuring alarm lamp parameters, you can call NET_DVR_GetSTDAbility and set dwAbilityType to "NET_DVR_GET_EMERGENCE_ALARM_PRODUCT_CAP" (macro definition value: 2212) for getting the capability of the one-touch panic alarm product.

The capability is returned in the message XML_EmergencyAlarmProductCap by lpOutBuffer of the structure NET_DVR_STD_ABILITY. If this function is supported, the node <alarmLampConfig> will be returned and its value is true.

Alarm Lamp Flickering Schedule

Function

Description

Get Configuration Capability of Alarm Lamp Flickering Schedule

Call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/SecurityCP/BasicParam/AlarmLampSchedTimeConfig/capabilities.

The configuration capability is returned in the message XML_Cap_LampSchedTimeList by the output parameter lpOutputParam.

Get Parameters of Alarm Lamp Flickering Schedule

Call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/SecurityCP/BasicParam/AlarmLampSchedTimeConfig.

The parameters are returned in the message XML_LampSchedTimeList by the output parameter lpOutputParam.

Set Parameters of Alarm Lamp Flickering Schedule

Call NET_DVR_STDXMLConfig to transmit the request URL: PUT /ISAPI/SecurityCP/BasicParam/AlarmLampSchedTimeConfig and set the input parameter lpInputParam to the message XML_LampSchedTimeList.