
- 25 -
www.hzgrow.com
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Checksum
0xEF01
xxxx
0x07
0x0003
X
sum
Note 1: Confirmation code=0x00: the sensor is normal;
Confirmation code=0x29: the sensor is abnormal.
Get the algorithm library version
GetAlgVer (0x39)
Description: Get the algorithm library version
Input Parameter: none
Return Parameter: Confirmation code+AlgVer(algorithm library version string)
Instruction code: 0x39
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package length
Instruction code
Checksum
0xEF01
xxxx
0x01
0x0003
0x39
sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
32 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Random
number
Checksum
0xEF01
xxxx
0x07
0x0023
X
AlgVer
sum
Note 1: Confirmation code=0x00: success;
Confirmation code=0x01: error when receiving package;
Get the firmware version
GetFwVer (0x3A)
Description: Get the firmware version
Input Parameter: none
Return Parameter: Confirmation code+FwVer(Firmware version string)
Instruction code: 0x3A
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package length
Instruction code
Checksum
0xEF01
xxxx
0x01
0x0003
0x3A
sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
32 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Random
number
Checksum
0xEF01
xxxx
0x07
0x0023
X
FwVer
sum
Note 1: Confirmation code=0x00: success;
Confirmation code=0x01: error when receiving package;