ID TECH IDCA66-0908 Card Reader User Manual Manual

ID TECH Card Reader Manual

Manual

IDTECHXpressReaderUserManual
1
USERMANUAL
XpressReader
VersionV1.00
IDTECHXpressReaderUserManual
2
Warning
Caution:Theuseriscautionedthatchangesandmodificationsmadetotheequipmentwithoutthe
Approvalofmanufacturercouldvoidtheuser’sauthoritytooperatethisequipment.
Notes:ThisequipmenthasbeentestedandfoundtocomplywiththelimitsforaClassBdigitaldevice,
pursuantto part15 of the FCC Rules. These limitsare designedto provide reasonableprotection
against harmful interference in a residential installation. This equipment generates, uses and can
radiateradiofrequencyenergyand,ifnotinstalledandusedinaccordancewiththeinstructions,may
cause harmful interference to radio communications. However, there is no guarantee that
interference will not occur in a particular installation. If this equipment does cause harmful
interferencetoradioortelevisionreception,whichcanbedeterminedbyturningtheequipmentoff
and on. the user is encouraged to trytocorrect the interference by one or more of the following
measures:
—Reorientorrelocatethereceivingantenna.
—Increasetheseparationbetweentheequipmentandreceiver.
—Connect the equipment into an outlet on a circuit different from that to which the receiver is
connected.
—Consultthedealeroranexperiencedradio/TVtechnicianforhelp.
FCCWarning:
Thisdevicecomplieswithpart15oftheFCCRules.Operationissubjecttothefollowing
twoconditions:(1)Thisdevicemaynotcauseharmfulinterference,and(2)thisdevice
mustacceptanyinterferencereceived,includinginterferencethatmaycauseundesired
operation.
LimitedWarranty
IDTECH warrantsthisproducttobeingoodworkingorderforaperiodofoneyearfromthedateof
purchase.Ifthisproductisnotingoodworkingorderaswarrantedabove,orshouldthisproductfail to
beingoodworkingorderatanytimeduringthewarrantyperiod,repairorreplacementshallbe
providedby IDTECH.
Thiswarrantydoesnotcoverincidentalorconsequentialdamagesincurredbyconsumermisuse,or
modificationofsaidproduct.Forlimitedwarrantyserviceduringthewarrantyperiod,pleasecontact
IDTECH toobtainanRMAnumberandinstructionsforreturningtheproduct.
©2008InternationalTechnologies&SystemsCorporation.Theinformationcontainedhereinis
providedtotheuserasaconvenience.Whileeveryefforthasbeenmadetoensureaccuracy,ID
TECHisnotresponsiblefor damagesthatmightoccurbecauseoferrorsoromissions,includingany
lossofprofitorothercommercialdamage.Thespecificationsdescribedhereinwerecurrentatthe
timeofpublication,butaresubjecttochangeatanytimewithoutpriornotice.
IDTECH isaregisteredtrademarkofInternationalTechnologies&SystemsCorporation.Spectrum
and ValuethroughInnovationaretrademarksofInternationalTechnologies&SystemsCorporation.
IDTECH
10721WalkerStreet
Cypress,CA906304720
IDTECHXpressReaderUserManual
3
(714)7616368
www.idtechproducts.com
IDTECHXpressReaderUserManual
4
TableofContents
Section1.Introduction
Description
Section2.Installation
RS232interface
Section3.Definitions
CommonTermsandAbbreviations
RelatedDocuments
RelatedLinks
Section4.ConfigurationParameters
Commandprotocol
Command Set
IDTECHXpressReaderUserManual
5
Section1
INTRODUCTION
Description
Xpressreaderhasachoiceofcommunicationinterfacestoahost.Communicationsarethrough
aninterfacecable.Thecablecanexitfromtheendorfromthebottomofthebase.Aslotor
channelinthebaseprovidesforinfieldorientationofthecableexitdirectionandprovidesastrain
relieffunction.Compatibility:ThereaderoperateswithmajorPOSandECRterminalsoldornew,
providingtheterminalshaveacompatibleinterfacewiththereaderandathirdpartyprovidesa
softwareapplicationandcommunicationprotocollayertoaccomplishtherequiredoperations.
XpressreaderaddressesseveralretailapplicationsforISO14443compliantidentification
technology.Thereadersupportsmajorfinancialcontactlessprograms,suchasPaypass
Magstripe,VisaMSD.Thereaderreadsdatafromavarietyofcontactlesssources,including
creditcards,keyfobs,andmustsupporttheRFrequirementsforISO/IEC14443A,ISO/IEC
14443Basoutlined.Inparticular,thereadershallmeettheMasterCard,PayPassISO/IEC
14443ImplementationSpecification.Inaddition,thereadershallbecompatiblewithPOS
applications.Thereaderhastheoperability&functionalitydefinedinthePayPassImplementation
Specification.ThereadershallbecertifiedbyaPayPassqualifiedtestlab;thereadermustmeet
thecriteriato"FunctionProperly"andpassthetestprocess.
Inaddition,thereadersupportsreadingandwritingtoMifarecards.Mifarecardssupportedare
Standard,Classic,&UltraLite.Thissupportisintendedforaccesscontrolapplications,including
transportation.
Environmentally,thereaderisdesignedtofunctionattemperaturesrangingfrom0ºto50ºCin
humidityupto95%noncondensing.Itcanbestoredorshippedatmoreextremetemperatures
rangingfrom40ºto70ºC.
IDTECHXpressReaderUserManual
6
Section2
INSTALLATION
Thecoilhas4circlepowercablethecoilpartnumber: HFB160093300
IDTECHXpressReaderUserManual
7
TheRs232coilhasonecircleofRs232cable,thecoilpartnumber:
HFB160093300
RS232Interface
Aswithastandardserialinterface,thehostmustbeconfiguredtoacceptthe
dataandperformtheappropriateprocessing.FortheRS232interfacedevice,
theenduserneedscarethatthehostapplication'sRS232parameters(baud
rate,databits,Start/Stopcharacters,parity,)matchthoseexpectedbythe
reader.
DefaultRS232parametersare“38400,8,1,None”.Togetmoreinformation,
pleaseseeRS232configurecommandpart.
Section3
DEFINITIONS
Thefollowingaredefinitionsofcommontermsandabbreviationsused
throughoutthismanual.
CFT ConsumerfacingTerminal
ISO InternationalOrganizationforStandardization
PCD PayPassCouplingDevice
PICC PayPassIntegratedCircuitCard
USB UniversalSerialBus
HOST APersonalComputerorSimilarComputingDevice
IDTECHXpressReaderUserManual
8
PayPassTerminalQualityManagement–Process[PPA/GEN/T01].
PayPassTerminalQualityManagement–Requirements[PPA/GEN/T02]
ISO/IEC14443Identificationcards,PhysicalCharacteristic
ISO/IEC14443–Identificationcards,Contactlessintegratedcircuit(s)
cards/Proximitycards
PayPass–ISO/IEC14443ImplementationSpecification
Mifare–Philips’ContactlessMifare®SmartCardICs&operations
Section4
CONFIGURATIONPARAMETERS
I.Commandprotocol
Hosttodevice:STXLenLLenHCommandDataLrc1Lrc2ETX
STX:0x02.1byte.
LenL+LenH:sizeof(CommandData).2bytes.
CommandData:maincommandstring.Severalbytesneeded.
Lrc1:ExclusiveorofCommandData.1byte.
Lrc2:SumofCommandData.1byte.
ETX:  0x03.  1byte.
E.g.Turnapplicationoffcommandis:0x020x020x000x780x160x000x6E
0x8E0x03.
Devicetohost:STXLenLLenHResponseDataLrc1Lrc2ETX
STX:0x02.1byte.
LenL+LenH:sizeof(ResponseData).2bytes.
ResponseData:mainresponsestring.Severalbytesneeded.
Lrc1:ExclusiveorofResponseData.1byte.
Lrc2:SumofResponseData.1byte.
ETX:  0x03.  1byte.
II.Hosttodevicecommandset
1.Testusecommands.
IDTECHXpressReaderUserManual
9
Tousethesecommands,theapplicationmustbeoff(Usecommand
APPLICATION_CONTROLin35).
11. CARRIER
COMMAND: <0xFD><0x01><ON/OFF>.
Makethedevicetoemit.
PARAMETERS:
<0xFD><0x01>isthecommandhead.
<ON/OFF>ON(0x01)meansturnoncarrier,OFF(0x00)meansturnoff
carrier.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
12. POLLING
COMMAND:<0xFD><0x02><PollingCount>.
Makethedevicetopollforonecard.
PARAMETERS:
<0xFD><0x02>isthecommandhead.
<PollingCount>isthepollingtimes.1byte.0x00meansforever.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
13. RESET
COMMAND:<0xFD><0x03><0x00>
Makethedevicetoresetthecarrier.
PARAMETERS:
<0xFD><0x03><0x00>isthecommandhead.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
14. REQA
COMMAND:<0xFD><0x14><0x01>.
InformthedevicetosendcommandrequesttotypeAcard.
PARAMETERS:
<0xFD><0x14><0x01>isthecommandhead.
RETURN:
Success:<ACK><Allcommandsandtheirresponses>.
Fail:Thisoperationwillsucceedalways.
15. WUPA
COMMAND:<0xFD><0x14><0x00>.
InformthedevicetosendcommandwakeuptotypeAcard.
IDTECHXpressReaderUserManual
10
PARAMETERS:
<0xFD><0x14><0x00>isthecommandhead.
RETURN:
Success:<ACK><Allcommandsandtheirresponses>.
Fail:Thisoperationwillsucceedalways.
16. HALTA
COMMAND:<0xFD><0x16><0x00>.
InformthedevicetosendcommandhalttypeAcard.
PARAMETERS:
<0xFD><0x16><0x00>isthecommandhead.
RETURN:
Success:<ACK><Allcommandsandtheirresponses>.
Fail:Thisoperationwillsucceedalways.
17. ACTIVEA
COMMAND:<0xFD><0x18><0x00>.
InformthedevicetosendcommandsactivetypeAcard.
PARAMETERS:
<0xFD><0x18><0x00>isthecommandhead.3bytes.
RETURN:
Success:<ACK><Allcommandsandtheirresponses>.
Fail:Thisoperationwillsucceedalways.
18. REQB
COMMAND:<0xFD><0x25><0x01>.
InformthedevicetosendcommandrequesttotypeBcard.
PARAMETERS:
<0xFD><0x25><0x01>isthecommandhead.3bytes.
RETURN:
Success:<ACK><Allcommandsandtheirresponses>.
Fail:Thisoperationwillsucceedalways.
19. WUPB
COMMAND:<0xFD><0x25><0x00>
InformthedevicetosendcommandwakeuptotypeBcard.
PARAMETERS:
<0xFD><0x25><0x00>isthecommandhead.3bytes.
RETURN:
Success:<ACK><Allcommandsandtheirresponses>.
Fail:Thisoperationwillsucceedalways.
110. HALTB
COMMAND:<0xFD><0x27><0x00>
IDTECHXpressReaderUserManual
11
InformthedevicetosendcommandhalttypeBcard.
PARAMETERS:
<0xFD><0x27><0x00>isthecommandhead.3bytes.
RETURN:
Success:<ACK><Allcommandsandtheirresponses>.
Fail:Thisoperationwillsucceedalways..
111. ACTIVEB
COMMAND:<0xFD><0x29><0x00>
InformthedevicetosendcommandsactivetypeBcard.
PARAMETERS:
<0xFD><0x29><0x00>isthecommandhead.3bytes.
RETURN:
Success:<ACK><Allcommandsandtheirresponses>.
Fail:Thisoperationwillsucceedalways.
112. APPCOMMAND
COMMAND:<0xFD><0x32><CPDU>
Informthedevicetosendcommandstotheactivecard.
PARAMETERS:
<0xFD><0x32>isthecommandhead.2bytes.
<CPDU>isthecommandsendtothecard.
RETURN:
Success:<ACK><R_APDU>
Fail:Thisoperationwillsucceedalways.
113. APP_TEST_START
COMMAND:<0xFD><0x41>
Informthedevicetostartdigitaltest.
PARAMETERS:
<0xFD><0x41>isthecommandhead.2bytes.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
114. APP_TEST_STOP
COMMAND:<0xFD><0x42>
Informthedevicetostopdigitaltest.
PARAMETERS:
<0xFD><0x42>isthecommandhead.2bytes.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
IDTECHXpressReaderUserManual
12
Note:Commandsandtheirresponsesformat:ClencommandRlenresponse
ClencommandRlenResponse...
2.Serialportcontrolcommandset
Thedefaultparametersare:38400baudrate,8databits,1stopbit,no
parity,nohandshaking.
21.SET_BAUDRATE
COMMAND:<0x70><0x01><NewBaudrate>.
Setthedevice'sbaudrate.
PARAMETERS:
<0x70><0x01>isthecommandhead.2bytes.
<NewBaudrate>istherequiredserialportcommunicationbaudrate.1
byte:0x01for1200,0x02for2400,0x03for4800,0x04for9600,0x05for
14400,0x06for19200,0x07for38400,0x08for57600,0x09for115200.
RETURN:
Success:<ACK><OldBaudrate(1byte)>.
OldBaudrateistheoldbaudrate.
Fail:<NAK><Errorcode>.
22 SET_STOPBITS
COMMAND:<0x70><0x02><NewStopBits>.
Thiscommandisusedtosetthedevice'sstopbits.
Thetotallengthis3bytes
PARAMETERS:
<0x70><0x02>isthecommandhead.
<NewStopBits>istherequiredserialportcommunicationstopbits.1
byte:0x01for1stopbit,0x02for2stopbits,0x03for1.5stopbits.
RETURN:
Success:<ACK><OldStopBits(1byte)>.
OldStopBitsistheoldstopbits.
Fail:<NAK><Errorcode>.
23. SET_PARITY
COMMAND:<0x70><0x03><NewParity>.
Setthedevice'sparitystyle.
PARAMETERS:
<0x70><0x03>isthecommandhead.
<NewParity>istherequiredserialportcommunicationparity.1byte:
0x00fornoparity,0x01foroddparity,0x02forevenparity,0x03formark
parity,0x04forspaceparity.
RETURN:
Success:<ACK><OldParity.(1byte)>.
OldParityistheoldparity.
Fail:<NAK><Errorcode>.
IDTECHXpressReaderUserManual
13
3.Systemcommandset
31. GET_VERSION
COMMAND:<0x78><0x01>.
Getthesystem'sversion.
PARAMETERS:
<0x78><0x01>isthecommand.
RETURN:
Success:<ACK><versionstring(42bytes)>.
Fail:Thisoperationwillsucceedalways.
32. BEEP
COMMAND:<0x78><0x04><Duration>
Makethesystem'sbeepertobeepforadesignatedtime.
PARAMETERS:
<0x78><0x04>isthecommandheader.
<Duration>isthebeeper'sbeeplasttimein0.1second.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
33. LED_CONTROL
COMMAND:<0x78><0x05><LED><ON/OFF>.
Controlthesystem'sled.
PARAMETERS:
<0x78><0x05>isthecommandheader.
<LED>istheled'sid.0x000x07isacceptable.
<ON/OFF>:0x01(ON)meansletledtolightonand0x00(OFF)meanslet
ledtolightoff.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
34. APPLICATION_CONTROL
COMMAND:<0x78><0x16><APPON/OFF>.
ControltheAPPLICATION'sonoroff.
PARAMETERS:
<0x78><0x16>isthecommandheader.
<ON/OFF>:0x01(ON)meanslettheapplicationonand0x00(OFF)
meanslettheapplicationoff.
RETURN:
Success:<ACK>.
IDTECHXpressReaderUserManual
14
Fail:Thisoperationwillsucceedalways.
4.Applicationrelatedcommands
41. APP_FLUSH_DATA
COMMAND:<0x7E><0x01>.
Flushtheunreadreaddata.
PARAMETERS:
<0x7E><0x01>isthecommandheader.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
42. APP_GET_DATA
COMMAND:<0x7E><0x02><IsFlushData>
Gettheunreadreaddata.Thiscommandwillresetthereaderinto
bufferedmode.
PARAMETERS:
<0x7E><0x02>isthecommandheader.
<IsFlushData>:0x00isnot,othersyes.
RETURN:
Success:<ACK><data>.
Fail:<NAK><ERROR_NO_DATA_AVAILABLE>
43. APP_SET_AUTOSENDMODE
COMMAND:<0x7E><0x04><MODE>.
Setdatasendmode.
PARAMETERS:
<0x7E><0x04>isthecommandheader.
<MODE>:0x00meansbufferedmodeand0x01meansautosendmode.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
44. APP_SET_DATETIME
COMMAND:<0x7E><0x08><DATE(YYYYMMDDHHMMSS)>.
Setthedateandtimeinthesystem.
PARAMETERS:
<0x7E><0x08>isthecommandheader.
DATE(YYYYMMDDHHMMSS)isthedateandtime.Eg.0x320x300x30
0x360x300x310x300x320x310x360x330x300x320x35means
2006010216:30:25.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
IDTECHXpressReaderUserManual
15
45. APP_GET_TVR
COMMAND:<0x7E><0x20>.
Getthelastterminalverificationresult.
PARAMETERS:
<0x7E><0x20>.isthecommandheader.
RETURN:
Success:<ACK><TVR>
Fail:<NAK><ERROR_NO_DATA_AVAILABLE>
46. APP_GET_TSI
COMMAND:<0x7E><0x22>.
Getthelasttransactionstatusinformation.
PARAMETERS:
<0x7E><0x22>isthecommandhead.
RETURN:
Success:<ACK><TSL>
Fail: <NAK><ERROR_NO_DATA_AVAILABLE>
47. APP_GET_TVRTSI
COMMAND:<0x7E><0x24>.
Getthelastterminalverificationresultandtransactionstatusinformation.
PARAMETERS:
<0x7E><0x24>isthecommandhead.
RETURN:
Success:<ACK><TVR><TSL>
Fail: <NAK><ERROR_NO_DATA_AVAILABLE>
47. APP_GET_TRAN_RESULT
COMMAND:<0x7E><0x26>
Getthelasttransactionresultinformation.
PARAMETERS:
<0x7E><0x26>isthecommandhead.
RETURN:
Success:<ACK><Result>
<Result>is1byte,seebelowdefinition.
#TRANSACTION_TWOCARDS 0x7A
#TRANSACTION_TERMINATE       0x7E
#TRANSACTION_DECLINE 0x81
#TRANSACTION_ACCEPT_OFFLINE  0x82
#TRANSACTION_GO_ONLINE       0x84
#TRANSACTION_COMPLETE        0x80
Fail: <NAK><ERROR_NO_DATA_AVAILABLE>
IDTECHXpressReaderUserManual
16
48. APP_GET_CVMRESULT
COMMAND:<0x7E><0x28>.
GetthelastterminalverificationCVMresult.
PARAMETERS:
<0x7E><0x28>isthecommandhead.
RETURN:
Success:<ACK><CVMResult>
Fail: <NAK><ERROR_NO_DATA_AVAILABLE>
49. APP_GET_DATETIME
COMMAND:<0x7E><0x18>
Getdateandtime.
PARAMETERS:
<0x7E><0x18>isthecommandhead.
RETURN:
Success:<ACK><DATE(YYYYMMDDHHMMSS)>Eg.0x320x300x30
0x360x300x310x300x320x310x360x330x300x320x35means
2006010216:30:25.
Fail:Thisoperationwillsucceedalways.
410. APP_GET_TRANSACTION_COUNT
COMMAND:<0x7E><0x30>
Getthetransactioncount.
PARAMETERS:
<0x7E><0x30>isthecommandhead.
RETURN:
Success:<ACK><Transactioncount(4bytes)>
Fail:Thisoperationwillsucceedalways.
Dataformat:Applicationtype(1byte)track1track2.
track1isencapsuledbystartsentinel'%'andendsentinel'?'.
track2isencapsuledbystartsentinel';'andendsentinel'?'.
AutosendmodedatawillnotbecapsuledbySTXandETX.
Applicationtype:
MASTER_APPLICATION  0x01
VISA_APPLICATION    0x02
EXPRESS_APPLICATION0x03
5.Datasettingcommands.
Tousethesecommands,theapplicationmustbeoff.
51. RETRIEVE_TERMINAL_DATA
IDTECHXpressReaderUserManual
17
COMMAND:<0x7E><0xF0><0x01><Tag>.
Retrievetheterminal'sdataelement.
PARAMETERS:
<0x7E><0xF0><0x01>isthecommandhead.
<Tag>isthedesireddataelement'stag.1or2bytes
Note:Actioncode'stagiscodedas'0x01'.
RETURN:
Success:<ACK><Requesteddataelement(TLV)>
Fail:Thisoperationwillsucceedalways.
52. UPDATE_TERMINAL_DATA
COMMAND:<0x7E><0xF0><0x02><Dataelement(TLV)>.
Updatetheterminal'sdataelementtemporary.
PARAMETERS:
<0x7E><0xF0><0x02>isthecommandhead..
<Dataelement(TLV)>:TLVformatdata
RETURN:
Success:<ACK><Statuscode(1byte)>.
Fail:Thisoperationwillsucceedalways.
53. UPDATE_TERMINAL_DATA_SAVE
COMMAND:<0x7E><0xF0><0x03><Dataelement(TLV).>
Updatetheterminal'sdataelement.
PARAMETERS:
<0x7E><0xF0><0x03>isthecommandhead.
<Dataelement(TLV)>:TLVformatdata
RETURN:
Success:<ACK><Statuscode(1byte)>
Fail:Thisoperationwillsucceedalways.
54. SELECT_TERMINAL_APPLICATION
COMMAND:<0x7E><0xF0><0x05><Applicationtype>.
Selecttheterminal’sapplication,usedfortestonly.
PARAMETERS:
<0x7E><0xF0><0x05>isthecommandhead.
Applicationtype:1byte.
RETURN:
Success:<ACK><Oldapplicationtype(1byte)>.
Fail:Thisoperationwillsucceedalways.
55. RETRIEVE_PUBLIC_KEY
COMMAND:<0x7E><0xF1><0x01><RID(5BYTES)><Index(1byte)>.
Retrievetheterminal'sSAVEDpublickeyofaspecialRIDanditsindex.
IDTECHXpressReaderUserManual
18
PARAMETERS:
<0x7E><0xF1><0x01>isthecommandhead.
<RID(5BYTES)>istheapplications’sRID.
<Index(1byte)>isthekeyindex.
RETURN:
Success:<ACK><RID(5)><Index(1)><HashIndicator(1)><Algorithm
Indicator(1)><Exponent(4)><KeyModuleLength(1)><KeyHash(20)><Module
Data(var)>.
56. REVOKE_PUBLIC_KEY
COMMAND:<0x7E><0xF1><0x02><RID(5BYTES)><Index(1byte)>.
Revoketheterminal'sSAVEDpublickeyofaspecialRIDanditsindex.
PARAMETERS:
<0x7E><0xF1><0x02>isthecommandhead.
<RID(5BYTES)>istheapplications’sRID.
<Index(1byte)>isthekeyindex.
RETURN:
Success:<ACK>
Fail:Thisoperationwillsucceedalways.
57. INVOKE_PUBLIC_KEY
COMMAND:<0x7E><0xF1><0x04><DATA>.
InvokeapublickeyofaspecialRIDanditsindexintheterminal.
PARAMETERS:
<0x7E><0xF1><0x04>isthecommandhead.
<DATA>:RID(5)Index(1)HashIndicator(1)AlgorithmIndicator(1)
Exponent(4)KeyModuleLength(1)KeyHash(20)Pad(29)ModuleData(var).
RETURN:
Success:<ACK>
Fail:Thisoperationwillsucceedalways.
58. RETRIVE_PUBLIC_KEY_COUNT
COMMAND:<0x7E><0xF1><0x08><RID(5BYTES)>
Retrievethecountoftheterminal'sSAVEDpublickeyofaspecialRID.
PARAMETERS:
<0x7E><0xF1><0x08>isthecommandhead.
<RID(5BYTES)>
RETURN:
Success:<ACK><Count(1byte)>.
Fail:Thisoperationwillsucceedalways.
6.Devicedirectcontrolcommands.
Commandheader:0xFE.Tousethesecommands,theapplication
mustbeoff(UsecommandAPPLICATION_CONTROLin35).
IDTECHXpressReaderUserManual
19
61. SEARCHCARDS
COMMAND:<0xFE><0x01><A/B><AFI>
Detectcardsinthefield.
PARAMETERS:
<0xFE><0x01>isthecommandhead..
<A/B>iscardtype:0fortypeAandtypeB,1fortypeAand2fortypeB.
1byte.
<AFI>isapplicationfamilyidentifierfortypeB.0fortypeA.1byte.
RETURN:
Success:
<ACK><CardCount>[<CardType><UIDLen><UID>][<CardType><
UIDLen><UID>]...
<CardCount>isthe countoffoundcardsinthefield.
[<CardType><UIDLen><UID>]willhappen<CardCount>times.
<CardType>isthecard'stype:1fortypeAand2fortypeB.
<UIDLen>isthefollowingUID'slength.
<UID>isthefoundcard'sUID(fortypeAcard)orPUID(fortypeB
card).
Fail:<ACK><0x00>.
62. SELECTONECARD
COMMAND:<0xFE><0x02><CardType><LenOfUID/PUID><UID/PUPI>
Selectonecard.
PARAMETERS:
<0xFE><0x02>isthecommandhead.
<CardType>isthecard'stype:1fortypeAand2fortypeB.1byte.
<LenOfUID/PUID>isthelengthoftheselectedUIDfortypeAorPUPI
fortypeB.1byte.
<UID/PUPI>:UIDfortypeA.PUPIfortypeB.
RETURN:
Success:<ACK><CardHandle>
<CardHandle>istheselectedcard'shandle,itwillbeusedbyother
commandstocommunicatewithaspecifiedcard.
Fail:<ACK><0x00>
63. DELETEONECARD
COMMAND:<0xFE><0x03><CardHandle>.
Deleteonecardfromthesystem.
PARAMETERS:
<0xFE><0x03>isthecommandhead.
<CardHandle>istheCard'shandlereturnedbySELECTONECARD
command.
RETURN:
Success:<ACK><Freeslotsavailable>
IDTECHXpressReaderUserManual
20
Fail:Thisoperationwillsucceedalways.
64. DELETEALLCARDS
COMMAND:<0xFE><0x04>
Deleteallcardsfromthesystem.
PARAMETERS:
<0xFE><0x04>isthecommandhead.
RETURN:
Success:<ACK><Freeslotsavailable>.2bytes
Fail:Thisoperationwillsucceedalways.
65.  GETUSINGCARDSCOUNT
COMMAND:<0xFE><0x05>
Getthecardscountusingbythedevicesystem.
PARAMETERS:
<0xFE><0x05>isthecommandhead.
RETURN:
Success:<ACK><Usingcardscountbythedevice>.2bytes
Fail:Thisoperationwillsucceedalways.
66.  GETFREESLOTS
COMMAND:<0xFE><0x06>.
Getthefreeslotsavailableinthedevicesystem.
PARAMETERS:
<0xFE><0x06>isthecommandhead.
RETURN:
Success:<ACK><Freeslotsavailable>.2bytes
Fail:Thisoperationwillsucceedalways.
67.  GETCARDCID
COMMAND:<0xFE><0x07><CardHandle>.
Retrieveonecard’scurrentCIDusedinthedevicesystem.
PARAMETERS:
<0xFE><0x07>isthecommandhead.
<CardHandle>istheCard'shandlereturnedbySELECTONECARD
command.
RETURN:<ACK><Card'sCID>ifavailable.CIDisbetween1and14.
Thisoperationwillreturn<NAK><ERROR_INVALID_CID_RETURNED>if
failed.
68.  DISABLECARDCID
COMMAND:<0xFE><0x08><CardHandle>
Informthedevicedonotusecard’sCIDinthesystem.
PARAMETERS:
IDTECHXpressReaderUserManual
21
<0xFE><0x08>isthecommandhead.
<CardHandle>istheCard'shandlereturnedbySELECTONECARD
command.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
69.  DISABLECARDNAD
COMMAND:<0xFE><0x09><CardHandle>
Informthedevicedonotusecard’sNADinthesystem.
PARAMETERS:
<0xFE><0x09>isthecommandhead.
<CardHandle>istheCard'shandlereturnedbySELECTONECARD
command.
RETURN:
Success:<ACK>.
Fail:Thisoperationwillsucceedalways.
610.  SENDCOMMANDTOCARD
COMMAND:<0xFE><0x0A><CardHandle><CommandBlock>
Makethedeviceto communicatewiththecardinthesystem.
PARAMETERS:
<0xFE><0x0A>isthecommandhead.
<CardHandle>istheCard'shandlereturnedbySELECTONECARD
command.
<CommandBlock>istheinputcommand.
RETURN:
Success:<ACK><Cardreturneddata>
Fail:<NAK><Errorcode>
IDTECHXpressReaderUserManual
22
AppendixA
STATUSCODETABLE
ReturnStatusandExplanations
Errorcode Description
0xE1 ERROR_PARAMETER
0xE2 ERROR_LOWOUTBUFFER
0xE3 ERROR_CARD_NOT_FOUND
0xE4 ERROR_COLLISION_CARD_EXIST
0xE5 ERROR_TOOMANY_CARDS_EXIST
0xE8 ERROR_NO_DATA_AVAILABLE
0xE9 ERROR_INVALID_CID_RETURNED
0xEA ERROR_INVALID_CARD_EXIST
0xEC ERROR_COMMAND_UNSUPPORTED
0xED ERROR_COMMAND_PROCESS
0xEE ERROR_INVALID_COMMAND
IDTECHXpressReaderUserManual
23
AppendixC
FUNCTIONIDTABLE
CARRIER<0xFD><0x01><ON/OFF>.
POLLING<0xFD><0x02><PollingCount>.
RESET <0xFD><0x03><0x00>
REQA <0xFD><0x14><0x01>.
WUPA <0xFD><0x14><0x00>.
HALTA <0xFD><0x16><0x00>.
ACTIVEA<0xFD><0x18><0x00>
REQB<0xFD><0x25><0x01>.
WUPB<0xFD><0x25><0x00>
HALTB <0xFD><0x27><0x00>
ACTIVEB<0xFD><0x29><0x00>
APPCOMMAND<0xFD><0x32><CPDU>
APP_TEST_START<0xFD><0x41>
APP_TEST_STOP<0xFD><0x42>
SET_BAUDRATE <0x70><0x01><NewBaudrate>.
SET_STOPBITS <0x70><0x02><NewStopBits>.
SET_PARITY <0x70><0x03><NewParity>.
GET_VERSION <0x78><0x01>.
BEEP <0x78><0x04><Duration>
LED_CONTROL <0x78><0x05><LED><ON/OFF>
APPLICATION_CONTROL <0x78><0x16><APPON/OFF>.
IDTECHXpressReaderUserManual
24
APP_FLUSH_DATA <0x7E><0x01>
APP_GET_DATA <0x7E><0x02><IsFlushData>
APP_SET_AUTOSENDMODE <0x7E><0x04><MODE>
APP_SET_DATETIME <0x7E><0x08><DATE(YYYYMMDDHHMMSS)>.
APP_GET_TVR <0x7E><0x20>.
APP_GET_TSI <0x7E><0x22>.
APP_GET_TVRTSI <0x7E><0x24>.
APP_GET_TRAN_RESULT<0x7E><0x26>
APP_GET_CVMRESULT <0x7E><0x28>
APP_GET_DATETIME <0x7E><0x18>
APP_GET_TRANSACTION_COUNT <0x7E><0x30>
RETRIEVE_TERMINAL_DATA <0x7E><0xF0><0x01><Tag>.
UPDATE_TERMINAL_DATA <0x7E><0xF0><0x02><Dataelement(TLV)>
UPDATE_TERMINAL_DATA_SAVE <0x7E><0xF0><0x03><Dataelement(TLV).>
SELECT_TERMINAL_APPLICATION <0x7E><0xF0><0x05><Applicationtype>.
RETRIEVE_PUBLIC_KEY <0x7E><0xF1><0x01><RID(5BYTES)><Index(1byte)>.
REVOKE_PUBLIC_KEY <0x7E><0xF1><0x02><RID(5BYTES)><Index(1byte)>.
INVOKE_PUBLIC_KEY <0x7E><0xF1><0x04><DATA>.
RETRIVE_PUBLIC_KEY_COUNT <0x7E><0xF1><0x08><RID(5BYTES)>
SEARCHCARDS <0xFE><0x01><A/B><AFI>
SELECTONECARD <0xFE><0x02><CardType><LenOfUID/PUID><UID/PUPI>
DELETEONECARD <0xFE><0x03><CardHandle>
DELETEALLCARDS <0xFE><0x04>
GETUSINGCARDSCOUNT <0xFE><0x05>
GETFREESLOTS<0xFE><0x06>.
GETCARDCID <0xFE><0x07><CardHandle>.
DISABLECARDCID<0xFE><0x08><CardHandle>
DISABLECARDNAD <0xFE><0x09><CardHandle>
SENDCOMMANDTOCARD<0xFE><0x0A><CardHandle><CommandBlock>
IDTECHXpressReaderUserManual
25

Navigation menu