If you want to access by fingerprint, you should collect the fingerprint
data via the fingerprint recorder first, and then apply the fingerprint data and parameters
(e.g., fingerprint ID, type, and so on) to the fingerprint module of access control device
and link the fingerprints with the card for getting the access permissions.
-
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 the card information linked with the face picture is applied, refer
to Manage Card Information for details.
Figure 1 Programming Flow of Managing Fingerprint Information
-
Call NET_DVR_GetDeviceAbility, specify the capability type
(dwAbilityType) to "ACS_ABILITY" (macro definition
value: 0x801), and set the condition buffer (pCondBuffer)
to the message XML_Desc_AcsAbility for getting access control
capability to check if managing fingerprint information is supported by
device.
The access control capability is returned in the message XML_AcsAbility by the output buffer
(pOutBuffer).
If the node <FingerPrint> is returned in the message,
it indicates that managing fingerprint information is supported by device,
and you can perform the following steps.
Otherwise, managing fingerprint information is not supported, please end this
task.
-
Perform the following operation(s) to get or apply fingerprint
information.
-
Call NET_DVR_StopRemoteConfig to disconnect the persistent
connection.
Call NET_DVR_Logout and NET_DVR_Cleanup to log out and release the resource.