Collect Fingerprint Data

The fingerprint data to be applied and linked with card should be collected first via fingerprint module of access control device.

  • 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.

Figure 1 Programming Flow of Collecting Fingerprint Data

  1. Call NET_DVR_StartRemoteConfig with "NET_DVR_CAPTURE_FINGERPRINT_INFO" (command No.: 2504) and set lpInBuffer to NET_DVR_CAPTURE_FINGERPRINT_COND for enabling persistent connection to collect fingerprint data.
    Note:

    The status callback function fRemoteConfigCallback in NET_DVR_StartRemoteConfig should be set to "null".

  2. Call NET_DVR_GetNextRemoteConfig to get collected fingerprint data item by item.
    Note:

    To get all collected fingerprint data, this step must be performed repeatedly.

    The collected fingerprint data is returned in the structure NET_DVR_CAPTURE_FINGERPRINT_CFG by lpOutBuff.

  3. Call NET_DVR_StopRemoteConfig to disconnect the persistent connection.

Call NET_DVR_Logout and NET_DVR_Cleanup to log out and release the resource.