background image

                                                                     

   

 

 

 

UIC Bezel5 Programmer’s Manual   

 

Page.69/166 

             

 

 

 

UDN PM098 Rev. 1.0 

Copyright © 2013, Uniform Industrial Corp. All Rights Reserved 

Host Poll Mode transaction process Example flow 

In this Example, assume the Bezel5 is in protocol USI2 and Self-Arm disable mode. 

Host-Poll Mode

Enabled?

*H0/SAD 

Command

Return Error Code?

P Command

Arm to Read

TM<01>

Command

Tap Card

54/55 Command

Set Transaction 

Date/Time

T1 Command

Set Amount

S Command

Get TK3

Reader Initial

Start new 

transaction

No

Error Code 

Action

Receive error 

from reader

Terminal/Controller

Action

Return Error Code Process

Terminal/Controller Action

Reader Setting Command

Reader Transaction Command

Tap Contactless Card

Yes

Yes

No

* Bezel-5 Plus has 
Host-Poll mode 
enabled set to 
default. 

Abort by Send <1B> 

command

Error?

 

Figure 4-2. Host Poll Mode Transaction Process Example Flow 

After the host issues the Arm-to-Read command, the Bezel5 will check if any payment card is 
detected in the reading zone or any magnetic stripe card is swiped. No matter the card is decoded 
successfully or not, it will return the ‘^’ to indicate that the card has been read. The host can issue 
the ‘Q’, ‘R’, ‘S’ commands to retrieve the card data accordingly. 

Related Commands: 

Function 

Reference 

Host-Poll Mode setting 

4.2.1.    H (48H) – Self-Arm function disable/enable 
4.3.19.    SAx(53h 41h x) 

  Self-Arm Mode Enable/Disable 

Set Transaction Date/Time 

4.1.11.    5 (35H) – Set RTC Time 

Return Error Code setting 

4.3.22.    TMx(54h 4Dh x) 

  Set Error Code output Enable/ Disable 

Summary of Contents for Bezel 5

Page 1: ...Copyright 2013 Uniform Industrial Corp All Rights Reserved UIC Bezel5 payment card Reader Programmer s Manual RS232 USB Interface Document PM098 Revision 1 4 May 7th 2014...

Page 2: ...t 2013 Uniform Industrial Corp All Rights Reserved Document History Document Version Author Change Date 1 1 Robin Tang Initial version 1 2 Vicky Tuan 16 Dec 2013 1 3 Stanley Lui Adjusted some wordings...

Page 3: ...ES 11 1 2 APPLICATION 11 1 3 PHYSICAL LED INDICATION 11 2 CONFIGURATIONS 11 2 1 FUNCTIONAL SPECIFICATIONS 11 2 2 MECHANICAL SPECIFICATIONS 11 2 3 ELECTRICAL SPECIFICATIONS 11 Power Required 11 Power C...

Page 4: ...in Self Arm and Host Polled modes 11 3 3 4 Host Poll Mode 11 22BRead card data using commands in the Host Polled mode 11 3 3 5 EMV Mode 11 The Application Diagram 11 3 3 6 Details of the Payment Card...

Page 5: ...11 4 1 12 B 42H Buzzer Beep control 11 4 1 13 I 49H Load RSA Key 11 4 1 14 w 77H Exception File 11 4 1 15 40H Display Control 11 4 1 16 L 4Ch l 6Ch 28h LED Control 11 4 1 17 LE 4Ch 45h LD 4Ch 44h Fla...

Page 6: ...to Polling 11 4 3 16 PCx 50h 43h x Set Host Protocol 11 4 3 17 PEx 50h 45h x Set Pass Through Function 11 4 3 18 PHx 50h 48h x Set Power On Character 11 4 3 19 SAx 53h 41h x Self Arm Mode Enable Disab...

Page 7: ...11 4 4 18 y 79H Send DESELECT command 11 4 4 19 Z 5AH I O to contactless CPU card with APDU format 11 4 4 20 z 7AH I O to contactless card for block data exchange 11 5 EMV TRANSACTION OPERATING COMMAN...

Page 8: ...6 6 TRACK OUTPUT FORMAT SELF ARM 11 6 6 1 RS232 USB Virtual 11 6 6 2 HID MSR Optional 11 6 7 ADMINISTRATION COMMANDS 11 6 7 1 90H 02H Load Session ID 11 6 7 2 90H 03H Get KSN Encrypted Random 11 6 7...

Page 9: ...IFARE secret key 11 D 08 44H 08H Get SHA1 value of MIFARE key 11 D 09 44H 09H Get Google Polling Mode 11 D 0A 44H 0AH Get SHA1 value of All Encrypt MIFARE key 11 8 ISIS WALLET 11 8 1 TRACK OUTPUT CONC...

Page 10: ...yte Description of Reader Status Request 11 Table 4 4 First byte of Configuration Request response 11 Table 4 5 Load RSA Key Type 11 Table 4 6 Load RSA Key Data Description 11 Table 4 7 Load RSA Key e...

Page 11: ...n 11 Table 4 32 Output Data Encryption Setup 11 Table 4 33 Record RF card data option 11 Table 4 34 SS ES Option 11 Table 4 35 Track Format Configuration Table 11 Table 4 36 Set Read Card Mode 11 Tabl...

Page 12: ...MSR Transaction Data 11 Table 6 1 Data Security Operations 11 Table 6 2 Key Management Mode 11 Table 6 3 HID MSR Offset Table 11 Table 6 4 Get Challenge Padding Frame 11 Table 6 5 Load Initial Key Pa...

Page 13: ...2013 Uniform Industrial Corp All Rights Reserved Table 7 5 Google Wallet Operation Command Type 11 Table 8 1 Track Tag information of Google Wallet Transaction Format 11 Table 8 2 ISIS Wallet Tag Data...

Page 14: ...List of Figures Figure 3 1 EMV Configuration command diagram 11 Figure 3 2 Self Arm Mode Transaction Process Example Flow 11 Figure 3 3 Host Poll Mode Transaction Process Example Flow 11 Figure 6 1 Da...

Page 15: ...t to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio...

Page 16: ...E This manual provides detailed information relating to the overall operational electrical mechanical environmental and functional aspects of the Bezel5 reader This document should be read and underst...

Page 17: ...cs of the Bezel5 1 1 Features Reset Button The LCD can be refreshed by a short click on the reset button After the button is released it will generate a short beep to indicate the LCD refresh is compl...

Page 18: ...output optional 8 Support RS232 USB 2 0 and serial TTL optional interfaces by use of corresponding cables 9 Supports ISO 14443 ISO 18092 standard 10 Supports American Express ExpressPay MasterCard Pa...

Page 19: ...indicator to show the Bezel5 is ready to accept Magstripe card swipe 3 Contactless transaction LEDs leftmost LED indicates Bezel5 is ready to accept contactless card Rest of LEDs to indicate the trans...

Page 20: ...e the LEDs are lighted during the transaction process Each LED will represent a different transaction stage in the process Idle ready to accept contactless card Processing transaction is processing an...

Page 21: ...l time clock w 5 years battery life Contactless communication at 13 56MHz 4 LEDs for contactless payment indication optional for 2nd phase development Standards ISO 7810 7811 ISO 14443 type A and B co...

Page 22: ...uild in direct matching antenna 13BUPayment applications American Express ExpressPay Discover ZIP MasterCard PayPass MCHIP Visa MSD qVSDC Google wallet ISIS wallet MIFARE applications Read Write of MI...

Page 23: ...Consumption 75mA in idle mode 90mA in operating mode preliminary estimate at 34 V working voltage Communication Standard RS232 signal level Compatible with USB 2 0 specification Logic 1 3 volts to 15...

Page 24: ...orp All Rights Reserved 2 5 Pin Assignment Interface Pin Assignment Pin Signal Comment Pin Signal Comment 1 VCC 5VDC 1 VCC 5VDC 2 RXD 2 TXD 3 TXD 3 RXD 4 Signal Ground 4 DN 5 N C 5 DP 6 Hi power 7 5VD...

Page 25: ...rial asynchronous data at voltage levels compatible with the RS232 specification Baud Rate 9600 BPS default optional 1200 2400 4800 9600 19200 38400 56000 115 2K BPS USB Interface Compatible with USB...

Page 26: ...e UART setting 9600 8 N 1 USB Interface USB HID MSR Buzzer Enabled Protocol format Protocol 2 USI2 Self Arm mode Disabled EMV Mode Enabled Administration command protect Enabled Data Encryption Disabl...

Page 27: ...Pressing the Cancel Button The message SSS is transmitted out from the reader after someone presses the Cancel button 3 2 2 Pressing the Enter Button The message AAA is transmitted out from the reade...

Page 28: ...nsmitted and received using exactly the characters listed in Section 4 There are no headers and Block Check Characters BCC Protocol 0 presumes no transmission errors If the host detects an error it ma...

Page 29: ...d is NULL 00Hex but any value will work For Protocols 2 if the reader detects an error in an incoming transmission it will respond with a Communications Error message If the host detects a transmissio...

Page 30: ...yte character count and terminated with a one byte BCC BCC is an XOR of the 7 data bits excluding parity of each character in the entire message including HT Format HT 00Hex COUNT MESSAGE BCC Where HT...

Page 31: ...nd depending on the configuration set in the reader and the type of card to be read the reader will output different types of card information The following table lists out the summary of it Reader Co...

Page 32: ...ata output format under Self Arm mode The Bezel5 reader can be configured to become a secure reader which will output encrypted card data The data format is as follows 21BEncrypted Card data output fo...

Page 33: ...in the Host Polled mode The reader replies to the so called Host Polled command such as Transmit Track Data The requested message is encapsulated in the protocol envelope The response of the Transmit...

Page 34: ...ommands are using different protocol formats Detailed information can be found in the command section The bezel can accept both formats at the same time The Application Diagram The below diagram descr...

Page 35: ...ransaction Using the bezel general commands Protocol 2 There are many transaction scenarios for EMV transactions The on line transaction is shown in the above as one example EMV Parameters Maintenance...

Page 36: ...th the ISO 7811 format Track 3 Data Format for Contactless Payment Some contactless payment transactions may require extra information outside track 1 track 2 The Bezel5 has introduced a way to reduce...

Page 37: ...19 var 2 38 bytes 5A PAN V M cn 0 19 var up to 10 byte 0 20 bytes 5F20 Cardholder Name VISA ans 2 26 2 26 bytes 2 26 bytes 5F24 Expiry Date V M n 6 YYMMDD 3 bytes 6 bytes 5F2A Transaction Currency Co...

Page 38: ...e V M n 2 1 byte 2 bytes 9F36 Application Transaction Counter V M Binary 2 bytes 4 bytes 9F37 Unpredictable Number V M Binary 4 bytes 8 bytes 9F40 Additional Terminal Capabilities V M Binary 5 bytes 1...

Page 39: ...n Tag means the Tag of the TLV item If the TLV is present in the transaction it will show in Track 3 else the Tag will leave it as empty If Value of TLV is not alphanumeric or numeric the data will be...

Page 40: ...oesn t appear in the card type field it doesn t mean that this card will not support such tag Value Card Type 0 MChip 1 MagStripe V3 3 2 Amex Express Pay EP3 Reserve 3 Visa qVSDC MSD 4 Interac 5 Disco...

Page 41: ...990400 9999999469960 A0000000041010 ID352 v1 1 Parsed Track Data Track 1 B5413330056003529 CUST IMP MC 352 14122059900909900000099909909969929990400 Track 2 5413330056003529 14122059999999469960 Track...

Page 42: ...2076322031 01 Parsed Track Data Track 1 B5413330089600119 0056 ETEC PAYPASS 141231 Track 2 5413330089600119 1412 Track 3 002 1F 96EB58603A581C2F 0110A00000000000000000000000000000FF0000000000000000000...

Page 43: ...02 1234567890000000 3030303030303030 30303030303031 Description DF Name Terminal Application Version Number Interface Device Serial Number Merchant ID Position 21 22 23 24 Tag 9F41 9F27 9F34 9F53 Valu...

Page 44: ...0303030303031 01 6000000001 4761739001010010 D20121200012339900031F 4761739001010010 201231 00 000000010000 3000 07 08 40 Parsed Track Data Track 1 B4761739001010010 201212000123100399030000 Track 2 4...

Page 45: ...ype Application Version Number Position 17 18 19 20 Tag 9F1E 9F16 5F34 9F40 Value 1234567890000000 30303030303030303030 3030303031 01 6000000001 Description Interface Device Serial Number Merchant ID...

Page 46: ...d Position 33 34 35 36 Tag 9F17 9F78 9F79 9F6D Value Description PIN Try Counter VLP Single Transaction Limit VLP Available Funds VLP Reset Threshold Position 37 38 39 Tag 9F54 POS Entry Mode Terminal...

Page 47: ...mand was received correctly 3FH Communication Error Command was not received correctly 3AH Power On report 7EH Unavailable Hardware is not available to complete this request 4 1 1 25H Retransmit Retra...

Page 48: ...t statement The firmware copyright statement is absent in the OEM version 4 1 4 7A 37H41H or 9A 39H41H Module Version Report Transmits the version information This command is sent to request the versi...

Page 49: ...s any hardware initialization issue happened during the power on process If all the ICs are working well the response should be 4 bytes of zeros Response Byte 0 Meaning Bit 8 Reserved Bit7 Reserved B...

Page 50: ...te New RSA Key Bit4 RSA Chip Error Bit3 Create New Master Key Bit2 Initial Master Key Error Bit1 EEPROM Error 4 1 6 3FH Select Verbose Responses Command Most error responses until the reader receives...

Page 51: ...us Report 5 always 1 always 1 6 Not armed to read Armed to read 7 RFU RFU Table 4 2 First Byte Description of Reader Status Request Second Status Byte Bit Value 0 Value 1 0 First LED OFF First LED ON...

Page 52: ...t present Track 3 present 3 7 RFU RFU Table 4 4 First byte of Configuration Request response Extended Configuration Bytes 16 bytes Byte Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 15 Remark Equip 0 Equi...

Page 53: ...te Remark 3 Speed 00H 1200 01H 2400 02H 4800 03H 9600 Default 04H 19 2k 05H 38 4k 06H 57 6k 07H 115 2k bps 4 Address Always 00H By using the configuration setting command users can select the standard...

Page 54: ...initialization functions The device will respond as if in a power up cycle by default it returns a 3AH This operation will take at least 3 seconds to complete Example Host Command Reader Response Exa...

Page 55: ...e year 20 can be interpreted as space character 01h Monday 02h Tuesday 07h Sunday Note BCD format from 010 0000BCD 0h to 910 1001BCD 9h Example Host Command Reader Response Example 51 20 12 12 06 04 5...

Page 56: ...Sunday Default setting is 20 01 01 01 01 obtained by Read Date YYYY 14h 00h 1Eh FFh 2000 3000 If the YYYY falls out of range the reader will restore the configuration to default settings after resetti...

Page 57: ...1 30 7F 00 Command Type Field Description 0 30h ASCII Hex long beep Important Once B0 command starts beeping NO command can STOP it unless users send a Reset command to stop it Count 1 9 A F 31h 39h 4...

Page 58: ...D L 1D A3 W AD 14 8B C5 D6 DT 92 12 1 z5R 8B F8 C6 _ BF e 0F FD AF W F2 3o EF k A6 Sj DE A1 09 14 DD l CD 8 CF Y 99 88 y F0 X BF 86 C8 E0 9E 91 Command Type Command Format ASCII Hex Description 0 01H...

Page 59: ...6C827E09E91 Command Form I1 01 00 A2 05 00 00 00 00 01 01 03 03 01 00 01 80 14 C3 12 D4 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 8 2 CC A8 C5 94 B0 CF B2 EC E7...

Page 60: ...90B9C5565C88F13E091 5EB57034EB4C3788DE6FFEE355364EDDF4E32CABB52DA0DDB816634E58BFA79FFC890B8DE0 F766906C05EBAA2578F85D2D3D3F4D5712722441D1449E40F6BC7205DD281C937E675214D6 63BA69BDB2E5674B4CC8D4D1002814...

Page 61: ...esponse data format Type Description 1 or 31h Return 2 byte binary number the total number of PANs in the file 3 or 33h Return 1 if PAN exists else return 0 4 or 34h Return primary account number else...

Page 62: ...Home 09h Cursor Display See Table 4 17 0Ah Position Cursor See Table 4 18 0Bh LCD Blinking See Table 4 19 0Ch LCD Blink Time See Table 4 20 16h LCD Backlight control See Table 4 21 Table 4 11 LCD Fun...

Page 63: ...1 18 1 64 Length 1 Length 2 Data buffer Total length Length 1 256 Length 2 Table 4 13 Write Characters to LCD Example Display Line Host Command Reader Response Example 01 00 00 16 02 00 00 00 10 12345...

Page 64: ...ple 01 00 00 03 04 01 G Enable 01 00 00 03 04 00 F Disable Cursor Blink Data Description 00h No blinking 01h Cursor blink on Table 4 16 Cursor Blink Option Cursor Display Data Description 00h Cursor h...

Page 65: ...00h Off 01h Turn on the LCD backlight Table 4 21 LCD Backlight Control Example Host Command Reader Response Example 01 00 00 03 16 01 U On 01 00 00 03 16 00 T Off 4 1 16 L 4Ch l 6Ch 28h LED Control Th...

Page 66: ...ird LED Yellow Green 4 34h Fourth LED Red 4 1 17 LE 4Ch 45h LD 4Ch 44h Flash LED Control This command is for the user to recognize that the reader is up and functioning The default is turned on upon p...

Page 67: ...g the default setting in the reader configuration Once the Bezel5 receives the Self Arm disable command H0 see the command description section it will turn off the auto read function and then wait for...

Page 68: ...on Command Tap Contactless Card Yes DWE Command Wait amount to start transaction No Yes Set reader to Self Arm mode by send H1 command is for temporary test reader will return to Host Poll mode after...

Page 69: ...nsaction Command Tap Contactless Card Yes Yes No Bezel 5 Plus has Host Poll mode enabled set to default Abort by Send 1B command Error Figure 4 2 Host Poll Mode Transaction Process Example Flow After...

Page 70: ...Value Description 0 or 30h Self Arm Disable 1 or 31h Self Arm Enable Example Host Command Reader Response Example H0 Note Bezel5 cannot perform the Self Arm enable command for the contactless payment...

Page 71: ...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 4 2 3 p 70H Arm to Read Used fo...

Page 72: ...00001 0000 2000 07 08 4 2 6 T 54H Transaction Command This command is used to view and manipulate transaction activities Command Packet Byte 0 Byte 1 Byte 2 Command Type Data T 1 00 00 00 00 01 00 Exa...

Page 73: ...s Reserved Command Data Command Type Data Description T1 Amount 6 bytes in numeric format use once only T2 Record 2 bytes in binary format decide which record to read range from 0001h to 0186h TB Coun...

Page 74: ...g Command The following are configuration commands executed in BLP format BLP Protocol RS232 Interface Byte 1 Byte 2 3 Byte 4 n Byte 5 n 09h Command Len Command Data n bytes BCC Table 4 24 BLP Configu...

Page 75: ...uthentication in EMV contactless only For MSR contactless such as PayPass magstripe or VISA MSD it has no effect 2 The reader keeps the setting forever until the next CKx command 4 3 3 CLx 43h 4Ch x S...

Page 76: ...Terminal Transaction Type Info Command Packet Byte 0 1 Byte 2 Byte 3 CT Type Data see Table 4 29 Command Type Parameter Length Description Example Hex 0 1 Byte Terminal Type 09h 00h 04h 43h 54h 30h 2...

Page 77: ...4 30 Set Wait Amount mode 4 3 8 ECx 45h 43h x Extended Configuration Report Enable Disable Command Packet Byte 0 1 Byte 2 EC Command Type see Table 4 31 Command Type Parameter Length Description Exam...

Page 78: ...cription Example Hex 00 1 Byte Not record 09h 00h 03h 45h 52h 00h 1Dh 01 1 Byte Record but stop recording after memory full continue reading 09h 00h 03h 45h 52h 01h 1Ch 02 1 Byte Record but stop readi...

Page 79: ...efault 09h 00h 03h 46h 61h 00h 2Dh 00 TK2 Prefix 09h 00h 07h 46h 42h 42h 45h 35h 30h 32h 3Ah BE502 B TK2 Prefix Disable Default 09h 00h 03h 46h 42h 00h 0Eh 00 TK2 Suffix 09h 00h 07h 46h 62h 42h 45h 35...

Page 80: ...f LRC is enabled each track data sent automatically in self arm mode will be followed by the LRC character Command Packet Byte 0 1 Byte 2 LC Command Type see Table 4 37 Command Type Parameter Length D...

Page 81: ...he host if a MIFARE Card is detected Card Type Response Description M1 MIFARE Ultralight M2 MIFARE 1K M3 MIFARE 4K M4 MIFARE DESFire M5 MIFARE Plus 2K M6 MIFARE Mini M7 MPCOS Gemplus M8 Jewel for Inno...

Page 82: ...3Ah 1 Byte Set power on character to 09h 00h 03h 50h 48h 3Ah 28h 00h 1 Byte Disable power on character 09h 00h 03h 50h 48h 00h 12h Default power on character is 4 3 19 SAx 53h 41h x Self Arm Mode Ena...

Page 83: ...lt is not to send any protocol information with the magnetic stripe card data 4 3 21 TKx 54h 4Bh x Set Transmitting Data Tracks Command Packet Byte 0 1 Byte 2 TK Command Type see Table 4 39 Command Ty...

Page 84: ...d Type Command Type Parameter Length Description Example Hex 0 1 Byte Protocol 0 09h 00h 03h 54h 4Fh 30h 21h 2 1 Byte Protocol 2 09h 00h 03h 54h 4Fh 32h 23h 4 3 24 USBx 55h 53h 42h x USB Mode Optional...

Page 85: ...26 VTx 56h 54h x VISA Terminal Transaction Qualifier Tag 9F66 Setting Command Packet Byte 0 1 Byte 2 5 VT TTQ parameters Command Type Parameter Length Description Example Hex A0 00 00 00 4 Bytes MSD...

Page 86: ...013 Uniform Industrial Corp All Rights Reserved Example Parameter Length Description Example Hex 31h 30h 30h 30h 30h 30h 6 Bytes Amount 313 030 303 030 09h 00h 08h 56h 4Ch 31h 30h 30h 30h 30h 30h 1Ah...

Page 87: ...0 Byte 1 Command Type G 0 Command Type Type Description 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 Example...

Page 88: ...ommand b 52 The request command code is ISO 14443 type A It can be either 26 REQA or 52 WUPA Note If the Req command field does not appear in the request command reader will set the request mode to WU...

Page 89: ...1 ISO 14443 type A c ISO 14443 type B c APn Command Description Byte Description APn Anti collision Prefix byte please refer to ISO 14443 3 for detailed information Success Response Data Format Card...

Page 90: ...ommand Block number Key Type Key g 001 A FFFFFFFFFFFF Authenticate the card with the key stored in EEPROM Block Number 2 Types Block Number Type Data Format 000 to 255 30h30h30h to 32h35h35h ASCII Hex...

Page 91: ...1111111111 Response Block data 16 bytes Binary Hex 4 4 9 i 69H MIFARE Classic Card Write Block Supports MIFARE Ultralight MIFARE Classic card write command Command Packet Byte 0 Byte 1 3 Byte 4 7 or B...

Page 92: ...umber 2 Types Block Number Type Data Format 000 to 255 30h30h30h to 32h35h35h ASCII Hex B 00 00 to B 00 FF 42h00h00h to 42h00hFFh ASCII Hex Operation Mode ASCII Hex Value Description 0 or 30h Decremen...

Page 93: ...c Card Activation Supports MIFARE Ultralight Performs the request anti collision select commands to activate the card It is also can be used for any ISO 14443 compatible cards Card Type Description Ty...

Page 94: ...1 3 Byte 4 Command Sector number Sector Data Sector Number 2 Types Block Number Type Data Format 000 to 255 30h30h30h to 32h35h35h ASCII Hex B 00 00 to B 00 FF 42h00h00h to 42h00hFFh ASCII Hex Sector...

Page 95: ...also can be used for any ISO 14443A compatible cards Host Command Reader Response Example F Card Type Card Type Response Description 1 31H MIFARE Ultralight 2 32H MIFARE 1K 3 33H MIFARE 4K 4 34H MIFAR...

Page 96: ...ructure CLA INS P1 P2 P3 Lc or Le Data If Lc present APDU Response Structure Data optional SW1 SW2 4 4 20 z 7AH I O to contactless card for block data exchange The command is used to pass a block data...

Page 97: ...a new application is required to be supported by the reader There are three different groups of reader configurations 1 Terminal Configuration there is only one terminal configuration data set per rea...

Page 98: ...Acknowledgement Cannot execute e g out of range Bad parameter e g incorrect length 5 1 1 T01 54H 30H 31H Terminal Configuration Setup The EMV application uses this command to send the Terminal Configu...

Page 99: ...he EMV transaction Command Byte 1 2 3 Byte 4 5 13 Byte 14 15 Byte 16 17 Byte 18 19 57 Byte 58 59 Byte 60 61 Byte 62 63 67 Byte 68 n T03 RID PKI Hash algo Hash PK Algo PK len PK Exponent PK Modulus n b...

Page 100: ...me Format Length Byte Mandatory Tags 9F06 Application Identifier AID card b 5 16 9C Transaction Type b 1 Group Tags Can be sent individually or combined with other tags together FFFF8001 Registered Ap...

Page 101: ...3 DF2A Threshold Value for Biased Random Selection b 6 DF2B Maximum Target Percentage for Biased Random Selection b 1 DF2C Target Percentage for Random Selection b 1 9F40 Additional Terminal Capabilit...

Page 102: ...nd Packet Byte 1 2 3 Byte 4 T19 Configuration Type Table 5 4 Configuration Type Parameter Description 31h All the IDs of CA public key setup by T03 32h All the IDs of EMV application data setup by T15...

Page 103: ...2 08 FF FF 80 06 01 01 FF FF 80 07 01 0 1 FF FF 80 08 01 00 FF FF 80 09 01 00 FF FF 80 0A 01 01 FF FF 80 0B 01 00 9F 5 01 09 00 04 T194e 9F 15 08 00000000 9F 16 0F 000000000000001 9F 1A 02 0 8 9F 1C 0...

Page 104: ...um Mode Options Parameter Description AID RID CAPKI Transaction Type To read EMV application data checksum request user need to enter AID string and Transaction Type Ex A0000000041010 00 AID RID CAPKI...

Page 105: ...02 0056 Terminal Country Code 9F1C 08 3030303030303031 Terminal Identification 9F1E 08 3030303030303031 Interface Device IFD Serial Number 9F4E 08 3030303030303031 Merchant Name and Location DF811C 0...

Page 106: ...Limit Check DF8126 06 000000001000 CVM Required Limit FFFF800A 01 01 Reader Contactless Floor Limit Check DF8123 06 000000002000 Reader Contactless Floor Limit 9F1B 04 000007D0 Reader Floor Limit 9F09...

Page 107: ...DF810C 01 02 Kernekl ID 9F6D 02 0001 Mag stripe Application Version Number DF811E 01 10 Mag stripe CVM Capability CVM Required DF812C 01 00 Mag stripe CVM Capability No CVM Required 9F15 02 0001 Merch...

Page 108: ...al Capabilities 9F09 02 0002 App Version DF8117 01 00 Card Data Input Capability DF8118 01 60 CVM Capability CVM Required DF8119 01 08 CVM Capability No CVM Required DF811A 03 9F6A04 Default UDOL DF81...

Page 109: ...1 03 Application Selection Identifier DF810C 01 04 Kernel ID FFFF8004 01 01 Disable Contactless Transaction Limit FFFF8005 01 01 Zero allow FFFF8007 01 01 Sign Unit Check FFFF8009 01 01 CVM Require Li...

Page 110: ...7 00 N A Account Type 9F01 00 N A Acquirer Identifier 9F40 05 0000000000 Additional Terminal Capabilities 9F09 02 0002 App Version 9F33 00 N A Terminal Capabilities 9F35 01 22 Terminal Type 5F36 01 02...

Page 111: ...m Selection DF2B 01 00 Maximum Target Percentage for Biased Random Selection DF2C 01 63 Target Percentage for Random Selection DF810C 01 06 Kernel ID DF8120 05 0000000000 Terminal Action Code Default...

Page 112: ...ing command This command can activate the reader to start to read the card Please be noted that the value in required TLV parameters will impact the transaction result Refer to Table 5 16 Command Pack...

Page 113: ...e Priority field Parameter Description Display 01 RFID Magstripe 02 RFID 03 Magstripe Note The pictures in this table are reference only For the real position of the signs please refer to the physical...

Page 114: ...2 C9H Response of Start Transaction This command is the return of the result to the Start Transaction command C8h The controller should send to acknowledge upon receiving the data Command format Fiel...

Page 115: ...nsaction Result POS Entry Bit 7 Bit 6 Bit 5 Bit 4 0 Description 0 0 0 00001 Contactless qVSDC Card 0 0 0 00010 Contactless MSD Card 0 0 0 00011 Contactless PayPass Mchip Card 0 0 0 00100 Contactless P...

Page 116: ...nsaction Data Magstripe card read successful Error code 00 successful and POS Entry 04 Clear Data Encrypted Data Clear Data CARD TK1 TK2 TK3 DUKPT SN Counter SID Table 5 20 Field Description of MSR Tr...

Page 117: ...ct the card data 2 Authentication for the administration command All of the administration commands must be authenticated before their executions A challenge Response mechanism is involved in the proc...

Page 118: ...ption load initial key load key management mode enable command administration protection No authentication The key load in clear text Update key update key management mode load unique serial number en...

Page 119: ...uery the serial number query are allowed to execute in the daily operation without the authentication process required For the DUKPT key and the sensitive data updates they belong to the administratio...

Page 120: ...generator 3 The verifier encrypts RB and its SHA1 value PubA RB SHA1 RB and sends to the claimant 4 Upon receiving the challenge the claimant decrypts RB and validates SHA1 value If SHA1 fails the cla...

Page 121: ...The key management starts at slot 1 When the slot 1 key reaches the end the reader will roll over the key management to slot 2 if the key is available If slot 2 has no key the reader enters the termin...

Page 122: ...ndustrial Corp All Rights Reserved reader will get the key from slot 2 If both key slots are inactive and the data encryption is enabled the reader is in the terminated state then no data output is av...

Page 123: ...yright 2013 Uniform Industrial Corp All Rights Reserved 6 5 2 Auto Rollover 2 key generation 1M iteration Slot 2 Terminated 1M iteration Slot 1 Key Injection Key Injection Slot 1 and 2 can have differ...

Page 124: ...cribed in the following sections 6 6 1 RS232 USB Virtual DUKPT data output format Encrypt Mode 7Ch Encrypt Tk1 Data Encrypt Tk2 Data Encrypt Tk3 Data KSN Encrypt Session ID EXAMPLE 1 2B06FD66BF9896C0D...

Page 125: ...ubokBbvGTjytxLQCgxzG3l X9iZwqfPQTF504Gn y6npic Y5xp zfWuXoLR2v0SPZMmbNap1givc5W3d93r6lJehmRbWJCJoW16n4dDMoZwiKSE7K8gK QAsQB1FcNRzFYfHWU4EvpJnBBZ48myzwgreQrhYt2BI8JAGlYRIUNpSOu43TPlwTAFZbadT22fEvDqJU4f...

Page 126: ...sa MSD qVSDC available in track 1 2 and 3 100 Amex available in track 1 and 2 101 Discover ZIP available in track 1 and 2 High Nibble Bit 7 6 5 payment instrument status 111 Other contactless payment...

Page 127: ...03h command to get random For creating new keys 6 7 2 90H 03H Get KSN Encrypted Random This command is used to get the DUKPT Key Serial Number and encrypted random number Command Pocket Byte 0 1 Comm...

Page 128: ...sponse Code Response Meaning Acknowledgement Cannot execute e g out of range Bad parameter e g incorrect length 6 7 4 90H 05H Select DUKPT Management Mode This command is used to select DUKPT Manageme...

Page 129: ...ber 1234567890 31H 32H 33H 34H 35H 36H 37H 38H 39H 30H Fixed data don t change FS 1C field separator DC Ind D 44H Fixed data don t change Amount 4567 34H 35H 36H 37H Fixed data don t change Response e...

Page 130: ...DUKPT scheme Current Key A51DD67C06A54E7F0ADA776534532772 Decrypt PIN Block by using the current key 2FF2D3C47BF9F87E Clear PIN Block 041234FEDCBA9876 Take max 12 bytes of account number from the nex...

Page 131: ...0 Not Encrypted 01 DUKPT Mode 02 AES Mode 03 RSA Mode DUKPT Key Slot Code Meaning 00 Key Slot 1 01 Key Slot 2 DUKPT Management Mode Code Meaning 00 Mode 1 01 Mode 2 DUKPT Key Slot 1 Status Code Meanin...

Page 132: ...Len Exp Modules Length Modules Success The return length is upon RSA key length Bad Parameters Padding Frame Byte 0 1 Byte 2 n Byte 3 n 00h 02h Var 00h Table 6 4 Get Challenge Padding Frame 6 7 8 90H...

Page 133: ...5 Load Initial Key Padding Frame Encrypt Mode Code Meaning 01 DUKPT Mode 02 Google Wallet merchant symmetry key Table 6 6 Encrypt Mode of Load Initial Key DUKPT Key Slot Code Meaning 01 DUKPT Key Slo...

Page 134: ...Encrypt Mode 1 Byte See Table 6 9 18 37 n SHA1 20 Bytes Padding Random Encrypt Mode Padding Frame Byte 0 1 Byte 2 n Byte 3 n 00h 01h Var 00h Table 6 8 Padding Frame of Change Encrypt Mode for Data Ou...

Page 135: ...8 Usage get encrypted random number from the 90h 03h command 554943303030310003E103EA68415833B363 Find out the current key by using the initial key and the serial number counter DUKPT scheme Current K...

Page 136: ...C049C6D68EFB7AFF404810C23AC88866E744C5E27016E415D3787F57EF8 35B84A5AAC8D550C99E3C2955472525A7AB40C5190CF42351AD41386BD8238A54746373 32BFF35A7B7CF1C3173FA424F466DD574C23B84ED9B748D7350F26BF17D5014EDAED...

Page 137: ...1 6170126C75D798FAD28E93FCEBC9A5AC24956BA6 Combine data 0001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...

Page 138: ...23AC88866E744C5E27016E415D3787F57EF8 35B84A5AAC8D550C99E3C2955472525A7AB40C5190CF42351AD41386BD8238A54746373 32BFF35A7B7CF1C3173FA424F466DD574C23B84ED9B748D7350F26BF17D5014EDAEDAD5 917991427C5D3859D16...

Page 139: ...FFFFFFFFFFFFFFFFFFFFFFFF0 07284558CF716CA567844661192AD23C902010010112233445566778899AABBCCDDEEFF 1115AE7E8F57264369B47FC6E06703712EEECC11FF Using the RSA Private key to encrypt the combine data 312AD...

Page 140: ...F5CC17BFA3DF074C9E7B79577BDF530784DB3EB57CD455CA2BA5F9CDDA5B38 380C89B1136BE1A1BE82DE9A4ABA2CBC6F0E8F75208EF1B77AA7D4FC7A8642A0C268DC6 A012B908F3D8A646246F70236FAACE67FCF638E75E7EBFAD71D52405EAC4F04D9...

Page 141: ...5994A6D9AD3343CDC C5C28F0E46AE391054811EE4B1D11DE4EAB6EF9EAF79750F049DA24678D835C06587A91 01B0AE1344D71D5D58E469F7FE352AD61A587924F47A8E5EECD9911440E9C09CF2625CD 34CB9B4907A19C7EEFE3DC460759AEDBDC9021...

Page 142: ...B278C1A964C20A3DE07E6F 6B1394981C2FD910FD53EB8B084FAC5D0B4F82E716A06A933DF80E7B49F62A4CA11408A 5CDBF874C8A877CA03BDC13914CF7D01018F424624242F48E7427D1693AA3098999482E 9A9A0C49139D8A361 777D160D8F04029...

Page 143: ...Modules BDEA7BE96D7CC049C6D68EFB7AFF404810C23AC88866E744C5E27016E415D3787F57EF8 35B84A5AAC8D550C99E3C2955472525A7AB40C5190CF42351AD41386BD8238A54746373 32BFF35A7B7CF1C3173FA424F466DD574C23B84ED9B748D7...

Page 144: ...FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000591231B27E3E125BE4B88B68D451A2E3182 CD8E4AACB8966CE3FA3D8A579A93B049DABC67 Using the RSA...

Page 145: ...arios The Legacy service is composed of payment compliant with EMV contactless specification and value added services over MIFARE Bezel5 reads all services in one tap and outputs the card data in the...

Page 146: ...Data 1 PayPass payWave Amex Discover ZIP Google Wallet Payment Emulate magnetic stripe track 1 PAN Card holder name Expiration Date Track 1 Discretionary Data 2 PayPass payWave Amex Discover ZIP Googl...

Page 147: ...Arm mode depending on the configuration set in the reader and the type of card to be read the reader will output different types of card information The following table lists out the summary of it Re...

Page 148: ...of applications 1 byte CB 02 Byte 7 8 Byte 9 Byte 10 12 Byte 12 n App 1 Schema code 2 byte App 1 tag 1 byte Length of all records for App1 1 3 byte Data of records for App 1 var bytes Byte n CB 02 Ap...

Page 149: ...Format Total Length Number of application CB 02 App1 Schema code App1 tag length of record for App1 Data of records for App1 CB 02 App2 Schema code App2 tag length of record for App2 Data of records...

Page 150: ...S key The normal procedure is that the encrypted data is sent to the merchant Once the merchant application receives the data it will convert the data to the suitable coding format according to the re...

Page 151: ...escription 03h Read transmission log 04h Clear transmission log 07h Load Google wallet MIFARE secret key 08h Get SHA1 value of MIFARE key 09h Get Google Polling Mode 0Ah Get SHA1 value of All Encrypt...

Page 152: ...r Response Example Comment The Google Wallet card on top of the card reader Do not remove H0 Self Arm Disable see 4 1 15 Reader ACK O Antenna power On see 4 4 2 Reader ACK D 03 Read transmission log F...

Page 153: ...B3AD3FDE04429C3B60000642DDA067A4A1725C6F3B 22F51E607EEFFFE7A244D16EAB80D7CBB5329E0653A09CDF010 80 Encrypt the clear text data by the symmetry Key doing TDES Encrypt Clear Data 3FAF3B31B3DDDBA6964DF8BB...

Page 154: ...crypt Clear Data 3FAF3B31B3DDDBA6964DF8BBB81A3F828BEF5FAEED91B5B2856E44E4E0C30 ED930502694CD20EE81E43B0846FDC8DD7924B7A04BA6248C5E Total Encrypt Data Length 38h Send the command to the reader D 07 383...

Page 155: ...FF FF FF FF FF FF Empty 20 bytes D 09 44H 09H Get Google Polling Mode Example Host Command Reader Response Example Comment D 09 0 30h Google Polling Disable 1 31h PPSE First 2 32h MIFARE First 2Ah Bad...

Page 156: ...he reader D 07 383FAF3B31B3DDDBA6964DF8BBB81A3F828BEF5FAEED91B5B2856E44 E4E0C30ED930502694CD20EE81E43B0846FDC8DD7924B7A04BA6248C5E Encrypt Data Symmetry Key encrypted Total Clear Key Length 1 byte Key...

Page 157: ...r just taps the phone once at the reader to complete the transaction All the required payment information is sent to the POS application The user will experience no difference from the current contact...

Page 158: ...es a uniform programming experience for the POS applications in dealing with different contactless payment solutions However the working behavior of the Bezel5 is a little bit different from the scena...

Page 159: ...efault 8 3 Tag FFFF820E Output Format The wallet data is output in Tag FFFF820E packed in a series of application data units according to the following format The data of all records are expressed in...

Page 160: ...IS wallet error reading Or the error returned from POST TRANSACTION command Error code List Error Code Status Code Description F101 XXXX Get SmarTap Data Error F102 N A Get SmarTap Data Error buffer o...

Page 161: ...r DF41 LoyaltyID 1 var bytes if missed it is empty field Field separator DF43 Loyalty Account 1 Field separator DF41 LoyaltyID x var bytes if missed it doesn t present Field separator DF43 Loyalty Acc...

Page 162: ...the configuration commands to configure the bezel purposely to access the EMV card by the BLP protocol BLP Protocol RS232 Interface Byte 0 Byte 1 2 Byte 3 n Byte 4 n 09h Command Len Command Data BCC B...

Page 163: ...e ID The Merchant store ID is a value assigned by ISIS that can be loaded to the NFC reader Load Merchant Store ID Command Data Format Example Description ISS Len 1 byte Merchant Store ID var bytes 09...

Page 164: ...list Important MEI 4 in 1 Plus accepts multiple Loyalty IDs However the new added Loyalty ID appended at the end of the list The erase command will erase the last Loyalty ID from the list 8 4 6 Load O...

Page 165: ...erchant Capabilities value represents the different SmarTap features supported by the merchant Byte Bit Value NFC Reader function 1 8 MSB 1 Merchant Loyalty Support 0 No If Bit 8 is on the reader will...

Page 166: ...the SmarTap AID at the first TAP 1 7 1 Manual Start 0 No The reader will only select a SmarTap AID after some user intervention 1 6 1 Payment with Post Transaction Data 0 No Payment and Post Transact...

Reviews: