ZFM-70 SeriesFingerprint Identification Module
User Manual
www.zhiantec.com
Hangzhou Zhian Technologies Co.,Ltd
36
3: The instruction doesn’t affect buffer contents.
6.3.14
To download character file or template
Description: to download character file or template from upper computer to the specified buffer of Module;
Input Parameter: BufferID (buffer number)
Return Parameter: Confirmation code (1 byte)
Instruction code: 09H
Command (or instruction) package format:
Header
Module
address
Package
identifier
Package
length
Instruction
code
buffer
number
Checksum
2 bytes
4bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
0xEF01
xxxx
01H
04H
09H
BufferID
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
Data Package format(data package stills will be transferred later):
Header
Module address
Package identifier
Package length
Package content
Checksum
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
0xEF01
Xxxx
02H
N+2
N
sum
End package format:
Header
Module address
Package identifier
Package length
Package content
Checksum
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
0xEF01
Xxxx
08H
N + 2
N
sum
Note 1: Confirmation code=00H: ready to transfer the following data packet;
Confirmation code=01H: error when receiving package;
Confirmation code=0eH: fail to receive the following data packages.
2: Module shall transfer the following data packet after responding to the upper computer.
6.3.15
To store template
Description: to store the template of specified buffer (Buffer1/Buffer2) at the designated location of Flash
library.
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: 06H