
- 15 -
www.hzgrow.com
Index table data
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
…
…
T[31]
Template number
255
254
253
252
251
250
249
248
Index table data
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Data "0" in the index table means that there is no valid template in the corresponding position;"1"
means that there is a valid template in the corresponding position.
Fingerprint-processing instructions
To collect finger image
GetImg
Description: detecting finger and store the detected finger image in ImageBuffer while
returning successfully confirmation code; If there is no finger, returned confirmation code
would be “can’t detect finger”.
The difference between GetImageEx and GetImage instruction:
GetImage: When the image quality is poor, return confirmation code 0x00 (the image is
successfully captured).
GetImageEx: When image quality is poor, return confirmation code 0x07 (image quality
is too poor).
Input Parameter: none
Return Parameter: Confirmation code (1 byte)
Instruction code: 01H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package length
Instruction
code
Checksum
0xEF01
Xxxx
01H
03H
01H
Sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Checksum
0xEF01
Xxxx
07H
03H
xxH
Sum
Note: Confirmation code=00H: finger collection success;
Confirmation code=01H: error when receiving package;
Confirmation code=02H: can’t detect finger;
Confirmation code=03H: fail to collect finger;
Upload image
UpImage
Description: to upload the image in Img_Buffer to upper computer.
Input Parameter: none
Return Parameter: Confirmation code (1 byte)
Instruction code: 0aH
Command (or instruction) package format: