UART Fingerprint Sensor (C)
V1.0
7
/
18
ACK_FULL
ACK_USER_OCCUPIED
ACK_FINGER_OCCUPIED
ACK_TIMEOUT
Notes
:
User ID: 1~0xFFF;
User Permission: 1,2,3
,
(you can define the permission yourself)
b)
Second
Byte
1
2
3
4
5
6
7
8
CMD
0xF5
0x02
User ID
(High 8Bit )
User ID
(Low 8Bit )
Permission
(
1/2/3
)
0
CHK
0xF5
ACK
0xF5
0x02
0
0
ACK_SUCCESS
ACK_FAIL
ACK_TIMEOUT
0
CHK
0xF5
c)
third
Byte
1
2
3
4
5
6
7
8
CMD
0xF5
0x03
User ID
(High 8Bit )
User ID
(Low 8Bit )
Permission
(
1/2/3
)
0
CHK
0xF5
ACK
0xF5
0x03
0
0
ACK_SUCCESS
ACK_FAIL
ACK_TIMEOUT
0
CHK
0xF5
Notes
:
User ID and Permission in three commands.
6.
Add users and upload eigenvalues
(
CMD =8Byte/ACK > 8 Byte
)
T
his commands are similar to “5. add fingerprint”, you should add triple times as well.
a)
First
Same as the First of
”
5. add fingerprint
”
b)
Second
S
ame as the Second of ”
5. add fingerprint
”
c)
Third
CMD Format
:
Byte
1
2
3
4
5
6
7
8
CMD
0xF5
0x06
0
0
0
0
CHK
0xF5
ACK Format
:
1
)
Data head
:
Byte
1
2
3
4
5
6
7
8
ACK
0xF5
0x06
Hi(Len)
Low(Len)
ACK_SUCCESS
ACK_FAIL
ACK_TIMEOUT
0
CHK
0xF5
2
)
Data packet
:
Byte
1
2
3
4
5---Len+1
Len+2
Len+3
ACK
0xF5
0
0
0
Eigenvalues
CHK
0xF5