Figure 1 Programming Flow of Getting Registration Information of Door
Station
-
Call NET_DVR_StartRemoteConfig with "NET_DVR_GET_VIS_REGISTER_INFO" (command No.: 16027)
and set cbStateCallback to "null" for enabling persistent
connection to search for registration information of door station.
-
Call NET_DVR_GetNextRemoteConfig to get search result one by one.
Each search result is returned in the structure NET_DVR_VIS_REGISTER_INFO by lpOutBuff, and the getting
status is also returned by the API.
-
Perform one of the following operations after checking the returned getting
status.
-
If the getting status value is "1000" or "1001", call NET_DVR_GetNextRemoteConfig to get the next result.
-
If the getting status value is "1002" or "1003", continue to perform the
following steps.
-
Call NET_DVR_StopRemoteConfig to disable the persistent connection and stop getting
registration information of door station.
Call NET_DVR_Logout and NET_DVR_Cleanup to log out of the device and release the development
resources.