10/31/12
Google Translate
14/28
translate.google.com/translate?hl=en&sl=zh-‐‑CN&u=http://www.adafruit.com/datasheets/DY001fingerpr…
Page 16
Hangzhou refers Security Technology Co., Ltd.
15 of 28
Reply packet format:
2 bytes
4 bytes
1 byte
2 bytes
1 byte
2 bytes
Baotou
Module address Packet identification
Packet length Confirmation code
Checksum
0xef01
XXXX
0x07
0x0003
X
Sum
Note: The confirmation code = 0x00 means OK;
Confirmation code = 0x01 received packets wrong;
The confirmation code = 0x1a said register number;
command packet checksum (2 bytes) = packet marking (1 byte) + packet length (2 bytes) + script (1 byte) + parameter serial number (1 byte)
+ Content (1 byte);
response packet checksum (2 bytes) = packet identification (1 byte) + packet length (2 bytes) + confirmation code (1 byte);
checksum bytes added to carry more than 2 bytes ignored, big endian transfer;
default module address "0xffffffff"; default password is "0x00000000".
Name
Parameters No.
Content
Baud Rate
4
9600 × N bps (N range: 1 to 12)
Security level
5
Divided into five ranges: 1, 2, 3, 4, 5
The length of the packet content
6
Range: 0, 1, 2, 3, corresponding to the length (number of bytes) were: 32, 64, 128, 256
5) read system parameters ReadSysPara
Function: read module status register and the basic system configuration parameters (see 4.4 system configuration parameters and 4.5
System status register).
Input parameters: none
Return parameters: Recognition word + basic parameters
Instruction code: 0x0f
The instruction packet format:
2 bytes
4 bytes
1 byte
2 bytes
1 byte
2 bytes
Baotou
Module address Packet identification
Packet length Instruction codeChecksum
0xef01
XXXX
0x01
0x0003
0x0f
Sum
Reply packet format:
2 bytes
4 bytes
1 byte
2 bytes
1 byte
16 bytes
2 bytes
Baotou
Module address Packet identification
Packet length Confirmation code
Basic parametersChecksum
0xef01
XXXX
0x07
0x0013
X
Structure of the table below
Sum
Note: The confirmation code = 0x00 means OK;
Confirmation code = 0x01 received packets wrong;
command packet checksum (2 bytes) = packet identification (1 byte) + packet length (2 bytes) + script (1 byte);
response packet checksum (2 bytes) = packet identification (1 byte) + packet length (2 bytes) + confirmation code (1 byte) + basic parameters (16 bytes);
checksum bytes added to carry more than 2 bytes ignored, big endian transfer;
default module address "0xffffffff"; default password is "0x00000000".
Page 17
Hangzhou refers Security Technology Co., Ltd.
Name
Content description
Offset
(Word)
Size (word)
Status Register System status register contents
0
1