For access control devices being configured with alarm or event rule parameters, arming schedule, linkage action, and so on, when the alarm is triggered or event occurred, the device can automatically upload the alarm or event information, and you can receive the alarms or event via platform or system.
Make sure you have called NET_DVR_Init to initialize the development resources.
Make sure you have called NET_DVR_Login_V40 to log in to device.
Make sure you have collected the face data, refer to Collect Face Data for details.
Figure 1 Programming Flow of Uploading Access Control EventCall NET_DVR_Logout and NET_DVR_Cleanup to log out and release the resource.