0% found this document useful (0 votes)
20 views4 pages

Fingerprint Command Reference Guide

The document outlines commands for starting fingerprint verification and enrollment processes, detailing the required formats and parameters. It specifies error handling for various states and the expected responses during operations. Additionally, it includes notes on the successful execution of commands and the capturing of fingerprint images.

Uploaded by

rrarcondo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views4 pages

Fingerprint Command Reference Guide

The document outlines commands for starting fingerprint verification and enrollment processes, detailing the required formats and parameters. It specifies error handling for various states and the expected responses during operations. Additionally, it includes notes on the successful execution of commands and the capturing of fingerprint images.

Uploaded by

rrarcondo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Command Set Reference  

======================
1Command: . Start v eri fy i ng fi ng erp ri nt
F ormat 1 CMCM: DD __ STST AA RTRT VV EE RIRI FF YY ([ 62 0] )
F ormat 2 CM: D _ ST A RTW iV thE RIouF tY [ p2 arameter ] + U s erIofD total
denotes ex ecu ti ng 1 : N i denti fi cati on.
[ 2 ] + 3F i bngy teserI D denotes [ 1 ] . to ex ecu te 1 : 1 v eri fi cati on. F i ng erI D = 0 x F F denotes
vexerii s fyt, i ngth enal lretuenrolrn lerror T h e p arameter
ed fi ngcodeerp riE RR_ntsN O ofT E N uROs erL L E sD p。 eci fi ed b y U s erI D . I f s p eci fi ed u s er or fi ng erp ri nt does not
N otes : 1 . I f i t i s not ST A _ V E RI F Y I N G or ST A _ I D L E s tatu s , th en retu rn error code E RR_ ST A T E .
ev- - -ery- - - -ti- 2-me.- - A-v fter eri- - - -fy- th-i -ngi- s- -ficommand
ng- - - -erp- - -ri- i-nt,s- - ex- -s ecu-y -s -temted- - - -w s-i u-l cces-l - -i -nis- fu-ti- l-atil- y- ,-v elthy ens endZ E M 1ev0 0ententernoti STceA _toV E RIh osF Yt.I N G s tatu s . A fter th at,
< = 2+ 0- - 2- 0- 3+ C- - 0- 0- 0+ 6- - 0- 0- 0+ 5- - 0- 0- 4+ 7- ; Start V eri fy i ng
|| || || |Seq N r= Ch0 x eck0 0 0 Su5 m: 0 x 4 7 = 0 x 3 C+ 0 x 0 0 + 0 x 0 6 + 0 x 0 0 + 0 x 0 5 + 0 x 0 0
|| |Command=L en=0 x 03 xC,0 0 0Start 6 , T h iv seridatafy i ngp ackfi agng eerpl engri ntth , w i th ou t H eader and Ch eck Su m ( 3 C 0 0 0 6 0 0 0 5 0 0 )
H eader= 0 x 2 0 2 0
= > 2+ 0- - 2- 0- D+ 0- - 0- 7- 0+ 8- - 0- 0- 0+ 5- - 0- 0- F+ 8- - A- E- 8+ A-
||| ||| ||| ||Seq N r= D|0 ata,x 0 0 0 A notCh. eckT h ui sSus edm:v al 0u xe3 Emu= 0s xtD 0eq+ 0u xal0 7 +th0 xe0 8corres +0x00+0x05+0x00+0xF8+0xAE
|| Res| p onsL e=en=CM0 Dx _0 A0 CK0 8 _ O K ( 0 x 0 7 D 0 / 2 0 0 0 ) . I t means th e command i s sp uondiccesngs fucommand data.
l , Z E M 1 0 0 i s b een w ai ti ng a
fi ngH eader= erp ri nt0 x 2detected.
020
= > 2+ 0- - 2- 0- F+ 4- - 0- 1- 0+ 8- - 0- 0- 0+ 0- - 0- 0- 0+ 2- - 0- 0- F+ F-
||| ||| ||| Seq|| N r, E| muv entTs t byChep e=eck0 xE 0FSu0_ 0Fm:0I N forG0 Ex R(F F a0= x0 ev0x 0F ent.04 2+ )0 ,x 0 i1 t+ 0 means x 0 8 + 0 x a0 0 fi+ 0 ngx 0 erp0 + 0 rix 0 nt0 + 0 detected.
x02+0x00
|H| eader=E| v0 entx 2 0 2 Res0L en=p ons0 x 0 e=0 0 CM8 D _ E V E N T ( 0 x 0 1 F 4 ) .
= > 2+ 0- - 2- 0- F+ 4- - 0- 1- 0+ D- - 0- 0- 0+ 0- - 0- 0- 8+ 0- - 0- 0- F+ F- - F- F- - F- F- - F- F- - 0+ 1- - 7+ F-
||| ||| ||| ||| ||| ||V eri fi cati onE| rrorCode Ch eck Su form: 0 faix 3 E l= 0 match xD0+0x07+0x08+0x00+0x05+0x00+0xF8+0xAE
|| || || Seq| N r, E muv entTs t by ep e=0 xE 0F 0_ 0V 0E RIforF Y res( a0 x evu0 l0 ent.t,8 0 ) -, 1 (i 0tx FmeansF F F F F FaF )fi means ng erp rifaintl v match eri fi .ed.
|H| eader=E| v0 entx 2 0 2 Res0L en=p ons0 x 0 e=0 0 CMD D _ E V E N T ( 0 x 0 1 F 4 ) .
-------------------------------------------------------
2 . Command:StartCM D enrol _ ST A RTl iE ngN RO fiL L ng( 6 erp1 ) ri nt
F ormat:T h CMe Dp _arameter ST A RT E N ROofL L [total2 ] + U s3 erIb y Dtes( 2 B )denotes + F i ng erIu s erD ( 1nuB )mb er and s eq u ence nu mb er of fi ng erp ri nt th at need to
enrol l . NI otef th 1e. s Ip fecii tfi ieds ifinngSTerpA _ IriD LntE sh tatuas b seen, thenrolen retul ed,rntherror en retucodern EE RR_RR_ STE N AROT EL .L E D .
enrol l N otei s 2 comp. A fterl ete,th evi s entcommand
ment of enrol i s lexment-ecu tedcomps lu etecces ws iful ll l by e, iZ niE M ti1 0 ati0 enter v el y s STentA _ E toN RO hL osL I t.N G s tatu s . A fter
-< -= - -2 -0 - -2 -0 - -3 -D - -0 -0 - -0 -9 - -0 -0 - -0 -A - -0 -0 - -0 -1 - -0 -0 - -0 -0 - -5 -1 - - - - - - - - - - -; -Start - - - - E nrol l i ng
||+ - - - - ||+ - - - - ||+ - - - - ||+ - - - - ||+ - - - - F|+ i- ngCh+ erI- eckD =Su0 xm:0 0 0 x 5 1 = 0 x 3 D + 0 x 0 0 + 0 x 0 9 + 0 x 0 0 + 0 x 0 A + 0 x 0 0 + 0 x 0 1 + 0 x 0 0 + 0 x 0 0
|| || || Seq| N r= 0U xs 0erI0 0 AD = 0 x 0 0 0 1 
|| |Command=L en=0 x 03 xD 0, 0 0StartE 9 , T h inrols datal a pfiackng agerperil engnt th w i th ou t H eader and Ch eck Su m
H eader= 0 x 2 0 2 0
= > +2 -0 - -2 -0 +D -0 - -0 -7 +0 -8 - -0 -0 +0 -A - -0 -0 +C8- - -8 -D +3 -E ; Start O K
||| ||| ||| Seq|| N r= 0D| xata=0 0 0 A0 .xCh8 TDeckhC8i sSu vm:al u0 ex 3 muE = s0 tx D eq0 + u0 alx 0 7 th+ 0 ex 0 corres 8 + 0 x 0 0 + 0 x 0 A + 0 x 0 0 + 0 x C8 + 0 x 8 D
|| Res| p onsL e=en=CM0 Dx _0 A0 CK0 8 _ O K ( 0 x 0 7 D 0 / 2 0 0 0 ) . I t means th e command i s sp uondiccesngs fucommand data.
l , Z E M 1 0 0 i s b een E nrol l i ng .
H eader= 0 x 2 0 2 0
= > +2 -0 - -2 -0 +F -4 - -0 -1 +0 -8 - -0 -0 +0 -0 - -0 -0 +0 -2 - -0 -0 +F -F ; F i rs t fi ng erp ri nt i mag e cap tu red
||| ||| ||| Seq|| N r, E| muv entTs t byChep e=eck0 xE 0FSu0_ 0Fm:0I N forG0 Ex R(F F a0= x0 ev0x 0F ent.04 2+ )0 ,x 0 i1 t+ 0 means x 0 8 + 0 x a0 0 fi+ 0 ngx 0 erp0 + 0 rix 0 nt0 + 0 detected.
x02+0x00
|H| eader=E| v0 entx 2 0 2 Res0L en=p ons0 x 0 e=0 0 CM8 D _ E V E N T ( 0 x 0 1 F 4 ) .
= > 2+ 0- - 2- 0- F+ 4- - 0- 1- 0+ 9- - 0- 0- 0+ 0- - 0- 0- 0+ 0- - 0- 1- 6+ 4- - 6+ 3- ; F i rs t fi ng erp ri nt featu res ex tracted
||| ||| ||| ||| E|| v entT yQ| pu e=alChEi Ftyeck_ F= P6SuF4 T,mR(a0 xnon-0 1 0 0z )ero, i tv almeansu e meansa fi ngi t'erps rig oodnt detected. fi ng erp ri nt
|| || |L en= 0 x Seq0 0 0 N8 r, mu s t b e 0 x 0 0 0 0 for a ev ent.
|H eader=E v0 entx 2 0 2 Res0 p ons e= CM D _ E V E N T ( 0 x 0 1 F 4 ) .
== >> 22 00 22 00 FF 44 00 11 00 89 00 00 00 00 00 00 00 20 00 01 F6 F4 6 3 ;; TT hh ee ss econd econd fifi ngng erperp riri ntnt ifeatumag eres
== >> 22 00 22 00 FF 44 00 11 00 89 00 00 00 00 00 00 00 20 00 01 F6 F4 6 3 ;; TT hh ee thth ii rdrd fifi ngng erperp riri ntnt ifeatumag eres
= > +2 -0 - -2 -0 +F -4 - -0 -1 +0 -F - -0 -0 +0 -0 - -0 -0 +0 -8 - -0 -0 +0 -0 - -0 -0 - +8 -3 - -0 -1 - +0 -1 - -0 -0 - +0 -0 - +9 -1 ; T h e fi nal res u l t of enrol l ment
0 x 3 ||E = 0 x D 0 ||+ 0 x 0 7 + ||0 x 0 8 + 0 ||x 0 0 + 0 x ||0 A + 0 x 0 ||0 + 0 x C8 ||+ 0 x 8 D || |F i ngCherIeckndexSu m:= 0 x 0 0
|| || || || || || |T emp l ateU s erIL engD = 0thx 0= 00 0x 10 1 8 3
||| ||| ||| ||Seq N r, E| vmuentTs t yEb pnrolee=0 Ex Fl0 _ment E0 0 N0 ROforLresL F IuaNl Gt,evE R(ent.E 0RR_x 0 0O 0K 8( )0 ,x 0 i0 t0 0 means
) meansa fis u ngcceserps ri. nt enrol l ment fi ni s h ed.
|H| eader=E| v0 entx 2 0 2 Res0L en=p ons0 x 0 e=0 0 CMF D _ E V E N T ( 0 x 0 1 F 4 ) .
-3 -. - - - - - - -Cancel - - - - - - -fi- -ng- -erp- - -ri- -nt- - -op- -erati- - - - -on- - - - - - - - - - - - - - - - - - - - -
Command:F ormat:CM D _ CACMN DCE_ CAL CAN CEP T LU CARE P( T6 U2 RE) [ 2 ]
-< -= - -2 -0 - -2 -0 - -3 -E - -0 -0 - -0 N-6 o- -0 p-0 arameter.
- -0 -1 - -0 -0 - -4 -5 - A- fter
- - - - - th- - i- s- - command
- - - - - - - - i- s- - ex- - ecu- ted s u cces s fu l l y , enter ST A _ I D L E s tatu s .
-= -> - -2 -0 - -2 -0 - -D -0 - -0 -7 - -0 -8 - -0 -0 - -0 -1 - -0 -0 - -F -8 - -A -E - -8 -6 - - - - - - - - - - - - - - - - - - - -
4 . Command:G etCMs tatuD _ ST sA T ofE _ RRQmach( 6 i4 ne)
F ormat:N o p arameter. CM D _ ST A T E T_ hRRQi s [ command2 ] retu rns cu rrent s tatu s of th e modu l e ( 2 b y tes ) .
-< -= - -2 -0 - -2 -0 - -4 -0 - -0 -0 - -0 -6 - -0 -0 - -0 -2 - -0 -0 - -4 -8 - - - - - - - - - - - - - - - - - - - - - - - - - -
-= -> - -2 -0 - -2 -0 - -D -0 - -0 -7 - -0 -8 - -0 -0 - -0 -2 - -0 -0 - -0 -0 - -0 -0 - -E -1 - - - - - - - - - - - - - - - - - - - -
5 . Command:SetCMu Dp _ COconnecti N N E CT ( 1 on0 0 0 )
F ormat: NCMoD p_ arameter.
CO N N E CT [ 2 ] T h i s command i ni ti al s s eq u ence nu mb er of connecti on.
-------------------------------------------------------
<= => 22 00 22 00 ED 80 00 37 00 68 00 00 00 00 00 00 FF 18 A E 8 5  
-------------------------------------------------------
6 . Command:Cl earCM D _alCLl E AdataR_ D A T A ( 1 4 )
F ormat: CM D _ CL NE oA R_p arameter. D A T A [ 2 ] Cl ear al l data i n th e s y s tem datab as e.
7 . Command:G etCMcapD _ aciG E T ty_ F REi nformati E _ SI Z E S on( 5 0 of) mach i ne
F ormat 1 : CM D _ WG hE enT _ F wREi thE _ ouSI tZ E pS[arameter, 2 ] th en retu rn al l cap aci ty i nformati on of F L A SH memory .
-= -> - -2 -0 - -2 -0 - -d0- - -0 -7 - -5 -8 - -0 -0 - -0 -5 - -0 -0 - -3 -4 - -8 -f- -0 -0 - -0 -0 - -1 -7 - -0 -0 - -1 -7 - -0 -0 - -0 -0 - -0 0 . . . . . .
| +| - - - - | +| - - - - | +| - - - - | +| - - - - | + - - - - - | + - - - I - N - T - [ - 0 - ] - - - | + - - - I - N - T - [ - 1 - ] - - - . . . . . . I . N . T . [ 1 9 ]
|| || |L en= 0 x Seq0 0 5 N8 r.= 8 8 .
|H eader=Res0 x p2 ons0 2 0 e= CM D _ A CK _ O K ( 0 x 0 7 D 0 / 2 0 0 0 ) . I t means th e command i s s u cces s fu l
II NN TT [[ 41 ]8 -] E- nrolRemail edni ngu s eru s ernu mbcaperaci ty
II NN TT [[ 61 ]7 -] E- nrolRemail edni ngfi ngfi erpng erpri ntri ntnu mbcaperaci ty
I I NN TT [[ 18 9] ]- -T Remai
rans i nicating ontransl og i catinu mb oner l og cap aci ty
-------------------------------------------------------
F ormat 2 : CM D _ DG enotes E T _ F RE E cap_ SI aciZ E S[ty2 ] i+ nformati
SI Z E _ I N on:D E X [ 1 ]
146 8-- -EE Remai nrol l niedngu s uers ernu capmb eraci ty
nrol l niedngfi fing ngerperpri rintntnu capmb eraci ty
18 7- -T Remairans i nicating ontransl og i catinu mb oner l og cap aci ty
1 9 - Remai
8 . Command:A p p endCM D _ uA sP er’P E N D s_ U fiSE ngRT erpE M P ri( 1 nt7 )
T empF ormat l ate] 1 : CM D _ AA pP pP endE N D _ aU SEu sRTer'E M sP [ fi2 ] ng+ erpU s erIri ntD [ 2 i] nto+ F si yngs temerI D datab [ 1 ] + N ame[ 8 ] + T emp l ateL eng th [ 2 ] + T emp [ L eng th of
as e.
9 . Command:SearchCM D _ FfreeRE E I DI _D RRQ ( 5 5 )
F ormat 1 : CM D W_ hF enRE E wI iD th_ RRQou t[ 2 p] arameter, th en retu rn to free ( not b een enrol l ed) U s erI D .
F ormat 2 D: enotes CM D _ F REu sE er’I D _ RRQs non-[ 2 ] + enrolU s erIl edD ( 2 fiB ) ng erp ri nt nu mb er.
1 0 . Command: Read u s er’CM Ds _ UfiSEngRTerpE M Pri_ RRQnt ( 9 )
Read F ormat:a s p eciCM D fi_ U edSE RTfiE ngM P erp_ RRQri[ nt2 ] + i nU s therIeD s[ y2 s] tem+ F datab i ng erIasD e.[ 1 ]
i tsRetuTl empengrn:lthateLi fw i thengl l ethb sep[ eci2retu] + fiT emprneded[ fiT empl ngi k erpleateLthrii ntengs format: i s not ex i s ts , no data retu rned. E l s e th e fi ng erp ri nt temp l ate and
th ]
1 1 . Command: D el ete u s CMerD _ D E L E T E _ U SE R( 1 8 )
D F elormat:ete a sCMp eciD _ D fiE L edE T E u_ sU erSE Ri n[ 2 th] + eU ss yerIs temD ( 2 datab B ) as e.
-< -= - -2 -0 - -2 -0 - -1 -2 - -0 -0 - -0 -8 - -0 -0 - -0 -5 - -0 -0 - -0 -5 - -0 -0 - -2 -4 - - - - -
+| - - - - +| - - - - +| - - - - +| - - - - +| - - - - +Ch- eck Su m
||| ||| L|| en= 0 x 0Seq| 0 0 8N ,r= T0U hxs i0erIs0 0 data 5D = 0 x 0 p0 ack0 5 ag e l eng th w i th ou t H eader and Ch eck Su m
H- - - -| -eader= Command=
0 x 2 0
-----------------------------------2 0 0x12

 
1 2 . Command: Cl ear tempCMoraryD _ T E M PdatabD B _ CLasE AeR( 4 8 )
FF ormatormat 12 W:: h enCMCMD wD_ i_T thTE EM ouMP PD tDB B_ p_CLarameter,
CLE EA AR[R[2 2] ]+ U s erI D [ 2 ] + T emp [ L eng th of T emp l ate]
fi ng erp ri nt temp l ates i n temp orary datab jasu se,t claddeara tempnew orary fi ng erpdatabri ntastempe. Wl iate.th format 2 , A fter cl ear
1 3 . Command: A dd fi ng erpCM Dri_ TntE M Pi DntoB _ A DtempD ( 4 9orary) datab as e
F ormat: I nCM thD _ eT E sM econd P D B _ A D pD arameter,
[ 2 ] + U s erI D "[ L2 eng] + thT empof[ TL empeng lthate"of iT sempactul ate]al . l eng th of fi ng erp ri nt temp l ate.
T h i s command w i l l add a fi ng erp ri nt temp l ate i nto temp orary datab as e i n s y s tem memory .
1 4 .Command:U p dateCM D _ REdataF RE SH D A T A ( 1 0 1 3 )
F ormat: CM D _ REN FoREp SHarameter. D A T A [ 2 ] T h i s command re- u p l oad fi ng erp ri nts i n s y s tem datab as e i nto memory cach e th at
i s u s ed for h i g h - s p eed v eri fi cati on.
1 5 .Command:D el eteCM D _ uD sE er’L E T E s_ U fiSE ngRT erpE M P ri( 1 nt9 )
F ormat:D el eteCM D _ aD E sL pE eciT E _ fiU SEedRT fiE M ngP [ erp2 ] + riU nts erIi nD ( th2 B e) s+ y sF temi ng erIdatabD ( 1 asB ) e.
1 6 .Command:G etCMfiD rmw_ G E areT _ V E vRSIersO iN on( 1 1 0 0 )
F ormat:W h en w CMi thD _ouG EtT _p Varameter, E RSI O N [ 2 ] th en retu rn fi rmw are v ers i on, w h i tch i s s tri ng format.
1 7 Command:
. SetCMmachD _ SEi Tne_ T ItiM Eme( 2 0 2 )
F ormat: CM D _ SESetT _ T MI achM E [ i2 ne'] + sE N RTCO CD E tiD _ me.T I M E T( h4 eB ) p arameter i s a i nteg er, w h i ch i s th e code of a data and ti me.
N ote: T i t=me( (encodi y ear- 2ng0 0 0and) * 1 2decodi * 3 1 + ( (ng monthal g ori- 1 )th* 3m(1 )C+ dayl ang- 1u )ag* (e)2 4: * 6 0 * 6 0 ) + ( h ou r* 6 0 + mi nu te) * 6 0 + s econd;
1 8 Command:
. G etCMmachD _ G Ei Tne_ T ItiM Eme( 2 0 1 )
F ormat: CM D _ G Read E T _ T I thM E e[ 2 mach] i ne' s RT C ti me, a i nteg er w i l l retu rn, w h i ch i s th e encoded data and ti me.
N ote: T i smeecond=decodit %ng 6 0al; g orit/ th= 6 m(0 ; C l ang u ag e) :
mih ounur=te=t t% %2 4 6; 0 ; t/ = 6 0 ; t/ = 2 4 ;
daymonth= t= %t 3% 1 +1 12 ;+ 1 ; t/ = 1 2 ; t/ = 3 1 ;
y ear= t+ 2 0 0 0 ;
1 9 Command:
. ReadCM Dl _asL AtSTtempT E M Pl _ateRRQ ( 6 5 )
F ormat: CM D _ L AReadST T E MthP _eRRQl as[ 2t] fi ng erp ri nt temp l ate w h i l e v eri fy i ng .
N=h ote:=i =g =h = =b I=y n=te= commu = = = = = ni= = cati= = = = on= = = p= rotocol
= = = = = = = ,= = mu= = l= ti= = -= b= y= te= = = data
= = = = = format
= = i s L i ttl e E ndi an, w h i ch means l ow b y te i n front and
to ch ang e atb y teb acks eq. u Wence.h en a h os t control l er w i th b i g end ( B i g - E ndi an) s u ch as 8 0 5 1 i s u s ed, p l eas e mak e s u re

You might also like