background image

UIC680 Programmer’s Manual 

UDN PM090-C2 Rev. 2.3 

 

Read TK4 data (optional) for command 

Protocol Envelope code 

Tk4* Data 

Protocol Envelope code 

 

Tk* Track Data Included: 

SS (Optional) 

Track Data 

ES (Optional) 

LRC (Optional) 

The Protocol Envelope code can be <HEADERS>, <BCC> or NONE, it is depended on       
which protocol is being used. 
 

 

Details of the Payment Card Tracks Data   

The UIC680 reader running at Self-Arm mode will automatically decode the payment card 
data according to the payment application type. For non-supported payment cards, it is 
possible to go through the host-polled mode to query the card data.   
 
In general, for the supported payment cards, track 1 and 2 card data will always be present 
for a successful reading. Some transactions may request extra information outside track 1 
& track 2. The UIC680 has introduced a way to reduce the communication time between 
the host and the reader where the particular information can be stored in track 3 or even 
track 4. This depends on the card type and its application is described in the following 
sections.  

 

Track 3 Data Format 

The track 3 data of the contactless card is mainly provided for the additional information 
required by the payment transactions. It is currently available for the Paypass-Mchip and 
Visa cards (qVSDC, MSD) and not for other contactless payment cards. Track 3 data is the 
necessary additional information to be used for System Integration. 
 
To simplify the host application process, this data only contains the value field of the Tag 
Length Value (TLV) data objects and is expressed in Hex format. The data objects 
placement is arranged in fixed sequence and are separated by the field separator ‘=’. The 
transaction data object field is empty if the data object is absent in the card. Moreover, the 
track 3 data begins with start sentinel and ends with end sentinel.   

 

Track 3 Data Format 

Start sentinel  Card Type  Transaction Result

Transaction Data Object(s)   

(card type dependent) 

End sentinel

1-byte

 

1-byte 2-byte 

Each object is separated by the field 

separator.(n Bytes) 

1-byte

 

 

  

4-6 

Summary of Contents for UIC680

Page 1: ...UIC680 Contactless Smart Card Reader Module RS232 USB Interface Programmer s Manual Document PM090 C2 Revision 2 3 July 10 2012...

Page 2: ...if not installed 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 inst...

Page 3: ...ramming use we have addressed everything from its attractive features to its various configurations When designing the UIC680 we selected what we feel are the most useful features and functions If in...

Page 4: ...4 Environmental Specifications 3 2 Temperature 3 2 Extended Temperature Optional Model Conformal Coating and No Battery 3 2 Humidity 3 2 3 5 Pin Assignment 3 3 3 6 Communication 3 4 RS232 Interface D...

Page 5: ...enable optional 5 4 7FH Warm Reset 5 4 P 50H Arm to Read 5 5 p 70H Arm to Read Used for Manufacturing Test Only 5 5 ESC 1BH Abort Arm to Read 5 5 Q 51H Transmit Track 1 data 5 5 R 52H Transmit Track 2...

Page 6: ...Activate PICC cpu card 5 20 j 6AH Load MIFARE Key Supports MIFARE Classic only 5 20 F 58H Identify MIFARE Card Type 5 20 y 79H Send DESELECT command 5 21 Z 5AH I O to contactless CPU card with APDU f...

Page 7: ...Writes NXP MIFARE Plus Classic Ultralight DESFire cards 5 Encrypted card data output optional 6 Provides options for the direct coupling antenna and the remote antenna 7 Support RS232 USB 2 0 and ser...

Page 8: ...UIC680 Programmer s Manual UDN PM090 C2 Rev 2 3 Section 2 Configurations This section shows the dimensions and accessories of the UIC680 2 1 Dimensions of UIC680 PCBA 2 1...

Page 9: ...S232 data output baud rate up to 115 2K BPS RS232 pass through baud rate up to 115 2K BPS optional TTL level for serial data output optional Antennas Build in direct matching antenna Remote 50 ohm mat...

Page 10: ...232 signal level Compatible with USB 2 0 specification TTL 5V signal level optional Communication Signal RS232 Logic 1 3 volts to 15 volts or TTL level 5 volts Logic 0 3 volts to 15 volts or TTL level...

Page 11: ...irection Signal 1 GND 2 Serial data to host TXD_Out 3 Serial data from host RXD_In 4 VCC 5 USB data or Serial Pass thru optional USB D or TXD2 optional 6 USB data or Serial Pass thru optional USB D or...

Page 12: ...lt optional 1200 2400 4800 9600 19200 38400 56000 115 2K BPS RS232 Interface Pass Through Optional Baud Rate 9600 BPS default optional 1200 2400 4800 9600 19200 38400 56000 115 2K BPS USB Interface Co...

Page 13: ...pass through mode Disable UART2 setting Txd1 Rxd2 38400 8 N 1 optional USB Interface USB HID Keyboard Buzzer Enable Protocol format Protocol 0 USI0 Contactless Self Arm mode Enable Contactless smart c...

Page 14: ...haracters BCC Protocol 0 presumes no transmission errors If the host detects an error it may request a retransmission Example of Protocol 0 RS232 Interface Host Command Reader Response Comment P Ready...

Page 15: ...a Communications Error message If the host detects a transmission error it may request a retransmission Protocol 0 is the simplest protocol without adding the redundant data In order to handle the pro...

Page 16: ...e reader is configured with default setting Card Data Output for Different Types of Card and Reader Configurations With the reader running in the Self Arm mode depending on the configuration set in th...

Page 17: ...ypted Tk4 Data DUKPT KSN Encrypted Session ID RSA data output format Encrypt Mode Encrypted Tk1 Data Encrypted Tk2 Data Encrypted Tk3 Data Encrypted Tk4 Data Notes Encrypt Mode 1 DUKPT TDES Mode 2 DUK...

Page 18: ...an be stored in track 3 or even track 4 This depends on the card type and its application is described in the following sections Track 3 Data Format The track 3 data of the contactless card is mainly...

Page 19: ...Counter b2 4 95 Terminal Verification Results b5 10 9B Transaction Status Information b2 4 9A Transaction Date n3 6 9C Transaction Type b1 2 9F02 Amount Authorized Numeric n6 12 5F2A Transaction Curr...

Page 20: ...0 Additional Terminal Capabilities b5 10 9F6E Form Factor Indicator b4 8 9F7C Customer Exclusive Data b 0 32 var 0 64 var 57 Track 2 Equivalent Data b1 19 1 19 5F20 Cardholder Name ans 2 26 2 26 9F5D...

Page 21: ...Rev 2 3 Value of Card Type Value Card Type 0 MChip 1 RFU MagStripe V3 3 2 RFU 3 Visa qVSDC MSD 4 RFU 5 Contactless VSDC Value of Transaction Result Value Transaction Result 00 Offline Approved 01 Offl...

Page 22: ...POS Entry Mode Terminal Enter Mode Example of Data Output 000 1F AC99A931E778AE59 02119000032400000000980534968135D5FF 69449501 0992 00A0000000 010101 00 000000000000 0000 5880 0000 000000000000 00088...

Page 23: ...sion Number 00000000 9F1E Interface Device Serial Number IFD 303030303030303030303030303031 9F16 Merchant ID 00000007 9F41 Transaction Sequence Counter 40 9F27 Cryptogram Information Data 1F0300 9F34...

Page 24: ...EEPROM EXAMPLE 00000000 71 37H31H or 91 39H31H Copyright Report COMMENT Transmits version and copyright information This command is sent if the user wants to know the version model and copyright of th...

Page 25: ...SION 4 68TD11 L1_VERSION 5 68T111 L2_VERSION 6 68T211 MIFARE_VERSION 7 68TM11 3FH Select Verbose Responses Command COMMENT Most error responses until the reader receives a reset command error response...

Page 26: ...the configuration of the device NOTE By using the configuration setting command users can select standard or extended format Standard One Configuration Byte Bit Value 0 Value 1 0 Track 1 not present T...

Page 27: ...haracters are followed by an ASCII P to enable the RS232 pass through function It is only valid in RS232 model NOTE Once the pass through mode is enabled UIC680 passes all data between COM1 and COM2 a...

Page 28: ...ld issue the Q R S U commands to get the corresponding track data 3 In the Self Arm mode it is not necessary to send this command If this command is sent it will temporarily override the Self Arm mode...

Page 29: ...ta H 48H Self Arm function disable enable COMMENT Used for controlling Contactless auto read function temporarily H Enable Disable 1 byte Enable Disable ASCII Hex 1 Byte Value Description 0 or 30h Sel...

Page 30: ...ytes BCD Command 35 31 Response Year 2 bytes Month 1 byte Day 1 byte Week 1 byte Note BCD format from 010 0000BCD 0h to 910 1001BCD 9h EXAMPLE 20 12 07 09 01 20h 12h Year 2012 07h Month July 09h Day 0...

Page 31: ...ained by Read Date MM 01h 0Ch 01 12 DD 01h 1Fh 01 31 WW 01h 07h Monday Sunday EXAMPLE 20 12 July 09 Monday 20 12 14h 0Ch Year 2012 07 07h Month July 09 09h Day 09 01 01h Week Day Monday Command 35 34...

Page 32: ...9 A F 31h 39h 41h 46h ASCII Hex 1 15 short beeps Important Once B0 command starts beeping NO command can STOP it unless users send a Reset command to stop it Tone For adjusting the frequency level 00h...

Page 33: ...00H Erase all Key Entry Command 1 31H Data Data Description Entry Index 1 byte in binary format must be 1 16 Total Len Total length of rest data 2 bytes in binary format RID Len 1 byte in binary forma...

Page 34: ...4 88 A7 09 88 A4 F2 19 D5 D6 y 8F DC A0 A7 0D 90 fc 13 p 98 1E a F9 8B ED 98 D6 97 82 CC A8 C5 94 B0 CF B2 EC E7 9 98 08 WF 88 A1 B8 K BC D2 0D 7 E9 1C h 9A BD 84 Z 99 88 Q 0C 9A 96 EE D L 1D A3 W AD...

Page 35: ...by this black list will be denied for transactions w Command 1 byte Data optional Command ASCII Hex Value Description 0 or 30h Erase Exception File 1 or 31h Report counts of PANs in the Exception Fil...

Page 36: ...3 Type A or B G Type 1 byte Type 0 30h ASCII Hex ISO 14443 Type A 4 34h ASCII Hex ISO 14443 Type B NOTE The default contactless smart card type is Type A after power up RESPONSE Acknowledgement Cannot...

Page 37: ...00h to FFh please refer to ISO 14443 3 for detailed information NOTE If the Req command field does not appear in the request command reader will set the request mode to WUPA automatically If the AFI...

Page 38: ...r sends the ATTRIB command to the card Response SAK 1 byte type A or MBLI CID 1 byte type B If command executed successfully No card response or No power on the antenna g 67H MIFARE Classic Card Authe...

Page 39: ...bytes Block number There are two types of block number 1 000 to 255 30h30h30h to 32h35h35h ASCII Hex or 2 B 00 00 to B 00 FF 42h00h00h to 42h00hFFh ASCII Hex Response Block data 16 bytes Binary Hex i...

Page 40: ...Bad parameter t 74H MIFARE Classic Card Value Operation COMMENT Value Block Operation commands t Block number 3 bytes Operation mode 1 byte Value 4 bytes transfer block 3 bytes Block number There are...

Page 41: ...X 58H MIFARE Classic Card Activation Supports MIFARE Ultralight COMMENT Performs request anticollision select command to activate the card It is also can be used for any ISO 14443 compatible cards Res...

Page 42: ...sponse or No power on the antenna v 76H MIFARE Classic Card Write Sector COMMENT MIFARE Classic card write sector command v Sector number 3 bytes Sector data Sector number There are two types of secto...

Page 43: ...rd application NOTE For security reasons there is no way to retrieve the keys j Key number 1 byte Key data 12 bytes Key number 0 to 4 or 30h to 34h ASCII Hex Key data 0 to 9 or A to F or 30h to 39h or...

Page 44: ...ontactless CPU card with APDU format COMMENT The command is used to pass an APDU to the card where both data and an ISO status are expected in the response Z APDU variant 262 bytes max APDU Binary hex...

Page 45: ...C and enable CRC transmission 1 31h ASCII Hex No CRC in block data and disable CRC transmission Wait time 0000 to 9999 30h30h30h30h to 39h39h39h39h ASCII Hex in milliseconds Block data Binary hex 00h...

Page 46: ...ost recent command 2AH Command was received correctly but could not be completed 2BH No Magnetic Stripe Card Data Command was received correctly 3FH Communication Error Command was not received correc...

Page 47: ...nce the UIC680 receives the Self Arm disable command H0 see the command description section it will turn off the auto read function and then wait for the Arm to Read command P 50h prepared for the nex...

Page 48: ...configuration command to set theUIC680TG to protocol 2 2 Send the configuration command to set the UIC680TG to Self ARM disable Done Initial State This process should be done only once to set the UIC...

Page 49: ...ta Card data processing No For next transaction Yes Read Card Start After the host issues the Arm to Read command the UIC680 will check if any payment card is detected in the reading zone or any magne...

Reviews: