Miaxis Biometrics SM-621 User manual

MiaxisBiometricsCo.,Ltd.http://www.miaxis .com
SM-621 Fingerprint
Verification ModuleUser
Manual
V1.0)
Miaxis Biometrics Co., Ltd.
January24, 2007

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page2of36
Preface
ThankyouforpurchasingSM-621 FingerprintVerificationModule(hereinafterreferredto
asModule)developedbyMiaxisBiometricsCo., Ltd. (hereinafterreferredto asMiaxis).
ThisUser sManual,aimedatsoftwareand hardwareapplicationengineers,including
contentsofModulefunctions,hardwareand softwareinterfaces,etc.
Toensuresmoothapplication,usersareexpectedtoreadthismanualcarefully.Besides
havinganunderstandingoftechnicalconceptsand useinstructionsmentionedinthis
manual,readersoughttoreadcarefullychaptersrelatedtopindefinitions,timeand
sequencesaswell asnotes.
Pleasekeepthisusermanualforreference.
_______________________________________________________________________________
lMiaxishasalwaysputstrenuousproductimprovementastheguideline.Thus,this
manualissubjecttochangeswithoutnotices.Pleasevisitourwebsite(www.miaxis.com)
orcall usto obtainupdatedinformation.
lWearetryingourbesttoensureaccuracyofthismanual.However,foranyquestions
orerrorsyoumay encounter,pleasecontactMiaxisdirectlyorgo toourauthorized
distributionagents.Wewill begratefulto receiveany suggestionsfromyou.
lWithoutwrittenauthorizationfromMiaxis,anyactofcopyingoradaptationtothis
manualwill beregardedassevereviolationofMiaxis intellectualpropertyrights.
_______________________________________________________________________________
Miaxis,MiaxisLogoaswellasJusToucharetrademaeksofMiaxisBiometricsCo.,Ltd.All otherbrandsor
productsmaybetrademarks,servicemarksorregisteredmarksoftheirrespectiveowners.Allinformation
referredtointhismanualisownedbyMiaxisBiometricsCo., Ltd.Copyingisstrictlyforbiddenwithoutwritten
authorizationfromMiaxisBiometricsCo., Ltd.Allcopyrightsreserved.

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page3of36
TableofContent
ISystemDescription..................................................................................................5
1.1SystemFeature...........................................................................................................5
1.2Application.................................................................................................................6
1.3Related TermsRegardingFingerprintVerificationSystem......................................6
II Specification&Interface......................................................................................7
2.1TechnicalParameter..................................................................................................7
2.2SensorDimension.......................................................................................................7
2.3ExternalInterface......................................................................................................8
III CommunicationProtocol.....................................................................................9
3.1ProtocolPacketType&Format................................................................................9
3.2Code&Decode.........................................................................................................10
3.2.1Coding Rules...................................................................................................................10
3.2.2DecodingRules................................................................................................................10
3.2.3Coding Examples.............................................................................................................11
3.3Command ControlFlowchart..................................................................................11
3.3.1TemplateEnrollment........................................................................................................11
3.3.2UploadTemplate..............................................................................................................12
3.3.3FingerprintVerification....................................................................................................13
IVModuleCommand..............................................................................................14
4.1Command Set...........................................................................................................14
4.2ConfirmCodeDefinition.........................................................................................15
4.3Command inDetail..................................................................................................16
4.3.1DetectFinger...................................................................................................................16
4.3.2.EnrollImage...................................................................................................................17
4.3.3GenerateMinutiae............................................................................................................18
4.3.4MoveMinutiaeFiles........................................................................................................19
4.3.5AccurateVerificationof TwoFingerprintMinutiae...........................................................19
4.3.6SearchFingerprint............................................................................................................20
4.3.7MergeMinutiae GenerateTemplate)...........................................................................21
4.3.8StoreTemplate.................................................................................................................21
4.3.9ReadTemplate.................................................................................................................22
4.3.10 UploadMinutiaeorTemplate.........................................................................................23
4.3.11DownloadMinutiaeorTemplate.....................................................................................24
4.3.12.UploadImage...............................................................................................................24
4.3.13 DownloadImage............................................................................................................25
4.3.14 DeleteaTemplate...........................................................................................................26

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page4of36
4.3.15 EmptyFingerprintDatabase...........................................................................................26
4.3.16 ReadSystemParameterList...........................................................................................27
4.3.17 Set SecurityLevel..........................................................................................................28
4.3.18 Set Password..................................................................................................................29
4.3.19 VerifyPassword.............................................................................................................29
4.3.20 SystemReset.................................................................................................................30
4.3.21 LightFlashIndication....................................................................................................31
4.3.22 WriteNotepad................................................................................................................32
4.3.23 ReadNotepad................................................................................................................33
4.3.24 LevelSearchFingerprintDatabase.................................................................................33
4.3.25 CheckFingerprintDatabase...........................................................................................34
Attachment
MethodstoLowerFRR.................................................................36

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page5of36
ISystemDescription
1.1System Feature
SM-621 backlightfingerprintverificationmoduleisthelatestproductintroducedbyMiaxis
BiometricsCo., Ltd.in2007.
SM-621 moduleseriesadoptopticfingerprintsensor,whichconsistsofhigh-performanceDSP
processorandchipssuchasFlash,etc.SM-621 isabletoconductfingerprintimageprocessing,
templategeneration,templatematching,fingerprintsearching,templatestorage,etc.Compared
withsimilarproductsfromothersuppliers, SM-621 proudlyboastsoffollowingfeatures:
nProprietary IntellectualProperty
Opticfingerprintenrollmentdevice,SM-621 hardwareaswell asfingerprintalgorithm
areall developedbyMiaxis.
nWideApplicationRangeofFingerprints
Self-adaptiveparameteradjustmentmechanismisusedinthecourseoffingerprint
enrollment.Thisensuresgoodimagequalityforevendryorwetfingers,thusit hasa
widerapplicationrange.
nLowPrice
Thecostofmoduleisgreatlyreducedbyusing self-developedopticfingerprint
enrollmentdevice.
nExcellentAlgorithm
SM-621 algorithmisspeciallywrittenaccordingtoopticimagingtheory.Thealgorithm
isgoodforde-shapedorlow-qualityfingersduetoitsexcellentcorrectionand tolerance
features.
nEasy to UseandExpand
Itisnotnecessaryforusertohaveprofessionalknowledgeinthefieldoffingerprint
verification.Usercandeveloppowerfulfingerprintverificationapplicationsystems
withthecommandsetprovidedbySM-621.
nLowPowerConsumption
Sleep/awakecontrolinterface makesSM-621 suitableforoccasionsthatrequirelow
powerconsumption.
nDifferentSecurity Levels

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page6of36
Usercansetdifferentsecuritylevelaccordingtodifferentapplicationenvironment.
1.2Application
SM-621 canbewidelyusedonall loworhighlevelfingerprintverificationsystems, suchas
nOrdinarysafetycabinet, doorlock;
nComplicatedaccess controlsystem;
nFingerprintICcardIdentificationTerminal;
nFingerprintidentificationandverificationsystemassociatedwithPC.
Developercandevelopvariousfingerprintverificationapplicationsystemsbasedonthe
technicaldatastatedinthismanual.(MiaxisalsoprovidesSDK basedonbothPCand
MCU51 tofacilitateusersforsecondarydevelopment.PleasecontactMiaxisforfurther
detail)
1.3RelatedTermsRegardingFingerprintVerification
System
lFingerprintMinutiae:
Minutiaeextractedbyfingerprintalgorithm,whichrepresentsall informationrelated
tofingerprint.Operationssuchasfingerprintstorage,verification,searching,ect.are
all realizedthroughfingerprintminutiae.
l1:1Verification:
Toverifytwofingerprintminutiaeand sendbackresults:verifiedorunverified.
l1:NSearching:
Findoutthefingerprintminutiaethatmatcheswiththedesignatedfingerprint
minutiae, andsendbackresults:matchingminutiaefoundornotfound.Intheformer
case, theIDoftherightfingerprintminutiaewill alsobesentback.

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page7of36
II Specification&Interface
2.1TechnicalParameter
No. Item Parameter TestCondition
1 SystemPowerSupply
3.6V-7V
2 WorkingCurrent<100mA
3 PeakCurrent <120mA 5V
4 FingerprintImage
EnrollmentTime
<250ms 5V
5 1:1VerificationTime <600ms Minutiaeextraction+
FingerprintVerification
6 1:240 searchingTime
<2s
7 FingerprintStorage
Capacity*
240/752/1776
8 FAR <0. 001 %
9 FRR <1.5 %
10 ExternalInterface UART**
11 ModuleDimension 56.0×38.5×8.5mm
12 SensorDimension 31×21×4.5mm
13 FingerprintTemplate
Size
256 bytes
*TemplateStorageCapacityisclassifiedasthree levels:240, 752 &1776.
**Baudrate57600bps
2.2Sensor Dimension

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page8of36
availablefingerprintimageenrollmentarea.
()” istheapproxdata
2.3ExternalInterface
Theexternalisa6-pinsinglerowsocket, structuredasperbelow:
Definitionforeachpinisasfollows:
PINNAME
DEFINITION TYPE
Function
1 VIN Powersupply P DC:3.6V-7V
2 TD DataTransmission O OCoutput;HOSTshall beconnectedto
pull-upimpedance
3 RD DataReceive I TTLLevel(3.3Vor5V)
4 NC Undefined -- --
5
EN ABLEControl I Wheninsuspenseorpull-up impedance,
Moduleworksnormally.Whenconnectingto
Ground,innerpowersupplyiscutoffand
Moduledoesnotwork.
6 GND PowerSupply&
Ground
P Powersupply&Ground
1······

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page9of36
Note:TDconneNote:TDtoHOSTRXD;RDconnectstoHOSTTXD
Note:1 pinwith CN1 sign
III CommunicationProtocol
3.1Protocol Packet Type&Format
HOSTsendscommandstorealizevariousmodulefunctions.Modulecommunicationswith
HOST,suchasreceiving&sendingcommand/data/structure,arecompletedintheformof
protocolpacket.Regarding thecontentofthepackets,protocolpacketisclassifiedintothe
following3 types:
CommandPacket
1 byte 4 bytes 2 bytes 1 byte 2 bytes
Packet
Flag01
Equipmen
tAddress
Code
Packet
Length Command Parameter
1
Parameter
2
Parameter
n
Check
Sum

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page10of36
DataPacket
1 byte4 bytes 2 bytes 128 bytes 2 bytes
Packet
Flag02
Equipment
Address Code
Packet
Length
Data Check
Sum
Note:Inmostcases, asingledata packetnotto betransmitted;usually itisa batchdata
(consisting ofmultipledata packets)transmissionprocess.
End Packet
1 byte4 bytes 2 bytes Nbytes 2 bytes
Packet
Flag08
Equipment
Address Code
Packet
Length
Data Check
Sum
Note:EndPacketisaspecialdatapacket.Itisthelastofthemultipledatapacketstobe
transmittedinthebatchdata transmission.
3.2Code&Decode
All packetsmustbecodedbeforetransmission.Thecorresponding recipientwill obtainthe
protocolpacketwithaccurateinformationonlyafterdecoding.
3.2.1CodingRules
1. Datapacketuses0xC0 asstartand end character.
2. If thereis0xC0 inthepacket, thenreplace it with0xDBand0xDC.
3. If thereis0xDB, add 0xDD afterit.
4. Datapacketcannotenterexecutionflowchartindependently.ItmustfollowCommand
PacketorResponsePacket.PacketLengthisthebytesofpacketcontent(Command,
ParameterorData).
3.2.2DecodingRules
1. The0xC0 characterreceivedbytherecipientisregardedasPhaseBordermark.
2. If 0xDBisreceivedwith0xDCfollowing, thenreplace itwith0xC0.
3. If 0xDBisreceivedwithn0xDD, thendeleteone0xDD.

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page11of36
4. CheckSumisthesumofall bytesfromPacketFlagtoCheckSum(beforeencoding).
Disregardthosevaluesthatexceed2 bytes.
3.2.3CodingExamples
●Encodefingerdetection commandpacket
1 byte 4 bytes 2 bytes 1 byte 2 bytes
Packet
Flag
Module
Address
Packet
Length
Command
Code
CheckSum
Phase
Border
Mark
01H 00Hx 4 00H01H 01H 00H03H
Phase
Border
Mark
C0H 01H 00Hx4 00H01H 01H 00H03H C0H
●Encodedatapacket
Packet
Flag
Equipment
Address
Packet
Length
N
Data(N) Check
Sum
1 byte 4 bytes 2 bytes Nbytes 2 bytes
Phase
Border
Mark
02H 00Hx 4 00H80H
C0H DBH 01H20H
Phase
Border
Mark
C0H 02H 00Hx 4 00H80H
DBHDCH DBH
DDH 01H20H C0H
3.3Command ControlFlowchart
HOSTorPCusescombinedinstructionstocontrolSM-621 moduletoperformvarioustasks.
Thissectionprovidessometaskinstructionflowchartforuser’sreference.
3.3.1TemplateEnrollment
Press fingertwice toenroll afingerprinttemplateandstoretoflashfingerprintdatabase.

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page12of36
Send Command:
CmdDetectFinger
Start
Finger On?
Send Command:
CmdGetImage
End
Send Command: Buffer A
CmdGenTemplet
Y
Merge OK?
Success
Indication
N
Send Command:
Indicate fingerprints
not matched
Y
Green light flashes once
Send Command:
CmdDetectFinger
Finger On?
Y
Send Command:
CmdGetImage
Send Command: Buffer B
CmdGenTemplet
Green light flashes Twice
Send Command:
CmdMergeTwoTemplet
Failure Indication
End
Send Command:
CmdStoreTemplet
Out
N N
3.3.2UploadTemplate
Readadesignatedtemplatefromfingerprintdatabaseand upload.

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page13of36
Start
Send Command: LoadTemplet
Parameter: PageID,
OutBuffer
Send Command: UpTemplet
Parameter:OutBuffer
Ready? Receivesubsequentdatapacket
Lastdata packet?
End
n
y
y
n
3.3.3Fingerprint Verification
Readthecurrentfingerprintonthesensorand searchinthefingerprintdatabaserangingfrom
10-100.
Start
Send Command:
DetectFinger
FingerOn?
Send Command:
GetImage
Send Command:
GenTemplet
SendCommand:Search
Parameter:
StartPage,PageNum
Return StartPage=10,
PageNum=90

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page14of36
IVModuleCommand
4.1Command Set
NO.
Command&Code Function
1 DetectFinger 01H Detectfingeronsensor
2 GetImage 02H Getimagefromsensor
3 GenTemplet 03H Generatefingerprintminutiaefromimages
4 MoveTemplet 20H Movecharacteristicfileamongthreebuffers
5 MatchTwoTemplet 04H Accurateverification forcharacteristicfilesin
CharBufferAandCharBufferB
6 Search 05H Searchpartoforthewholefingerprintdatabasebasedon
minutiaefilesinCharBufferAorCharBufferB
7 MergeTwoTemplet 06H MergethefilesinCharBufferAandCharBufferB,generate
templateinModelBuffer
8 StoreTemplet 07H StorefilesinModelBuffertoflashfingerprintdatabase
9 LoadTemplet 08H ReadatemplatetoModelBufferfromflashfingerprint
database
10 UpTemplet 09H UploadfilesincharacteristicbuffertoHOST
11 DownTemplet 0AH DownloadacharacteristicfilefromHOSTtocharacteristic
buffer
12 UpImage 0BH Uploadimages
13 DownImage 0CH Downloadimages
14 DeletOneTemplet 0DH Deleteacharacteristicfileinflashfingerprintdatabase
15 EraseAllTemplet 0EH Emptyflashfingerprintdatabase
16 ReadParTablel 0FH ReadParameterList
17 SetSecurLecel 12H Setsecurelevels
18 SetPwd 13H Sethandshakingpassword
19 VfyPwd 14H Verifyhandshaking password
20 Reset 15H Systemresetand gotoinitialstatuswhenpoweron
21 FlashLED 16H Lightflashindication
22 WriteNotepad 23H Writenotepad
23 ReadNotepad 24H Read notepad
24 LevelSearch 25H Conductlevelsearch
25 CheckTemplet 28H Searchfingerprintdatabase

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page15of36
4.2ConfirmCodeDefinition
No.
Confirm
Code
Definition
1 00h CommandexecutionfinishedorOK;
2 01h Packetreceiveerror;
3 02h Nofingeronsensor;
4 03h Fingerprintimageenrollmentfailure;
5 04h Fingertoodryorfingerprinttoolightand
minutiaefail tobegenerated;
6 05h Fingertoowetorfingerprintunclearand
minutiaefail tobegenerated;
7 06h Fingerprintingreatdisorderandminutiaefail to
begenerated;
8 07h Fingerprintimageisnormal,butminutiaeare
toofewtobegenerated;
9 15H ThereisnovalidoriginalimagefilesinBuffer
togeneratefingerprintimage;
10 08h Fingerprintsdonotmatch;
11 09h Nofingerprintfound;
12 0ah Minutiaemergefailure;
13 0bh Whenstoretemplatesintodatabase,address ID
numberisoutoffingerprintdatabaserange;
14 0ch Readtemplatesfromfingerprintdatabaseerror;
15 0dh Minutiaeuploadfailure;
16 0eh Modulefailstoreceivesubsequentdatapackets;
17 0fh Imageuploadfailure;
18 10h Templatedeletionfailure;

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page16of36
19 11h Emptyfingerprintdatabasefailure;
20 12h Fail tosleep;
21 13h IncorrectPassword;
22 14h Systemresetfailure;
23 15h Invalidfingerprintdatainthecurrentimage
buffer;
24 16h Onlineupgradefailure;
25 17h Thereisfingerprintremainingonsensoror
pressingfingeronsensorfortoolong;
26 18h OperateFLASHerror
27 19h Novalidtemplatesinthedesignatedposition
26 1ah—ffh Reserved。
4.3Command inDetail
4.3.1DetectFinger
lCommand:DetectFinger
lFunction:Detectfingersonsensor
lInputParameter:None
lReturnParameter:Confirmbit
lCommandCode:01H
lCommandPacketFormat:
1 byte 4 bytes 2 bytes 1 byte 2 bytes
Packet
Flag
Module
Address
Packet
Length
Command
Code
Check
Sum
01H 00Hx 4 0001H 01H 0003H
Note:ModuleAddress default value0
lResponsePacketFormat:

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page17of36
1 byte 4 bytes 2 bytes 1 byte 2 bytes
Packet
Flag
Resvd Packet
Length
Confirm
Code
CheckSum
07H 00Hx 4 0001H xxH sum
Note:ConfirmCode=00HFingerdetected;
ConfirmCode=01HPacketreceiveerror;
ConfirmCode=02HNofingerdetected;
SummeansCheckSum
4.3.2. EnrollImage
lCommand:GetImage
lFunction:EnrollimagefromsensorandstoretheimageintoImageBuffer.Return5
parametersincludingfingerprintvalidareapercentage, up/down/left&rightborder, etc.
lInputParameter:none
lReturnParameter:Confirmbit,validarea(percentage)andup/down/left/rightborder.
lCommandCode:02H
lCommandPacketFormat:
1 byte
4 bytes 2 bytes 1 byte 2 bytes
Packet
Flag
Module
Address
Packet
Length
Command
Code
CheckSum
01H 00Hx 4 0001H 02H 0004H
Note:ModuleAddress default valueis0
lResponsePacketFormat:
1 byte 4 bytes
2 bytes
1 byte 1byte 1byte 1
byte
1
byte
1
byte
2
bytes
Packet
Flag
Resvd Packet
Length
Confirm
Code
Area Up
Border
Down
Border
Left
Border
Right
Border
Check
Sum
07H 00Hx 4
06H xxH ValidArea
TB BB LB RB sum
Note:ConfirmCode=00HEnrollmentsuccessful;
ConfirmCode=01HReceivepacketerror;
ConfirmCode=03HEnrollmentfailure;
SummeansCheckSum

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page18of36
4.3.3GenerateMinutiae
lCommand:GenTemplet
lFunction:
GenerateminutiaeasdefinedinsystemConfigurationList. Fingerprintcharacteristicfile,
generatedfromimagesinImageBuffer, isstoredinCharBufferAorCharBufferB.
lInputParameter:BufferID(MinutiaebufferNo.)
lReturnParameter:Confirmcode
lCommandCode:03H
lCommandPacketFormat:
1 byte 4 bytes 2 bytes 1 byte 1 byte 2 bytes
Packet
Flag
Module
Address
Packet
Length
Command
Code
BufferID
Check
Sum
01H 00Hx 4 0002H 03H BufferID
sum
Note:ModuleAddress default valueis0. Aftertheinstructionisexecuted,the
imagebufferwill be covered.
lResponsePacketFormat:
1 byte 4 bytes 2 bytes 1 byte 2 bytes
Packet
Flag
Resvd Packet
Length
Confirm
Code
CheckSum
07H 00Hx 4 0001H xxH sum
Note:ConfirmCode=00HGenerateminutiaesuccessful;
ConfirmCode=01HPacketreceiveerror;
ConfirmCode=04HFail togenerateminutiaebecausefingeris
toodryorfingerprintimagetoolight
ConfirmCode=05HFail togenerateminutiaebecausefingeris
toowetorfingerprinttooambiguous;
ConfirmCode=06HFail togenerateminutiaebecause
fingerprintimageistoorandom;
ConfirmCode=07HFingerprintimagenormal, butminutiae
pointstoofewtogenerateminutiae;
ConfirmCode=15HFail togenerateminutiaebecausethere
isnovalidimagesinthebuffer.
SummeansCheckSum

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page19of36
4.3.4MoveMinutiaeFiles
lCommand:MoveTemplet
lFunction:Movecharacteristicfilefromonebuffertoanother
lInputParameter:SrcBufferID(sourcebufferID),DstBufferID(DestinationBufferID)
lOutputParameter:ConfirmBit
lCommandCode:20H
lCommandPacketFormat:
1 byte
4 bytes 2 bytes 1 byte 1 byte 1 byte 2 bytes
Packet
Flag
Module
Address
Packet
Length
Command
Code
BufferID BufferID Check
Sum
01H 00Hx 4 0003H 20H SrcBufferID
DstBufferID
sum
Note:ModuleAddress default valueis0;CharBufferA,CharBufferBand
ModelBuffercodesare1h, 2hand3hrespectively..
lResponsePacketFormat:
1 byte 4 bytes 2 bytes 1 byte 2 bytes
Packet
Flag
Resvd Packet
Length
Confirm
Code
CheckSum
07H 00Hx 4 0001H xxH sum
Note:ConfirmCode=00HMovesuccessful;
ConfirmCode=01HPacketreceiveerror;
SummeansCheckSum
4.3.5AccurateVerificationofTwoFingerprintMinutiae
lCommand:MatchTwoTemplet
lFunction:Accurateverification offilesfromCharBufferAand CharBufferB
lInputParameter:None
lReturnParameter:ConfirmBit
lCommandCode:04H
lCommandPacketFormat:
1 byte 4 bytes 2 bytes 1 byte 2 bytes
Packet
Flag
Module
Address
Packet
Length
Command
Code
Check
Sum
01H 00Hx 4 0001H 04H 0006H
Note:ModuleAddress defaultvalueis0

AllRightsReserved.MiaxisBiometricsCo.,Ltd
Page20of36
lResponsePacketFormat:
1 byte 4 bytes 2 bytes 1 byte 2 bytes 2 bytes
Packet
Flag
Resvd Packet
Length
Confirm
Code
Scores CheckSum
07H 00Hx 4 0001H XxH xxH sum
Note:ConfirmCode=00HFingerprintmatches;
ConfirmCode=01HPacketreceiveerror;
ConfirmCode=08HFingerprintdoesnotmatch;
SummeansCheckSum
4.3.6SearchFingerprint
lCommand:Search
lFunction:Searchthewholeorpartoffingerprintdatabasebasedonfilesfrom
CharBufferAorCharBufferB.If therightfingerprintisfound,returnpagenumberand
userinfo.
lInputParameter:BufferID,StartPage(startpage),PageNum PageNumber)
lReturnParameter:ConfirmBit,PageNumber(ofthematchedfingerprinttemplate)
and userinformation (32 bytes)
lCommandCode:05H
lCommandPacketFormat:
1 byte
4 bytes 2 bytes
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Packet
Flag
Module
Address
Packet
Length
Command
Code
Buffer
ID
Parameter
Parameter
Check
Sum
01H 00Hx 4 0006H
05H Buffer
ID
StartPage
PageNum
sum
Note:ModuleAddress default valueis0
Note:ModuleAddress default valueis0;CharBufferA,CharBufferBand
ModelBuffercodeare1h, 2hand3hrespectively.
lResponsePacketFormat:
1 byte
4 bytes 2 bytes 1 byte 2 bytes 32 bytes 2 bytes
Packet
Flag
Resvd Packet
Length
Confirm
Code
Page
Number
UserInfo
Check
Sum
07H 00Hx 4 0023H xxH PageID
UserInfo
sum
Note:ConfirmCode=00HFingerprintfound;
ConfirmCode=01HPacketreceiveerror;
Table of contents