Other Settings

Local DIP (Dual In-line Package) and Information

Function

Description

Get Capability of Getting Local DIP and Information

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/AccessControl/GateDialAndInfo/capabilities.

The capability is returned in the message XML_Cap_GateDialAndInfo by lpOutputParam.

Get Local DIP and Information

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/AccessControl/GateDialAndInfo.

The information is returned in the message XML_GateDialAndInfo by lpOutputParam.

Note:

To check whether the device supports getting local DIP and information of the turnstile, you can call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/AccessControl/capabilities to get the access control capability.

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

People Counting

Function

Description

Get People Counting Parameters

Call NET_DVR_GetDVRConfig with the command "NET_DVR_GET_PERSON_STATISTICS_CFG" (command No.: 2170).

The parameters are returned in the structure NET_DVR_PERSON_STATISTICS_CFG by the output buffer lpOutBuffer.

Set People Counting Parameters

Call NET_DVR_SetDVRConfig with the command "NET_DVR_SET_PERSON_STATISTICS_CFG" (command No.: 2171) and set the input buffer lpInBuffer to the structure NET_DVR_PERSON_STATISTICS_CFG.

Note:

To check whether the device supports configuring people counting parameters, you can call NET_DVR_GetDeviceAbility, set the capability type dwAbilityType to "ACE_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 <PersonStatisticsCfg>.

Turnstile Barrier Time

Function

Description

Get Barrier Time Parameters of Turnstile

Call NET_DVR_GetDVRConfig with the command "NET_DVR_GET_GATE_TIME_CFG" (command No.: 2174).

The parameters are returned in the structure NET_DVR_GATE_TIME_CFG by the output buffer lpOutBuffer.

Set Barrier Time Parameters of Turnstile

Call NET_DVR_SetDVRConfig with the command "NET_DVR_SET_GATE_TIME_CFG" (command No.: 2175) and set the input buffer lpInBuffer to the structure NET_DVR_GATE_TIME_CFG.

Note:

To check whether the device supports configuring barrier time parameters of the turnstile, you can call NET_DVR_GetDeviceAbility, set the capability type dwAbilityType to "ACE_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 <GateTimeCfg>.

Keyfob Control Mode

Function

Description

Get configuration capability of keyfob control mode

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/AccessControl/remoteCtrllerModeCfg/capabilities?format=json.

The capability is returned in the message JSON_RemoteCtrllerModeCfgCap by lpOutputParam.

Get parameters of keyfob control mode

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/AccessControl/remoteCtrllerModeCfg?format=json.

The parameters are returned in the message JSON_RemoteCtrllerModeCfg by lpOutputParam.

Set parameters of keyfob control mode

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/remoteCtrllerModeCfg?format=json and set lpInputParam to the message JSON_RemoteCtrllerModeCfg.

Note:

To check whether the device supports configuring parameters of the keyfob control mode, you can call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/AccessControl/capabilities to get the access control capability.

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