10/31/12
Google Translate
21/28
translate.google.com/translate?hl=en&sl=zh-‐‑CN&u=http://www.adafruit.com/datasheets/DY001fingerpr…
23 of 28
16) reads out the template LoadChar
Function Description: fingerprint template flash database specified ID number read into stencil buffer CharBuffer1 or the
CharBuffer2.
Input parameters: BufferID (buffer number) + PageID (fingerprint library template number two bytes, high byte first).
Return parameter: confirm the word
Instruction code: 0x07
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 number Page numberChecksum
0xef01
XXXX
0x01
0x0006
0x07
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 read out successfully;
Confirmation code = 0x01 received packets wrong;
Confirmation code = 0x0c read out wrong or template invalid;
Confirmation code = 0x0b PageID beyond the scope of the fingerprint database;
command packet checksum (2 bytes) = packet marking (1 byte) + packet length (2 bytes) + script (1 byte) + buffer number (2 bytes)
+ Page (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".
17) Delete the template DeletChar
Function: delete module fingerprint library for a specified period (N fingerprint template) specify the ID number starting template.
Input parameters: PageID the (fingerprint Library template number) + N delete template number.
Return parameter: confirm the word
Instruction code: 0x0c
The instruction packet format:
2 bytes
4 bytes
1 byte
2 bytes
1 byte
2 bytes
2 bytes
2 bytes
Baotou
Module addressPacket identification
Packet lengthInstruction code
Page number
Delete the number
Checksum
0xef01
XXXX
0x01
0x0007
0x0c
PageID
N
Sum
Reply packet format:
Page 25
Hangzhou refers Security Technology Co., Ltd.
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 Remove Templates success;
Confirmation code = 0x01 received packets wrong;
Confirmation code = 0x10 Remove Templates failed;
instruction packet checksum (2 bytes) = packet marking (1 byte) + packet length (2 bytes) + script (1 byte) + Page (2 bytes)
+ Delete 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".
18) Empty fingerprint database Empty