Status Monitoring

You can get the status of access controllers, turnstiles, and other devices to monitor their operation.

Working Status of Access Controller

Call NET_DVR_GetDVRConfig with the command "NET_DVR_GET_ACS_WORK_STATUS_V50" (command No.: 2180).

The working status is returned in the structure NET_DVR_ACS_WORK_STATUS_V50 by the output buffer lpOutBuffer.

Note:

To check whether getting working status of the access controller is supported, you can call NET_DVR_GetDeviceAbility, set the capability type dwAbilityType to "ACS_ABILITY" (macro definition value: 0x801), and set the input parameter pointer pInBuf to the message XML_Desc_AcsAbility for getting the access control capability.

The capability is returned in the message XML_AcsAbility by the output parameter pointer pOutBuf. The related node is <AcsWorkStatus>.

General Turnstile Status

Function

Description

Get Capability of Getting General Turnstile Status

Call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/AccessControl/GateStatus/capabilities.

The capability is returned in the message XML_Cap_GateStatus by lpOutBuffer.

Get General Turnstile Status

Call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/AccessControl/GateStatus.

The status is returned in the message XML_GateStatus by lpOutBuffer.

Note:

To check whether the device supports getting general turnstile status, you can call NET_DVR_STDXMLConfig to transmit the request URL: GET x/ISAPI/AccessControl/capabilities to get the access control capability.

The capability is returned in the message XML_Cap_AccessControl by lpOutBuffer. If this function is supported by the device, the node <isSupportGateStatus> will be returned in the message and its value is "true".

Status of Active Infrared Intrusion Detector of Turnstile

Function

Description

Get Capability of Getting Status of Active Infrared Intrusion Detector of Turnstile

Call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/AccessControl/GateIRStatus/capabilities.

The capability is returned in the message XML_Cap_GateIRStatus by lpOutBuffer.

Get Status of Active Infrared Intrusion Detector of Turnstile

Call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/AccessControl/GateIRStatus.

The status is returned in the message XML_GateIRStatus by lpOutBuffer.

Note:

To check whether the device supports getting the status of the active infrared intrusion detector of the turnstile, you can call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/AccessControl/capabilities to get the access control capability.

The capability is returned in the message XML_Cap_AccessControl by lpOutBuffer. If this function is supported by the device, the node <isSupportGateIRStatus> will be returned in the message and its value is "true".

Turnstile Component Status

Function

Description

Get Capability of Getting Related Components' Status of Turnstile

Call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/AccessControl/GateRelatedPartsStatus/capabilities.

The capability is returned in the message XML_Cap_GateRelatedPartsStatus by lpOutBuffer.

Get Related Components' Status of Turnstile

Call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/AccessControl/GateRelatedPartsStatus.

The status is returned in the message XML_GateRelatedPartsStatus by lpOutBuffer.

Note:

To check whether the device supports getting related components' status of the turnstile, you can call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/AccessControl/capabilities to get the access control capability.

The capability is returned in the message XML_Cap_AccessControl by lpOutBuffer. If this function is supported by the device, the node <isSupportGateRelatedPartsStatus> will be returned in the message and its value is "true".