0% found this document useful (0 votes)
6 views27 pages

Fingerprint Recognition Module Specification

The document outlines the specifications for a Fingerprint Identification Module, detailing its features, technical specifications, and communication protocols. It includes information on the module's capabilities such as fingerprint acquisition, comparison modes, and error codes. The document serves as a comprehensive guide for understanding the module's functionality and operational parameters.

Uploaded by

robreg1
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views27 pages

Fingerprint Recognition Module Specification

The document outlines the specifications for a Fingerprint Identification Module, detailing its features, technical specifications, and communication protocols. It includes information on the module's capabilities such as fingerprint acquisition, comparison modes, and error codes. The document serves as a comprehensive guide for understanding the module's functionality and operational parameters.

Uploaded by

robreg1
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Specification of Fingerprint

Identification Module

Version 4.1, November 2018

Fingerprint Identification Module Specification


V4.0

brief introduction
This module is an offline module with
the following features: fingerprint
algorithm.
Capacitive fingerprint acquisition head.

I
The main functions are as follows:
Whether it has self-learning
function Yes No High accuracy and
fast fingerprint identification
technology. Ultra-thin capacitive
acquisition head.
Finger touch wake-up signal output.
It has the functions of one-to-one
comparison and one-to-many
comparison. Fingerprint images can be
downloaded from the fingerprint module.
The fingerprint module can read and write
feature points. With UART and USB
communication protocol.

technical specifications
project content
processor ARM Cortex M3 Core, main frequency: 110MHz
Fingerprint collection Capacitive fingerprint acquisition chip
Effective acquisition area 9.6x9.6 (mm)
Image size 192x192 pixels
resolution 508 dpi
Storeable number 250 pieces
Comparison mode 1:1 and 1:N
Feature template size 1K Bytes
Communication interface UART power-on initialization packet rate is 57600.
USB VER1.1 Full speed
False acceptance rate (FAR) < 0.001%
False rejection rate (FRR) < 1%
hour of log-on < 10 sec (press three times in total)
Comparison time < 1 sec, 1:200
operating voltage DC 3.3V~ 6V
operational current < 40mA
Is there a self-learning function? be No □

II
Catalogue

statement............................................................................................................................................ Ⅰ
Contact information............................................................................................................................ Ⅱ
Version history................................................................................................................................... Ⅲ
brief introduction................................................................................................................................ Ⅳ
catalogue............................................................................................................................................ Ⅴ

V
1. Appearance and pin definition

Module size: 20mm x 33mm.

Interface description of the module:

P1:
P1-1: module power
supply 3.3v–6V1-2: USB
_ DP pin
P1-3: USB_DM pin
P1-4: Serial Communication RX
P1-5: Serial Communication TX
P1-6: Touch IC outputs touch signal, which is active at high level.
P1-7: Touch IC supplies 2.0V-5.5V
P1-8: Ground wire

2. Communication Protocol: Packet Content

(DWORD WORD Small data)

Command packet
sequence content Number of bits describe
0 0x55 BYTE The first bit at the beginning of the command.
one 0XAA BYTE The second bit at the beginning of the command
2 Fingerprint WORD Fingerprint module ID: fixed at 0x0001, so the filling
module ID order is
0x01 0x00
four Parameter DWORD input parameter
eight Command WORD Command code
10 Check Sum WORD Check code (from 0 to 9)
Offset[0]+…+Offset[9] = check sum

Feedback packet (Acknowledge)


sequence content Number of describe
bits
0 0x55 BYTE The first bit of the feedback start.
one 0xAA BYTE The second bit of the feedback start.
2 Fingerprint WORD Fingerprint module ID: fixed at 0x0001, so the filling order
module ID is
0x01 0x00
four Parameter DWOR Response == 0x30: (ACK) Output parameter
D Response == 0x31: (NACK) Error code
eight Response WORD 0x30 : Acknowledge (ACK)
0x32 : Non-acknowledge(NACK)
10 Check Sum WORD Check code (from 0 to 9)
OFFSET[0]+..+OFFSET[9] = CheckSum

Data packet (data)


sequence content Number of describe
bits
0 0x5A BYTE The first byte at the beginning of data.
one 0xA5 BYTE The first byte at the beginning of data.
2 Fingerprint WORD Fingerprint module ID: fixed at 0x0001, so the filling order
module ID is
0x01 0x00
four DATA N N bytes of data
BYTES The size of n will be different according to the feedback data
of different command codes.

4+N Check Sum WORD Check code (from 0 to 4+N-1)


OFFSET[0]+…+OFFSET[4+N-1] = Check Sum

3. Communication Protocol: Instruction Summary

The command code in the command packet is as follows


numerical name describe
value
0x01 Open initialization
0x02 Close suspend
0x03 UsbInternalCheck Check whether any modules are connected via USB.
0x04 ChangeBaudrate Change packet rate
0x05 SetAPMode Enterthesoftwareupdatemode,andthenupdateisallowed
(standby)
Use)
0x12 CmosLed Control LED switch (standby)
0x20 GetEnrollCount Get the current number of files
0x21 CheckEnrolled Confirm whether the specified ID has been created at the
beginning of the file.
0x22 EnrollStart File
0x23 Enroll1 File for the first time
0x24 Enroll2 Second filing
0x25 Enroll3 Filing for the third time, and forming a set of
fingerprint features from these three documents.
Collect and store in the database.
0x26 IsPressFinger Confirm whether to put your finger.
0x40 DeleteID Delete the data with the specified ID
0x41 DeleteAll Delete all fingerprints in the database
0x50 Verify Enter the pressed fingerprint and make a one-to-one
comparison with the specified ID.
0x51 Identify Input the pressed fingerprint and do one-to-many
comparison with the database.
0x52 VerifyTemplate The input fingerprint feature points are compared one-
to-one with the specified ID.
0x53 IdentifyTemplate Input fingerprint feature points and do one-to-many
comparison with the database
0x60 CaptureFinger Take a fingerprint image from the acquisition head.
0x61 MakeTemplate Feature point conversion (standby)
0x62 GetImage Download the captured fingerprint image.
0x63 GetRawImage Shoot and download an original image.
0x70 GetTemplate Download the characteristic data of the specified ID.
0x71 SetTemplate Upload the feature point data of the specified ID.
0x72 GetDatabaseStart You can start downloading the database without this
command.
0x73 GetDatabaseEnd End the database download, this command can be
saved.
0x80 UpgradeFirmware Not supported
0x81 UpgradeISOCDImage Not supported
0x30 Ack Acknowlege
0x31 Nack Non-acknowlege
4. Communication interface: error code

When Non-acknowledge is fed back in the feedback package, the error code of the parameter is as follows:
NACK parameter name numerical value describe
NACK_TIMEOUT 0X1001 reserve
NACK_INVALID_BAUDRATE 0X1002 reserve
NACK_INVALID_POS 0X1003 ThespecifiedID is not in the rangeof 0~199.
NACK_IS_NOT_USED 0X1004 The specified ID is not in use.
NACK_IS_ALREADY_USED 0X1005 The specified ID has already been used.
NACK_COMM_ERR 0X1006 Communication error
NACK_VERIFY_FAILED 0X1007 One-to-one comparison failed.
NACK_IDENTIFY_FAILED 0X1008 One-to-many comparison failed
NACK_DB_IS_FULL 0X1009 The database is full
NACK_DB_IS_EMPTY 0X100A The database is empty.
NACK_TURN_ERR 0X100B reserve
NACK_BAD_FINGER 0X100C Bad fingerprint image
NACK_ENROLL_FAILED 0X100D Failed to file
NACK_IS_NOT_SUPPORTED 0X100E The specified command is not supported.
NACK_DEV_ERR 0X100F reserve
NACK_CAPTURE_CANCELED 0X1010 reserve
NACK_INVALID_PARAM 0X1011 Illegal parameter
NACK_FINGER_IS_NOT_PRESSED 0X1012 Finger not pressed
DuplicatedID 0-199 Duplicate fingerprints exist in the
database.
5. Communication interface: command description

5.1. Open (open)


Control
terminal
command
packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0x0 0x01 0x101
Parameter = 0, no product parameters are obtained, please set it to 0.
Parameter = non-0, get product

message feedback packet.


1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0x0 0x30 0x130
Response code = 0x30

acknowledgement data

packet
Product information
1 byte 1 byte 2 bytes N bytes 2 bytes
Logo 1 Logo 2 ID Data Checksum
0x5A 0XA5 0x0001 devinfo 0x101

DATA =
Typedef struct _definfo
{
DWORD FirwareVersion;
WORD Width;
WORD Height;
BYTE SerialNumber[16];
}devinfo;

A command is an initialization action for a module, especially when obtaining product information.

Devinfo schema description


Field Sample Description
FirmwareVersion 20120225 Firmware version
Width 160 Sensor sampling width
Height 160 Sensor sampling height
SerialNumber EF15EF4016C6625088BF1A41390000 Unique serial number
00 Of the fingerprint module
If the serial number of the fingerprint module is zero, the stability of the module is not guaranteed.

5.2. Close (close)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0x00 0x02 0x102

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0x0 0x30 0x130

5.3. Fast fingerprint search module (USB Binternal Check)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0x00 0x03 0x103

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0x55 0x30 0x185

This fingerprint module adopts the removable CD-ROM drive architecture, and there is no need to install
any driver. This command is to speed up the connection time when there are many removable CD-ROMs
in the system at the same time.

5.4. Change packet rate (ChangeBaudrate)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 9600 0x04 sum
Parameter = baud rate (9600 ~ 115200)

feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0x00 0x30 0x130
error code
Response code = 0x31
Parameter = 0x1011 NACK_INVALID_PARAM
This command must be executed when the module is working. When the power is turned on again, the
system will automatically return to the packet rate of 9600.

5.5. Get the number of fingerprints that have been filed (GetEnrollCount)
Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0x00 0x20 0x120

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 xxxx 0x30 sum
Parameter = Number of documents filed

5.6. Confirm whether the specified ID is CheckEnrolled.


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 XXXX 0x21 sum
Parameter = ID (0 ~ 249)

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30This ID has been

filed. Response code = 0x32


Parameter = 0x1003 NACK_INVALID_POS
Parameter = 0x1004 NACK_IS_NOT_USED

5.7. Start filing (EnroolStart)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 xxxx 0x22 sum
Parameter = ID (0 ~ 249)
If ID = -1, it means that the document is not stored in the database.

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum

Response code = 0x30 OK


Response code = 0x31
Parame 0x1009 NACK_DB_IS_FULL
ter =
Parame 0x1003 NACK_INVALID_POS
ter =
Parame 0x1005 NACK_IS_ALREADY_USED
ter =

5.8. First filing (Enroll1)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x23 0x123

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x100D NACK_ENROLL_FAILED
Parameter = 0x100C NACK_BAD_FINGER
Parameter = 0x1005 NACK_IS_ALREADY_USED

5.9. Second filing (Enroll2)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x24 0x124

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parame 0x100D NACK_ENROLL_FAILED
ter =
Parame 0x100C NACK_BAD_FINGER
ter =
Parame 0x1005 NACK_IS_ALREADY_USED
ter =

5.10. Third filing (Enroll3)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x25 0x125

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parame 0x100D NACK_ENROLL_FAILED
ter =
Parame 0x100C NACK_BAD_FINGER
ter =
Parame 0x1005 NACK_IS_ALREADY_USED
ter =

IftheparameterIDinEnrollStartis==-1,thefingerprintfeaturepointdatawillbesent
backtothecontroldatapacket.
DATA = File feature points (256bytes)
1 byte 1 byte 2 bytes N bytes 2 bytes
Logo 1 Logo 2 ID Data Checksum
0x5A 0XA5 0x0001 Feature point sum

5.11. Confirm whether the fingerprint is pressed (IsPressFinger)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x26 0x126

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30
Parameter = 0 with
fingerprint Parameter
= non-0 without
fingerprint

This command will be used when filing, and the control terminal must confirm whether the fingerprint is
removed every time the file is filed.

5.12. Delete the specified ID(DeleteID)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 xxxx 0x40 sum
Parameter = ID (0~249)

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x1002 NACK_INVALID_POS

5.13. DeleteAll fingerprints.


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x41 0x141

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x100aack _ db _ is _ empty

5.14. One-to-one comparison (Verify)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 xxxx 0x50 sum
Parameter = ID (0~249)

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum

Response code = 0x30 ACK


Response code = 0x31 NACK
Parame 0x1002 NACK_INVALID_POS
ter =
Parame 0x1004 NACK_IS_NOT_USED
ter =
Parame 0x1008 NACK_VERIFY_FAILED
ter =

5.15. One-to-many Identify


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x51 0x151

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Parameters = 0~ 249 Correct ID
Location Response Code = 0x31
NACK
Parameter = 0x100aack _ db _ is _ empty
Parameter = 0x1008 NACK_IDENTIFY_FAILED

5.16. One-to-one feature point comparison (VerifyTemplate)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 xxxx 0x52 sum
Parameter = ID (0~249)
Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x1002 NACK_INVALID_POS
Parameter = 0x1004 NACK_IS_NOT_USED
The control terminal sends data packets.
DATA = feature point (256 bytes)
1 byte 1 byte 2 bytes N bytes 2 bytes
Logo 1 Logo 2 ID Data Checksum
0x5A 0XA5 0x0001 Feature point sum

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x1006 NACK_COMM_ERR
Parameter = 0x1007 NACK_VERIFY_FAILED

5.17. One-to-many feature point IdentifyTemplate


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x53 0x153
Parameter = ID (0~249)

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x1002 NACK_DB_IS_EMPTY

Data packet
DATA = feature point (256 bytes)
1 byte 1 byte 2 bytes N bytes 2 bytes
Logo 1 Logo 2 ID Data Checksum
0x5A 0XA5 0x0001 Feature point sum

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Parameter = ID (0~249) Correct ID
Location Response Code = 0x31
NACK
Parameter = 0x1006 NACK_COMM_ERR
Parameter = 0x1007 NACK_VERIFY_FAILED

5.18. Get a fingerprint image (CaptureFinger)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x60 sum

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x1012 NACK_FINGER_IS_NOT_PRESSED

5.19. Generate feature points (MakeTemplate)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x61 0x161
Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x100C NACK_BAD_FINGER
Return data packet
Data = Generate feature points (256bytes)
1 byte 1 byte 2 bytes N bytes 2 bytes
Logo 1 Logo 2 ID Data Checksum
0x5A 0XA5 0x0001 Feature point sum

Some commands are used to generate feature points. Before using this command, you must first
use the CaptureFinger command. Do not use feature points for filing.

5.20. Get a fingerprint image (GetImage)


Command packet
1 byte 1 byte 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 parameter instruction Checksum
0x55 0XAA 0 0x62 0x162
Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum

Data packet
Data = (Sensor pixel /4), except for special size.
1 byte 1 byte 2 bytes N bytes 2 bytes
Logo 1 Logo 2 ID Data Checksum
0x5A 0XA5 0x0001 Image point sum

Judge the sensor pixels and determine the image size.

5.21. Get the original image (GetRawImage)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x63 0x163
Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Data packet
Data = pixel of sensor
1 byte 1 byte 2 bytes N bytes 2 bytes
Logo 1 Logo 2 ID Data Checksum
0x5A 0XA5 0x0001 Image point sum
5.22. Get the feature point (GetTemplate) in the database.
Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 xxxx 0x70 sum
Parameter = ID (0~249)

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x1002 NACK_INVALID_POS

Data packet
Data = Feature points (512 bytes)
1 byte 1 byte 2 bytes N bytes 2 bytes
Logo 1 Logo 2 ID Data Checksum
0x5A 0XA5 0x0001 Feature point sum

5.23. Write feature points to a SetTemplate.


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 xxxx 0x71 sum
Parameter = ID (0~249)

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x1002 NACK_INVALID_POS
Send data packets (send 3 packets in succession)
DATA = feature point 168 bytes.
1 byte 1 byte 2 bytes N bytes 2 bytes
Logo 1 Logo 2 ID Data Checksum
0x5A 0XA5 0x0001 Feature point sum

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum
Response code = 0x30 ACK
Response code = 0x31 NACK
Parameter = 0x1006 NACK_COMM_ERR
Parameter = 0x100F NACK_DEV_ERR

5.24. Start downloading database data (GetDatabaseStart)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x72 sum

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum

This command can be omitted.

5.25. End of database download (GetDatabaseEnd)


Command packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter instruction Checksum
0x55 0XAA 0x0001 0 0x73 sum

Feedback packet
1 byte 1 byte 2 bytes 4 bytes 2 bytes 2 bytes
Logo 1 Logo 2 ID parameter Response code Checksum
0x55 0XAA 0x0001 0 0x30 sum

This command can be omitted.


Upgrade Firmware (UpgradeFirmware)
Not supported

Uprade ISO CD Image(UpgradeISOCDImage)


Not supported

6. Communication Interface: Process and Description

6.1. Obtain fingerprint image


IsPressFinger Confirm whether the finger is pressed on the collecting head. This command must be

used in the process of filing. CapureFinger [Link],anerrorcodeGetRawImage

[Link].

One-to-one comparison and one-to-many comparison


Identify and IdentifyTemplate perform a one-to-many comparison.
Verify performs a one-to-one comparison with VerifyTemplate.

Beforeexecutingthe Identifyand Verify commands,the control terminalmust first execute the


CaptureFingercommand. Theprocess is as follows:
1. CaptureFinger
2. Identify/Verify

6.2. place sth on file


The process is as follows: first, select the language of the upper computer, which can be set to
Chinese or English; Click the Open button, and then select the registration threshold, verification
threshold and verification score, which can be set to high, medium and low as required; Then file
according to the following steps:
1. EnrollStart with a (not used) ID
2. CaptureFinger
3. Enroll1
4. Execute IsPressFinger and wait for the finger to move away.
5. CaptureFinger
6. Enroll2
7. Execute IsPressFinger and wait for the finger to move away.
8. CaptureFinger
9. Enroll3
7. PC software

Introduction of PC software

Command Alias UI item to test it


Open, UsbInternalCheck,
ChangeBaudrate
Close

GetEnrollCount

CheckEnrolled, EnrollStart, Enroll1,


Enroll2, Enroll3, IsPressFinger

DeleteID

DeleteAll

Verify

Command Alias UI item to test it


Identify

CaptureFinger, GetImage

GetRawImage

GetTemplate, GetDatabaseStart,
GetDatabaseEnd

SetTemplate

Fimware Version

GetliveImage

Cancel

EnrollThreshold

IdentifyThreshold

IdentifyGrade

PC software supports VC6.0 or above

You might also like