
- 22 -
www.hzgrow.com
To carry out precise matching of two finger templates
Match
Description: Compare the recently extracted character with the templates in the ModelBuffer,
providing matching results.
Input Parameter: none
Return Parameter: Confirmation code (1 byte)
,
matching score.
Instruction code: 03H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package length
Instruction code
Checksum
0xEF01
Xxxx
01H
03H
03H
07H
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
2 bytes
Header Module
address
Package
identifier
Package
length
Confirmation
code
Matching
score
Checksum
0xEF01 Xxxx
07H
05H
XxH
MatchScore
sum
Note 1: Confirmation code=00H: templates of the two buffers are matching!
Confirmation code=01H: error when receiving package;
Confirmation code=08H: templates of the two buffers aren’t matching;
2: The instruction doesn’t affect the contents of the buffers.
To search finger library
Search
Description: to search the whole finger library for the template that matches the one in CharBuffer1
or CharBuffer2. When found, PageID will be returned.
Input Parameter: CharBu S Num
Return Parameter: Confirmation code+ModelID(template MatchScore
Instruction code: 04H
Command (or instruction) package format:
2 bytes 4bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Header Module
address
Package
identifie
r
Package
length
Instructio
n code
buffer
number
Parameter
Parameter Checks
um
0xEF01 xxxx
01H
08H
04H
CharBuff
erID
StartID
Num
sum
Note: CharBufferID is filled with 0x01
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
2 bytes
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Page
Score
Checksum
0xEF01
xxxx
07H
7
xxH
Model
ID
MatchScore
sum
Note 1: Confirmation code=00H: found the matching finer;
Confirmation code=01H: error when receiving package;
Confirmation code=09H: No matching in the library (both the PageID and