10/31/12
Google Translate
15/28
translate.google.com/translate?hl=en&sl=zh-‐‑CN&u=http://www.adafruit.com/datasheets/DY001fingerpr…
16 of 28
System ID
Fixed values: 0x0000
1
1
Fingerprint database size
Fingerprint storage capacity
2
1
Security level Security level code (1, 2, 3, 4, 5)
3
1
Device address 32-bit device address
4
2
Packet size
Packet size code (0,1,2,3)
6
1
Baud Rate SettingN (corresponding to a baud rate of 9600 × N bps)
7
1
6) to read the fingerprint template index table ReadConList
Description: Read module fingerprint template index table, and each index table to read up to 256 fingerprint templates.
Input parameters: index page
Representative of the index page 0 read 0 to 255 fingerprint template index table
Index page represents read 256 to 511 fingerprint template index table
2 represents the index page reads 512 to 767 fingerprint template index table
3 representatives of the index page reads 768 to 1,024 fingerprint templates index table
Return parameters: Recognition word the + fingerprint template index table
Instruction code: 0x1f
The instruction packet format:
2 bytes
4 bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
Baotou
Chip address
Packet identification
Packet length Instruction codeIndex page
Checksum
0xef01
XXXX
0x01
0x0004
0x1f
0/1/2/3
Sum
Reply packet format:
2 bytes
4 bytes
1 byte
2 bytes
1 byte
32 bytes
2 bytes
Baotou
Chip address
Packet identification
Packet length Confirmation code
Index table
Checksum
0xef01
XXXX
0x07
0x0023
X
Structure of the table below
Sum
Note: 1, confirmation code = 0x00 means read the index table success;
Confirmation code = 0x01 received packets wrong;
2, each time to read up to 256 fingerprint template index data, data less than 256 complement of "0".
3, the data structure of the index table: each 8-bit as a group, and each starting from the high output. The table below:
Transmission order
Output, and each byte by high output by the low byte to high-byte order.
Template No.
7
6
5
4
3
2
1
0
Lowest
Significant byte The template index table data
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Template No.
15
14
13
12
11
10
9
8
Low two
Significant byte The template index table data
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
...
...
...
Template No.
255
254
253
252
251
250
249
248
Highest
Significant byte The template index table data
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Note: The index table data "0" represents the corresponding position without a valid template; corresponding to the position of "1" represents an effective template.
Page 18
Hangzhou refers Security Technology Co., Ltd.
command packet checksum (2 bytes) = packet identification (1 byte) + packet length (2 bytes) + script (1 byte) + (1 byte) index page;
response packet checksum (2 bytes) = packet marking (1 byte) + packet length (2 bytes) + confirmation code (1 byte) + index table (N bytes);
checksum bytes added to carry more than 2 bytes ignored, big endian transfer;
default module address "0xffffffff"; default password is "0x00000000".
7) to read the number of valid template TempleteNum
Function: number of fingerprint template stored in the read module.
Input parameters: none
Return parameters: Recognition word + template number N
Instruction code: 0x1d
The instruction packet format: