This is an old revision of the document!


Fingerprint API

API that provides functions to scan, extract, and compare fingerprint template data.

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.