Old revisions Add to book Export to PDF Book Creator Add this page to your book Book Creator Remove this page from your book Manage book (0 page(s)) Help This is an old revision of the document! Fingerprint API API that provides functions to scan, extract, and compare fingerprint template data. BS2_ScanFingerprint: Scans a fingerprint from a device and extracts template data. BS2_ScanFingerprintEx: Scans a fingerprint from a device and extracts template data and scores. BS2_VerifyFingerprint: Compares the template data to check if it is the same finger. BS2_GetLastFingerprintImage: Extracts the image of the last scanned fingerprint using the BS2_ScanFingerprint API. Structure BS2Fingerprint typedef struct { uint8_t index; uint8_t flag; uint8_t reserved[2]; uint8_t data[BS2_TEMPLATE_PER_FINGER][BS2_FINGER_TEMPLATE_SIZE]; } BS2Fingerprint; 1. index The index of finger. (Not used anymore) 2. flag Flag that indicates the purpose of the fingerprint. Value Description 0 Normal fingerprint 1 Duress fingerprint 3. reserved Reserved space. 4. data The data of fingerprint template.