ZFM-70 SeriesFingerprint Identification Module
User Manual
www.zhiantec.com
Hangzhou Zhian Technologies Co.,Ltd
18
V Communication Protocol
The protocol defines the data exchanging format when ZFM-70 series communicates with upper computer.
The protocol and instruction sets apples for both UART and USB communication mode. For PC, USB interface is
strongly recommended to improve the exchanging speed, especially in fingerprint scanning device.
5.1
Data package format
When communicating, the transferring and receiving of command/data/result are all wrapped in data package
format. for multi byte , High byte in the former low byte after. For example, 00 06 is means 0006.
Data package format
Header
Adder
Package
identifier
Package
length
Package content
(18nstruction/data/Paramet
er)
Checksum
Definition of Data package
Name
Symbol
Length
Description
Header
Start
2 bytes
Fixed value of 0xEF01; High byte transferred
first.
Adder
ADDER
4 bytes
Default value is 0xFFFFFFFF, which can be
modified by command. High byte transferred first and
at wrong adder value, module will reject to transfer.
Package
identifier
PID
1 byte
01H
Command packet;
02H
Data packet; Data packet shall not
appear alone in executing processs, must
follow command packet or acknowledge
packet.
07H
Acknowledge packet;
08H
End of Data packet.
Package
length
LENGT
H
2 bytes
Refers to the length of package content
(command packets and data packets) plus the length
of Checksum( 2 bytes). Unit is byte. Max length is
256 bytes. And high byte is transferred first.
Package
contents
DATA
-
It can be commands, data, command
’
s
parameters, acknowledge result, etc. (fingerprint
character value, template are all deemed as data);