The panic button can be pressed to send the alarm to the monitoring center when the emergency happens or someone asks for help.
Function |
Description |
---|---|
Get configuration capability of panic button |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/panicButton/capabilities?format=json, and the capability is returned in the message JSON_PanicButtonCap by lpOutputParam. |
Get parameters of all panic buttons |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/panicButton?format=json, and the parameters are returned in the message JSON_List_PanicButton by lpOutputParam. |
Get panic button parameters of a specific button |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/panicButton/zone/<ID>?format=json, and the parameters are returned in the message JSON_PanicButton by lpOutputParam. |
Set panic button parameters of a specific button |
Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/SecurityCP/Configuration/panicButton/zone/<ID>?format=json and set lpInputParam to the message JSON_PanicButton. |