10/31/12
Google Translate
20/28
translate.google.com/translate?hl=en&sl=zh-‐‑CN&u=http://www.adafruit.com/datasheets/DY001fingerpr…
Page 23
Hangzhou refers Security Technology Co., Ltd.
22, a total of 28
Note: buffer CharBuffer1, CharBuffer2's BufferID is 0x01 and 0x02, respectively
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
Packet (follow-up package) format:
2 bytes
4 bytes
1 byte
2 bytes
N bytes
2 bytes
Baotou
Module address Packet identification
Packet length Package Contents
Checksum
0xef01
XXXX
0x02
N +2
Template data
Sum
The end of the package (no follow-up package) format:
2 bytes
4 bytes
1 byte
2 bytes
N bytes
2 bytes
Baotou
Module address Packet identification
Packet length Package Contents
Checksum
0xef01
XXXX
0x08
N +2
Template data
Sum
Note: 1, confirmation code = 0x00 can receive a follow-up packet;
Confirmation code = 0x01 received packets wrong;
The confirmation code = 0x0e said can not receive follow-up packet;
2, send the command packet, the module responds receive packets, or the end of the package.
3, the value of the package contents of bytes N is determined by the length of the packet content the factory package contents is set to 128 bytes in length.
command packet checksum (2 bytes) = packet identification (1 byte) + packet length (2 bytes) + script (1 byte) + buffer (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".
15) stored template Store
Function Description: will the specified characteristics the buffer (CharBuffer1 CharBuffer2) template data stored in
Flash fingerprint library specified location.
Input parameters: BufferID (buffer number) + PageID (fingerprint library position number two bytes, high byte first).
Return parameter: confirm the word
Instruction code: 0x06
The instruction packet format:
2 bytes
4 bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
2 bytes
Baotou
Module addressPacket identification
Packet lengthInstruction code
Buffer numberPosition number
Checksum
0xef01
XXXX
0x01
0x0006
0x06
BufferID
PageID
Sum
Note: buffer CharBuffer1, CharBuffer2's BufferID is 0x01 and 0x02, respectively
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: confirmation code = 0x00 saved successfully;
Confirmation code = 0x01 received packets wrong;
Confirmation code = 0x0b PageID beyond the scope of the fingerprint database;
Confirmation code = 0x18 write FLASH error;
command packet checksum (2 bytes) = packet marking (1 byte) + packet length (2 bytes) + script (1 byte) + buffer number (1 byte)
Page 24
Hangzhou refers Security Technology Co., Ltd.
+ Position number (2 bytes);
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".