ZFM-70 SeriesFingerprint Identification Module
User Manual
www.zhiantec.com
Hangzhou Zhian Technologies Co.,Ltd
37
Command (or instruction) package format:
Header
Module
address
Package
identifier
Package
length
Instruction
code
buffer
number
Location
number
Checksum
2 bytes
4bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
2 bytes
0xEF01
xxxx
01H
06H
06H
BufferID
PageID
sum
Note: BufferID of CharBuffer1 and CharBuffer2 are 1h and 2h respectively. Other values (except 1h,
2h) would be processed as CharBuffer2.
Acknowledge package format:
Header
Module address
Package
identifier
Package
length
Confirmation
code
Checksum
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
0xEF01
Xxxx
07H
03H
xxH
sum
Note: Confirmation code=00H: storage success;
Confirmation code=01H: error when receiving package;
Confirmation code=0bH: addressing PageID is beyond the finger library;
Confirmation code=18H: error when writing Flash.
6.3.16
To read template from Flash library
Description: to load template at the specified location (PageID) of Flash library to template buffer
CharBuffer1/CharBuffer2
Input Parameter: BufferID(buffer number), PageID (Flash location of the template, two bytes with high byte
front and low byte behind)
。
Return Parameter: Confirmation code (1 byte)
Instruction code: 07H
Command (or instruction) package format:
Header
Module address
Package
identifier
Package
length
Instruction
code
buffer number
Page
number
Checksum
2 bytes
4bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
2 bytes
0xEF01
xxxx
01H
06H
07H
BufferID
PageID
sum
Note: BufferID of CharBuffer1 and CharBuffer2 are 1h and 2h respectively. Other values (except 1h, 2h)
would be processed as CharBuffer2.
Acknowledge package format:
Header
Module address
Package identifier
Package length
Confirmation code
Checksum
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
0xEF01
xxxx
07H
03H
XxH
sum
Note: Confirmation code=00H: load success;
Confirmation code=01H: error when receiving package;
Confirmation code=0cH: error when reading template from library or the readout template is invalid;
Confirmation code=0BH: addressing PageID is beyond the finger library;