In the entrance and exit scene, you can remotely control the barrier gate status via device network SDK, such as falling the gate, rising the gate, stopping the gate at a certain position, and locking the gate.
Make sure you have called NET_DVR_Init to initialize the integration environment.
Make sure you have called NET_DVR_Login_V40 to log in to the device.
Figure 1 API Calling Flow of
Controlling Barrier Gate StatusCall NET_DVR_Logout and NET_DVR_Cleanup to log out from device and release resources.