
- 17 -
www.hzgrow.com
packet first, and then sends several data packet.
3.Packet Bytes N is determined by Packet Length. The value is 128 Bytes before delivery.
Data package format:
2 bytes
4bytes
1 byte
2 bytes
N byte
2 bytes
Header
Module
address
Package identifier
Package
length
Package
content
Checksum
0xEF01
xxxx
0x02- have
following packet
0x08 - end packet
N+2
Image data
sum
To generate character file from image
GenChar
Description: to generate character file from the original finger image in ImageBuffer
Input Parameter: BufferID (character file buffer number)
Return Parameter: Confirmation code (1 byte)
Instruction code: 02H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Instruction
code
Buffer
number
Checksum
0xEF01
xxxx
01H
04H
02H
CharBuffer
ID
sum
CharBufferID: Character buffer number, range 1-6.
The R300-A module requires a minimum of four and a maximum of six fingerprint
features for the generate template.
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: generate character file complete;
Confirmation code=01H: error when receiving package;
Confirmation code=06H: fail to generate character file due to the over-disorderly
fingerprint image;
Confirmation code=07H: fail to generate character file due to lackness of character
point or over-smallness of fingerprint image;
Confirmation code=15H: fail to generate the image for the lackness of valid primary
image;
To generate template
RegModel
Description: To combine information of character files from CharBuffer1 and CharBuffer2 and
generate a template which is stored back in both CharBuffer1 and CharBuffer2.
Input Parameter
:
none
Return Parameter
:
Confirmation code (1 byte)
Instruction code: 05H