- 8 -
www.hzgrow.com
IV Communication Protocol
The protocol defines the data exchanging format when R503 series communicates with upper
computer. The protocol and instruction sets apples for both UART communication mode.
Baud rate 57600, data bit 8, stop bit 1, parity bit none.
Data package format
When communicating, the transferring and receiving of command/data/result are all wrapped in
data package format. For multi-bytes, the high byte precedes the low byte (for example, a 2 bytes
00 06 indicates 0006, not 0600).
Data package format
Package content
(instruction/data/Parameter)
Definition of Data package
Fixed value of 0xEF01; High byte transferred first.
Default value is 0xFFFFFFFF, which can be modified by
command. High byte transferred first and at wrong adder value,
module will reject to transfer.
Data packet; Data packet shall not appear alone in
executing process, must follow command packet or
acknowledge packet.
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.
It can be commands, data, command’s parameters,
acknowledge result, etc. (fingerprint character value, template
are all deemed as data);
The arithmetic sum of package identifier, package length and
all package contents. Overflowing bits are omitted. high byte is
transferred first.