3,1 3DG 3URJUDPPHU¶V 0DQXDO 3HUVRQDO ,' 1XPEHU 3DG :LWK (09 /HYHO 7UDQVDFWLRQ &DSDELOLWLHV 3&, 326 $ 6SHFLILFDWLRQ 30 8 5HYLVLRQ
PIN Pad 791 Programmer’s Manual (PCI POS-A) Notice, Agency Approved, and Warranty UDN PM0103-U Rev. 06 2015-04-20 NOTICE The issuer of this manual has made every effort to provide accurate information. The issuer will not be held liable for any technical and editorial omission or errors made herein; nor for incidental consequential damages resulting from the furnishing, performance or use of this material. This document contains proprietary information that is protected by copyright.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Notice, Agency Approved, and Warranty UDN PM0103-U Rev. 06 2015-04-20 Document History Document Version Apply to FW version Change 01 PP791: 10A.01 First Release SysMgr: 10A.01 PP791: 10A.03 Modify the description of I17 command. SysMgr: 10A.03 Remove “All” type of saver screen setting in BB 02 command. 03 04 Add a error code in 71 command. Add a error code in 91 command. PP791: 10A.05 Add a error code in 02 command.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 1 – Introduction UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 1 – Introduction UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 1 – Introduction UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 1 – Introduction UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 1 – Introduction Ref. 3 Ref. 4 Ref. 5 Section 9 UDN PM0103-U Rev. 06 2015-04-20 Activate and authenticate for MIFARE Ultralight card. ________________ 198 The quick method for activating Ultralight card.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 1 – Introduction UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 1 – Introduction UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 1 – Introduction Section 1 2015-04-20 Introduction PIN Pad 791 (PP791) provides a secure and friendly way of obtaining customer Personal Identification Numbers (PIN), dealing with smart card offline transaction specified in EMV Level 2 book 3 and book4. PP791 can deal PIN entry and transaction in following ways: 1. As a PIN Entry Device (PED): PP791 can encrypt ANSI X9.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 1 – Introduction 2015-04-20 (7). Three secure access module (SAM) slots, with protection cover. Display The 320*240 pixels TFT LCD is capable of displaying characters and graphic. For displaying characters, It provides ASCII 8*8 character set for range 0x20~0x7E, 8*16, 16*16, 16*24 character set for range 0x20~0xFF. Keypad The PIN Pad uses its 16 keys to accept commands.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 1 – Introduction 2015-04-20 or exchange APDU packets with EMV Level 1 compatible smart cards via ICC-related commands. It also reads ISO 7811 compatible magnetic cards for legacy online debit / credit card operation. Smart card and Security Access Module (SAM) interfaces PP791 provides three SAM interfaces (optional) for customer usage.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 2 –System Manager Section 2 UDN PM0103-U Rev. 06 2015-04-20 System Manager Introduction The system manager is a resident process launched automatically when PP791 boot up. It will manage the download and execution of other application, do basic settings, and self tests.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 2 –System Manager 2015-04-20 Main menu of system manager DISPLAY ACTION Key Injection Do clear text key load. Download Do firmware updates. Date & Time Adjust system date, time, and time zone. Setting Set up system manager options. System Info Show firmware version, TCP/IP settings, and certificate names. Self Test Do basical hardware test. Change Password Change system manager password.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 2 –System Manager 2015-04-20 password=xxxxxx FTP login password. path=/pub Directory name that contains appls, certs, graphics and system. PP791 will read an “ftp_setting_file” which contains one ftp config script name, and use it as default FTP setting. The factory default of ftp_setting_file is: ftp_site1.cfg (As a result, system manager will read server IP address, port, username and password from this file).
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 2 –System Manager 2015-04-20 DISPLAY ACTION Download Vendor Cert. Download “appl_vendor.crt” Download Download “appl_inter.crt” Intermediate Cert. View current cert. CN View CN (common name) of current intermediate and vendor certificate. Lock/Unlock Cert.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 2 –System Manager 2015-04-20 Set gateway IP address of PP791 if DHCP disabled. [Set Subnet Mask] Set subnet mask of PP791 if DHCP disabled. [Set DNS Server] Set DNS server address of PP791 if DHCP disabled. Set Console Enable or disable linux command console. Set FTP [Set FTP Server] Set default FTP server IP address and save to detault FTP config script when user selected “Save all setting”.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 2 –System Manager 2015-04-20 DISPLAY ACTION Display Test Display black screen, then display test string on LCD. Keypad Test Display keypad input on LCD, press [CAN] to exit. MSR Test Test MSR swipe; the PAN of payment track will be partially masked. ICC Test Test smart card powerup and display its ATR.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 3 –PP791 Setup & Diagnostic Menu Section 3 UDN PM0103-U Rev. 06 2015-04-20 PP791 Setup & Diagnostic Menu Call up Diagnostic Menu Press function key [CLR] + [3] (quickly press ‘3’ after [CLR] released) of PP791 will call up diagnostic menu when PP791 in idle state. The default 2 passwords for diagnostic menu are “87806799” (both passwords) DISPLAY ACTION (Idle prompt) Power on.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 3 –PP791 Setup & Diagnostic Menu UDN PM0103-U Rev. 06 2015-04-20 Diagnostic Menu 2: Display Info DISPLAY ACTION Show COM Param. Display current COM port setting on PP791. COM1: Primary interface (if primary interface is USB, the value will be 9600, N, 8, 1) Show SerialNum Display current serial number. Refer to message 06.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 3 –PP791 Setup & Diagnostic Menu UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 3 –PP791 Setup & Diagnostic Menu UDN PM0103-U Rev. 06 2015-04-20 Diagnostic Menu 5: Logo Setup DISPLAY ACTION Idle Logo ON/OFF Enable or disable graphical idle logo. (The logo image is defined by command J7) Diagnostic Menu 6: Setup Password DISPLAY ACTION Update Password1 PP791 will show following message: NEW PASSWD **** CONFIRM PASSWD **** User should press 1st password, press [ENTER] to enter 2nd password, then press [ENTER] to finish input.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 3 –PP791 Setup & Diagnostic Menu UDN PM0103-U Rev. 06 2015-04-20 About USB virtual COM port (only applied on USB version) PP791 USB version will identify itself as a virtual COM port for Windows 2000/XP device enumeration. When Windows requests PP791’s device driver, please provide a directory name which contains PP791 USB driver, and answer “proceed anyway” when prompted with driver certification questions.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 3 –PP791 Setup & Diagnostic Menu Set Server Port UDN PM0103-U Rev. 06 2015-04-20 Manually set the Port number of Server which you want to connect. Connect Connect to the Server. Disconnect Disconnect with the Server. Status Display the WIFI setting information Interface Setting 3: Bluetooth Setting DISPLAY ACTION Choose Devices 1. Scan Devices: Get the BT Device name, and MAC address. 2. Choose Devices: Input the 0~ 9 to choose the BT device.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 4 – Message format Section 4 2015-04-20 Message format This chapter details the format of messages exchanged between the host and PIN Pad. Notation Conventions The following conventions are used to make the description of messages more readable: Control Codes Control codes (non-displayable codes) are represented by two to three capital letters enclosed in angled brackets “<>“. This PIN Pad uses 12 control codes in total.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 4 – Message format UDN PM0103-U Rev. 06 2015-04-20 Message frame summary Data exchanged between PIN Pad and host computer are grouped into “message frames”. Each message frame has one of the two frame formats listed below: [message ID][data][LRC] [message ID][data][LRC] Each type of message has a unique value in its message ID field. In the following texts, we reference a message type by its message ID value, e.g. “message 70”.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages Section 5 UDN PM0103-U Rev. 06 2015-04-20 Administration and maintenance messages Message 02 Load Master Key Format: 02[Key ID][Key value] [Usage][Mode][LRC] (with clear text key) 02[Key ID][Key value (ANSI TR31 format)][LRC] (with encrypted key) Message length: Variable (38 to 94 bytes). Usage: Load Master Keys into PP791.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message element: Request fame (HOST to PP791) Field Length Value and description 1 <0F> 02 2 Message ID [Key ID] 1 ‘0’ to ‘9’, ‘A’ to ‘V’ (A and H to V is not used) [Key value] Var. Hexadecimal string for key value. Clear text format: 32 bytes for double length, 48 bytes for triple length.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Response fame – Error message (HOST to PP791) Field Length Value and description 1 <0F> 02 2 Message ID ? 1 [Err msg] 1 ‘2’: Key duplicate. ‘3’: Internal fail: fail to allocate memory ‘4’: Internal fail: fail to read key structure ‘7’: Fail to decrypt key value. ‘A’: TR31 format error. ‘B’: Insecure key inject. (New key is longer than the key used to protect it.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Symmetric Keys Loading Authentication In order to make PP791 accept clear text key loading frame, the key loading authentication must be processed.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Example flow to load master keys with security: In the following example we assume a bank receives a new PP791 and wants to initialize it before deploy. And want to update some master keys after its deployed. We also assume the master key to be loaded is position 0 and position F; their values are already stored in a Tamper Resistant Security Module (TRSM) in a secure way. 1.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 04 Check Master Key Format: 04[key ID][Key Info Query][LRC] Message length: Variable (6 or 7) bytes. Usage: Host sends this message to PIN Pad for checking if the master key with an ID of [key ID] has been loaded or not. Message 04 should be used before loading any master key.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 “T”: Triple DES “D”: Single DES 1 <0E> [LRC] 1 Checksum Message flow: HOST Direction Message 04 (request) PIN Pad (Good LRC) (Bad LRC) (after 3 NAKs) Check requested memory location Message 04 (response) (Good echo) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 05 Load Serial Number Format: 05[string][LRC] Message length: Variable, maximum length is 17 bytes Usage: Load the PIN Pad with the serial number given in the message frame. PIN Pad will send the whole message frame back to host as a confirmation of good reception.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 06 Get Serial Number Format: 06[LRC] 06[string][LRC] Message length: Fixed 5 bytes for requesting message, variable for response message (max 17 bytes.) Usage: This message is used to get serial number of the PIN Pad. PIN Pad will send the serial number previously loaded or string of 12 ‘0’s as the serial number if it has not been loaded.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 07 Test DES Implementation Format: 07[master key][clear text][cipher text][LRC] Message length: Fixed 53 bytes. Usage: This message is used to validate DES implementation of PIN Pad. Testing result will be shown on the PIN Pad display and return response code for remote diagnostic.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 08 Select Master Key Format: 08[KeyID][LRC] Message length: Fixed 6 bytes. Usage: This message is used to select one of the 10 possible PIN encrypting master keys previously loaded using message 02. The selected master key will be used in the following transactions.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 09 Communication Test Format: 09[LRC] 09PROCESSING[LRC] Message length: Fixed 5 bytes for requesting message, fixed 16 bytes for response message. Usage: This message is used to test communication link between HOST and the PIN Pad. Both HOST and PIN Pad can initiate communication test.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 11 PIN Pad Device Connection Test Format: 11[LRC] Message length: Fixed 5 bytes. Usage: This message is used to ensure that the PIN Pad is attached to the HOST working normally. PIN Pad will response an ACK (or NAK if LRC incorrect) within one second.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 12 Select Prompt Language Format: 12[language index][LRC] (request frame) 12[status][LRC] (response frame) Message length: Fixed 6 bytes. Usage: This message is used to select PP791 prompt message table to different language. There is always an English prompt table resident as default, its index number is ‘0’.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message 12 PIN Pad (Request frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message 12 (Response frame) // Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 13 Adjust COM1 Baud Rate (RS-232 version only) Format: 13[baud code][mode][LRC] Message length: Variable, 6~7 bytes. Usage: This message will change the working baud rate and transmit mode of PP791 for later operations. The setting is kept in the battery-powered memory, which will not be erased until security is breached or the battery exhausted.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 14 Enable/Disable Timer Display Format: 14[E/D][LRC] (request frame) 14[Status][LRC] (response frame) Message length: Fixed 6 bytes. Usage: This message is used to enable / disable PP791 system timer display.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message 14 PIN Pad (Request frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message 14 (Response frame) // Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 15 Adjust LCD Backlight Level Format: 15[contrast stepping code][LRC] Message length: Fixed 6 bytes. Usage: This message will set the backlight level of LCD monitor.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 16 Remote self-test request Format: 16[LRC] Message length: Fixed 5 bytes. Usage: This message is used to ensure that the PP791 attached to the HOST is working normally. PP791 will response an ACK (or NAK if LRC incorrect) within one second. If multiple tests failed, response code will concatenate such as “16125”.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 17 Request random number Format: 17[LRC] Message length: Fixed 5 bytes. Usage: This message is used to request PIN Pad to generate an 8bytes random number block. This random number is generated by hardware TRNG that is certified with sufficient security.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 18 Set PIN pad system time Format: 18[YYYY][MM][DD][W][HH][MM][SS][TZ Variable][LRC] (Request frame for setting local time and time zone) 18[TZ Variable][LRC] (Request frame for setting time zone) 18[YYYY][MM][DD][W][HH][MM][SS][LRC] (Request frame for setting local time) Message length: Fixed 20 bytes.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages [LRC] 1 UDN PM0103-U Rev. 06 2015-04-20 Checksum Request frame for setting time zone (HOST to PIN Pad) Field Length Value and description 1 <0F> 18 2 Message ID 1 <1A> [TZ Variable] Var. Time zone environment variable.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message 18 request frame PIN Pad (Good LRC) (Bad LRC) (after 3 NAKs) / / Message 18 Response Frame Processing and send NOTE: The followings describe that how to input a proper syntax of time zone enviorment variable.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages Mm.w.d UDN PM0103-U Rev. 06 2015-04-20 This specifies day d of week w of month m. The day d must be between 0 (Sunday) and 6. The week w must be between 1 and 5, week 1 is the first week in which day d occurs, and week 5 specifies the last d day in the month. The month m should be between 1 and 12. The time fields specify when, in the local time currently in effect, the change to the other time occurs.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 19 Query Firmware Version Format: 19[part][LRC] (request frame) 19.[Version] [LRC] (response frame) Message length: Fixed 6 bytes (request frame) / Variable (response frame). Usage: This message is used to query PP791 firmware version number and firmware check sum value.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message 19 PIN Pad (Request frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message 19 (Response frame) // Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 1C Query Hardware Capability Format: 1C[LRC] (request frame) 1C[string][LRC] (response frame) Message length: Fixed 5 bytes (request). Variable (response). Usage: This message is used to query the peripheral capability of PP791.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 1F Query Usable Prompt Table Format: 1F[LRC] (request frame) 1F[Prompt_List][LRC] (response frame) Message length: Fixed 6 bytes (request frame); Variable (response frame). Usage: This message is used to query usable PP791 prompt message table list. List will be represented as 2-character country code defined by ISO 3166.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 1J Turn ON/OFF LCD Backlight Format: 1J[option][LRC] Message length: Fixed 6 bytes. Usage: This message can control the global backlight ON or OFF for the LCD of PP791 with backlight option. By default, PP791 will turn on its LCD backlight when it receives PIN entry or clear text entry message such as 70 or Z50, and turn it off when those functions exits.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Message 1J Direction PIN Pad (Good LRC) (Bad LRC) (after 3 NAKs) Message 1J (Response frame) / / LCD backlight turned ON/OFF Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message 1KTurn ON/OFF LCD Power-save mode Format: 1K[option][LRC] Message length: Fixed 6 bytes. Usage: For power consumption saving, this message can make PP791 turns the backlight level to darker after several seconds automatically.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Message 1K Direction PIN Pad (Good LRC) (Bad LRC) (after 3 NAKs) Message 1K (Response frame) / / LCD power-save mode turned ON/OFF Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages Message 1M Format: UDN PM0103-U Rev. 06 2015-04-20 Setup Keypad Beeper 1M[option][LRC] Message length: Fixed 6 bytes. Usage: This message is used to turn on or turn off beeper when the keypad is pressing. Message element: Request frame (HOST to PIN Pad) Field Length Value and description 1 <0F> 1M 2 Message ID [option] 1 ASCII character ‘0’: Disable keypad beeper.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 5 – Administration and maintenance messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Message 1M Direction PIN Pad (Good LRC) (Bad LRC) (after 3 NAKs) Message 1M (Response frame) / / Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Section 6 Contact EMV Level 2 transaction messages EMV Level2 transaction messages are divided into 2 groups. One is EMV-configuration data operation messages (T01, T03, T05, T07, T09, T0B) and the other one is EMV-transaction messages (T11, T13, T15, T17, T19, T1C, T21, T25, T27, T29).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 The meaning of error code in the [Err Message] are listed below: Error Code Error Description 00000003 Service not accepted. 00000F9B Store configuration data error. 8FFF0001 Out of memory. 8FFF0002 Parameter error. 8FFFFF02 Tag’s data format error. 8FFFFF03 Some mandatory tags are not configured well. 8FFFFFF0 Command format error.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T01 Format: UDN PM0103-U Rev. 06 2015-04-20 Terminal Configuration Setup T01[Pkt No.][Total Pkts][DO][LRC] Message length: Variable. Usage: Host can use this command to send terminal configuration data to PIN pad, this command can be sent many times. PIN pad will save those data inside and apply those data when do the transaction.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Example: (Clear the terminal configuration data and then setup new data.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 PIN pad will check if terminal downloads minimum set of terminal-related information into PIN pad. The download process will be failed if there is not enough data in this message.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T02 Format: UDN PM0103-U Rev. 06 2015-04-20 Terminal Configuration Setup Response T02[Res][Reason][Err Msg][Err Tag Number][LRC] Message length: Variable. Usage: The response message of command T01.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T03 Format: UDN PM0103-U Rev. 06 2015-04-20 Certification Authority Public Key Setup T03[Op code][RID][PKI][Hash Algo][Hash][PK Algo][PK Leng] [PK Exponent][LRC] T03[Op code][PK Modulus] Message length: Variable.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages 1 <03> [LRC] 1 Checksum UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T04 UDN PM0103-U Rev. 06 2015-04-20 Certification Authority Public Key Setup Response Format: T04[Sequence][Res][Reason][Err Msg][LRC] Message length: Variable. Usage: The response message of command T03.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T05 Format: UDN PM0103-U Rev. 06 2015-04-20 EMV Application Configuration Setup T05[Pkt No.][Total Pkts][AID][DO][LRC] T05[Pkt No.][Total Pkts][DO][LRC] Message length: Variable. Usage: Host can use this command to send the EMV application configuration data to PIN pad, this command can be sent many times but each command is only for one application.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Data Format: (Please also refer to EMV 4.3 BOOK3, section 4.3) Format Description 1 a - Alphabetic data (a ~z, A~Z) 2 b - unsigned binary numbers or bit combinations 3 an - Alphanumeric data 4 ans - Alphanumeric Special data (Characters defined in ISO8859) 5 cn - Compressed numeric data (0~9, left justify, pad hexadecimal ‘F’s. Ex.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Terminal Action Code - Default See below b 40000007 5 Terminal Action Code - Denial See below b 40000008 5 Terminal Action Code - Online See below b 40000009 5 Data Tags required in Online See below b 4000000A var. See below b 4000000D var. Data tags for batch data capture See below b 40000010 var. ARC Approve See below b 4000001A var.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST 1st Message T05 Direction PIN pad (Good LRC) (Bad LRC) (after 3 NAKs) 1st Message T06 (Good LRC) (Bad LRC) (after 3 NAKs) 2nd Message T05 (Good LRC) (Bad LRC) (after 3 NAKs) Application Select Response.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T06 Format: UDN PM0103-U Rev. 06 2015-04-20 EMV Application Configuration Setup Response T06[Res][Reason][Err Msg][Err Tag Number][LRC] Message length: Variable. Usage: The response message of command T05.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T07 Format: UDN PM0103-U Rev. 06 2015-04-20 Data Format Table Setup T07[Clear][DO][LRC] Message length: Variable. Usage: PIN pad will check the consistent of TLV object from terminal via message T01 and T05. Terminal can add more TLV format checking rules into PIN pad. PIN pad will send the message T08 (Data Format Setup Response) to host.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 st 1 Message T08 (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T08 Format: UDN PM0103-U Rev. 06 2015-04-20 Data Format Table Setup Response T08[Res][Reason][Err Msg][LRC] Message length: Variable. Usage: The response message of command T07.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T09 UDN PM0103-U Rev. 06 2015-04-20 EMV Config Data Query Message Format: T09[Config Type][LRC] Message length: Fixed 7 bytes. Usage: Get the group ID of EMV application data or CA public key stored in PIN pad. Message element: Field Length Value and description 1 <02> T09 3 Message ID [Config Type] 1 1: All the IDs of CA public key.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T0A Response of EMV Config Data Query Message Format: T0A[Config Type][Status][ID List][LRC] Message length: Variable. Usage: Get the group ID of EMV application data or CA public key stored in PIN pad.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T0B Delete EMV Configuration Data Message. Format: T0B[Config Type][ID List][LRC] Message length: Variable. Usage: Host can use this command to delete EMV application configuration data or CA public key in PIN pad, this command can be sent many times.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T0C Response of Delete EMV Configuration Data Message. Format: T0C[Config Type][Status][Del Result][LRC] Message length: Variable. Usage: The response message of command T0B. Message element: Field Length Value and description 1 <02> T0C 3 Message ID Config Type 1 1: CA public key. 2: EMV application data.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T11 Format: UDN PM0103-U Rev. 06 2015-04-20 Application Select T11[LRC] Message length: Fixed 6 bytes. Usage: PIN pad performs an application select on the active smart card. PIN pad will also prompt user to insert its card if the card has not yet presented. PIN pad will send the message T12 (Application Selection Response) to host.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T12 Format: UDN PM0103-U Rev. 06 2015-04-20 Application Select Response T12[Status][Reason][Application Name][ErrMessaeg][LRC] Message length: Variable, depending on the length of returned application name. Usage: The message contains the name of final selected application on the smart card to be sent to host. In general, application name conforms to the EMV 4.3 level 2.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T13 Format: UDN PM0103-U Rev. 06 2015-04-20 Application Select Next T13[LRC] Message length: Fixed 6 bytes. Usage: If the selected EMV application is blocked (terminal will know that in message T16), terminal could issue this message to ask PIN pad to display rest of EMV application for cardholder selection.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T15 Format: UDN PM0103-U Rev. 06 2015-04-20 Start Transaction T15[AmtAuth][AmtOther] [CurExponent][CurCode][TranType][TranInfo] [Account Type][Force Online][Encrypted Session key] [LRC] Message length: Variable. Usage: PIN pad performs an completed EMV transaction flow (via ‘Initiate Application’ through ‘Completion’, see EMV 4.3, book 3, chap 8.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 1 <1A> [Force Online] 1 1: Force Online 1 <1A> [Encrypted 16 Session key] 32 or (Optional, if the transaction needs user to enter password for online authorized and not session key exists, PIN pad will ignore the password input and indicate that no password is entered) DES session key / TDES session key used for EMV online PIN entry.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T16 UDN PM0103-U Rev. 06 2015-04-20 Start Transaction Response Format: T16[Status][Reason][Err Message][Result] [LRC] Message length: Variable. Usage: The message contains the transaction result on the smart card to be sent to terminal.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 application has blocked) but has another application ID within this IC card, PIN pad will response ‘A4’ to let terminal know and terminal can issue message T13 to select another application ID and issue message T15 to re-start the transaction. Please refer the paragraph of “Ref.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T17 Format: UDN PM0103-U Rev. 06 2015-04-20 Send Online Authorized Code T17[OnlineRes][ARC][IAD][LRC] Message length: Fixed 7 or 16 bytes. Usage: PIN pad continues to perform the EMV transaction flow after received this online response from host when the transaction response T16 is ‘A1’ (online authorized request, see EMV 4.3, book 3, chap 8.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Note: If [Online Res] is ‘4’, then PIN pad will decide to approve or decline by the rule of TAC/IAC default. Message flow: HOST Message T17 Direction PIN pad (Good LRC) (Bad LRC) (after 3 NAKs) Start Transaction Response. Message T16 (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T19 Format: UDN PM0103-U Rev. 06 2015-04-20 Send Issuer Script Command T19[IS][LRC] Message length: Var. Usage: PIN pad performs the Issuer script processing as in EMV transaction flow after received this command from the host those are the response message when doing online authorization.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 T1 L1 V1 T2 L2 V2 T3 L3 V3 Tx Lx Vx ‘86’ L(V1) Cmd ‘86’ L(V2) Cmd ‘86’ L(V3) Cmd ‘86’ L(Vx) cmd Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T1D Transaction Data loading Format: T1D[DO][LRC] Message length: Variable. Usage: Terminal can use this command to send transaction data to PIN pad, this command can be sent many times. PIN pad will save those data inside and apply those data when do the transaction. PIN pad will send the message T1E to terminal.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages PAN: UDN PM0103-U Rev. 06 2015-04-20 123456789022334455(Compressed Numeric) Terminal sends, T1D5F30602115A5123456789022334455[LRC] NOTE. The data from online host can be installed into PIN pad also. Please do not load ARC, IAD and issuer scripts via this message. NOTE. Terminal should issue this message to load online response data before issue message T17.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T1E Format: UDN PM0103-U Rev. 06 2015-04-20 Transaction Data loading Response T1E[Res][Reason][Err Msg][LRC] Message length: Variable. Usage: The response message of command T1D.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T20 Format: UDN PM0103-U Rev. 06 2015-04-20 Send Issuer Script Command Response T20[Status][Reason][Err Message][LRC] Message length: Variable. Usage: The message response the command T19. Message element: Field Lengt Value and description h 1 <02> T20 3 Message ID Status 1 0:OK ; 1:Fail Reason 1 Optional.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T21 UDN PM0103-U Rev. 06 2015-04-20 Get Transaction Result’s Data Format: T21[DOL][LRC] Message length: Var. Usage: PIN pad will retrieve the data that list on the DOL after EMV transaction done. PIN pad will send the message T22 (Get Transaction Result’s Data Response) to host.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T22 Format: UDN PM0103-U Rev. 06 2015-04-20 Get Transaction Result’s Data Response T22[DO][LRC] Message length: Var. Usage: The message contains the transaction result’s data to be sent to host.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T23 Format: UDN PM0103-U Rev. 06 2015-04-20 Erase EMV Transaction Log. T23[LRC] Message length: Fixed 6 bytes. Usage: The message is used to purge the memory (flash) area for transaction logs.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T1C Terminal Cancel Transaction Format: T1C[LRC] Message length: Fixed 6 bytes Usage: The message used to cancel the transaction..
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T25 Get Batch Data Format: T25[LRC] UDN PM0103-U Rev. 06 2015-04-20 Message length: Fixed 6 bytes. Usage: Issue this message to get batch data (EMV). Message element: Field Length Value and description 1 <02> T25 3 Message ID 1 <03> [LRC] 1 Checksum Each issuing of message T25, PIN pad will return one of record in batched data via message T26.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T26 Format: UDN PM0103-U Rev. 06 2015-04-20 Response of Get Batch Data message T26[Status][record of Batch data][LRC] Message length: var. Usage: Return batch data to terminal. Message element: Field Length Value and description 1 <02> T26 3 Message ID Status 1 0: No more record. 1: It is the last one record inside PIN pad. 2: There is still record inside PIN pad.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T27 Format: UDN PM0103-U Rev. 06 2015-04-20 Get Online authorization Data T27[LRC] Message length: Fixed 6 bytes. Usage: Issue this message to get data (EMV) for online authorization.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T28 Response of Get Online authorization Data message Format: T28[record of online authorization data][LRC] Message length: var. Usage: Return online authorization data to terminal. Message element: Field Length Value and description 1 <02> T28 3 Message ID Online authorization data Var. Hex string.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Message T29 Format: UDN PM0103-U Rev. 06 2015-04-20 Get Reversal Data T29[LRC] Message length: Fixed 6 bytes. Usage: Issue this message to get data (EMV) for reversal.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T2A Response of Get Reversal Data message Format: T2A[record of Reversal data][LRC] Message length: var. Usage: Return reversal data to terminal.. Message element: Field Length Value and description 1 <02> T2A 3 Message ID Reversal data Var. Hex string. Optional, if this transaction needs a reversal.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Overall Contact EMV Level 2 transaction flow reference Ref.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages Ref. 3 UDN PM0103-U Rev. 06 2015-04-20 Packet command flow for transaction with MSR. HOST Direction T11 (Application Select ) PIN pad T12 (Application Select Response indicates that PIN pad fails to read IC card) Issue magnetic stripe card commands T1D (Send necessary magnetic stripe card data to PIN pad.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Ref.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 6 – Contact EMV Level 2 transaction messages T15 (Start Transaction) UDN PM0103-U Rev. 06 2015-04-20 T16 (Start Transaction Response) [Result] = ‘Y1’ or ‘Z1” T21 (Get Transaction Result’s Data) T22 (Get Transaction Result’s Data Response) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages Section 7 UDN PM0103-U Rev. 06 2015-04-20 Contactless EMV Level 2 transaction messages Contactless EMV Level2 transaction messages are divided into 2 groups. One is EMV-configuration data operation messages (T51, T53, T55 ,T75, T77 ) and the other one is EMV-transaction messages (T61, T63, T65, T6C, T71 and T73).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 The meaning of error code in the [Err Message] are listed below: Error Code Error Description 00000003 Service not accepted. 00000F9B Store configuration data error. 8FFF0001 Out of memory. 8FFF0002 Parameter error. 8FFFFF02 Tag’s data format error. 8FFFFF03 Some mandatory tags are not configured well. 8FFFFFF0 Command format error.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages Message T51 Format: UDN PM0103-U Rev. 06 2015-04-20 PCD Terminal Configuration Setup T51[Pkt No.][Total Pkts][DO][LRC] Message length: Variable. Usage: Host can use this command to send terminal configuration data to PIN pad, this command can be sent many times. PIN pad will save those data inside and apply those data when do the transaction.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Example: (Clear the terminal configuration data and then setup new data.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages … … Last one Message T51 UDN PM0103-U Rev. 06 2015-04-20 … (Good LRC) (Bad LRC) (after 3 NAKs) Last one Message T52 (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T52 PCD Terminal Configuration Setup Response Format: T52[Res][Reason][Err Msg][Err Tag Number][LRC] Message length: Variable. Usage: The response message of command T51.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T53 PCD Certification Authority Public Key Setup Format: T53[Op code][RID][PKI][Hash Algo][Hash][PK Algo][PK Leng] [PK Exponent][LRC] T53[Op code][PK Modulus] Message length: Variable.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages 1 <03> [LRC] 1 Checksum UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T54 PCD Certification Authority Public Key Setup Response Format: T54[Sequence][Res][Reason][Err Msg][LRC] Message length: Variable. Usage: The response message of command T53.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T55 PCD Application Configuration Setup Format: T55[Pkt No.][Total Pkts][TXN][KID][AID] [DO][LRC] T55[Pkt No.][Total Pkts][DO][LRC] Message length: Variable.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages DO Var. 1 <03> [LRC] 1 Checksum Uniform Industrial Corp. UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Data Format: (Please also refer to EMV Contactless Specifications v2.4) Format Description 1 a - Alphabetic data (a ~z, A~Z) 2 b - unsigned binary numbers or bit combinations 3 an - Alphanumeric data 4 ans - Alphanumeric Special data (Characters defined in ISO8859) 5 cn - Compressed numeric data (0~9, left justify, pad hexadecimal ‘F’s. Ex.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST 1st Message T55 Direction PIN pad (Good LRC) (Bad LRC) (after 3 NAKs) 1st Message T56 (Good LRC) (Bad LRC) (after 3 NAKs) 2nd Message T55 (Good LRC) (Bad LRC) (after 3 NAKs) Application Select Response.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T56 PCD Application Configuration Setup Response Format: T56[Resp][Reason][Err Msg][Err Tag Number][LRC] Message length: Variable. Usage: The response message of command T55.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T59 PCD Config Data Query Message Format: T59[Config Type][control] [LRC] Message length: Fixed 7 bytes. Usage: Get the group ID of PCD application data or CA public key stored in PIN pad. Message element: Field Length Value and description 1 <02> T59 3 Message ID [Config Type] 1 1: All the IDs of PCD public key.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T5A Response of PCD Config Data Query Message Format: T5A[Result][ID List][LRC] Message length: Variable. Usage: Get the group ID of EMV application data or CA public key stored in PIN pad.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T5B Delete PCD Configuration Data Message. Format: T5B[Config Type][ID List][LRC] Message length: Variable. Usage: Host can use this command to delete PCD application configuration data or CA public key in PIN pad, this command can be sent many times.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T5C Response of Delete PCD Configuration Data Message. Format: T5C[Status][Del Result][LRC] Message length: Variable. Usage: The response message of command T5B. Message element: Field Length Value and description 1 <02> T5C 3 Message ID 1 <1A> Status 1 0: Delete OK 1: Fatal Error 2: Format error.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T5D PCD House Keeping Message. Format: T5D[Config Type][LRC] Message length: Variable. Usage: Host can use this command to call PCD housekeeping in PIN pad, this command can be sent many times. Message element: Field Length Value and description 1 <02> T5B 3 Message ID 1 <1A> Config Type 1 1: Paypass.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T5E Response of PCD House Keeping Message. Format: T5E[Status][Result][LRC] Message length: Variable. Usage: The response message of command T5D. Message element: Field Length Value and description 1 <02> T5E 3 Message ID 1 <1A> Status 1 0: Unkown type 1: Paypass Result var 0: Empty or not expired.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T61 Start Transaction Format: T61[AmtAuth][AmtOther] [CurExponent][CurCode][TranType][TranInfo] [Account Type][Force Online][Encrypted Session key] [LRC] Message length: Variable.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages [Encrypted 16 Session key] 32 or UDN PM0103-U Rev. 06 2015-04-20 Optional, DES or TDES session key that used to encrypt PIN entry when CVM ask online PIN verify. If the CVM ask online PIN verify but this session key does not input, PIN pad will ignore the PIN entry request and indicate that no PIN is entered in the TVR register. 1 <1A>,Optional, only if [DO] is existed DO Var.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T62 Start Transaction Response Format: T62[Status][Reason][Err Message][Result][LRC] Message length: Variable. Usage: The message contains the transaction result on the smart card to be sent to terminal. Message element: Field Length Value and description 1 <02> T62 3 Message ID [Status] 1 0:OK; 1:Fail [Reason] 1 Optional.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T63 Get Transaction Result’s Data Format: T63[control][DOL][LRC] Message length: Var. Usage: PIN pad will retrieve the data that list on the DOL after EMV transaction done. PIN pad will send the message T64 (Get Transaction Result’s Data Response) to host.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T64 Get Transaction Result’s Data Response Format: T64[Pkt NO.][Total Pkt][DO][LRC] Message length: Var. Usage: The message contains the transaction result’s data to be sent to host. Message element: Field Length Value and description 1 <02> T64 3 Message ID [Pkt NO.] 1 Decimal. Packet sequence number (1 ~ 9). [Total Pkt] 1 Decimal.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T65 Get Online authorization Data Format: T65[Data type][control][LRC] Message length: Variable 7 to 8 bytes. Usage: Issue this message to get data (EMV) for online authorization.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T66 Response of Get Online authorization Data message Format: T66[Pkt NO.][Total Pkt][online authorization data][LRC] Message length: var. Usage: Return online authorization data to terminal. Message element: Field Length Value and description 1 <02> T66 3 Message ID [Pkt NO.] 1 Decimal.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T6C Cancel PCD Transaction Format: T6C[LRC] Message length: Fixed 6 bytes. Usage: This message used to cancel the transaction for contactless card.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T71 Send PCD Online Authorized Code Format: T71[Online Res][ARC][IAD][LRC] Message length: Fixed 7 or 16 bytes. Usage: After receive this message T71, PIN pad will continue to perform the EMV transaction flow if the previous T62 response result is ‘A1’ (online authorized request, see EMV Contactless Specifications v2.4).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Message T71 Direction PIN pad (Good LRC) (Bad LRC) (after 3 NAKs) Start Transaction Response. Message T62 (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages Message T73 Format: UDN PM0103-U Rev. 06 2015-04-20 Send Issuer Script Command T73[IS][LRC] Message length: Var. Usage: PIN pad performs the Issuer script processing as in EMV transaction flow after received this command from the host those are the response message when doing online authorization.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T75 Revocation List Setup Format: T75[RID][SN][PKI][LRC] Message length: Fixed 25 bytes Usage: Host can use this command to send revocation key information to PIN pad, this command can be sent many times. PIN pad will save those information inside and check those information when do the transaction.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T76 Revocation List Setup Response Format: T76[Res][Reason][Err Msg][LRC] Message length: Variable. Usage: The response message of command T75.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T77 Exception List Setup Format: T77[PAN][[PAN Seq. No.][LRC] Message length: Variable. Usage: Host can use this command to send the exception pan to PIN pad. PIN pad will save the information inside and check them when do the transaction. Once the transaction pan is on the exception list, the transaction will be terminated.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Message T78 Exception List Setup Response Format: T78[Resp][Reason][Err Msg][LRC] Message length: Variable. Usage: The response message of command T77.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages UDN PM0103-U Rev. 06 2015-04-20 Overall Contactless EMV Level 2 transaction flow reference PIN pad provide one complete EMV Level 2 transaction with online or offline approval by various command flow. To force PIN pad to leave this command flow, you can either press the [CANCEL] key or send one T6C command to PIN pad. Ref.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 7 – Contactless EMV Level 2 transaction messages Ref. 2 UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 8 – MIFARE card messages Section 8 UDN PM0103-U Rev. 06 2015-04-20 MIFARE card messages This chapter describe the command of MIFARE card. The PIN pad supports MIFARE classic, Ultralight and DESFire card. All MIFARE card are compliant to the ISO/IEC 14443-1, 2 and 3. The MIFARE DESFire card support ISO/IEC 14443-4 protocol (also called “T=CL” protocol). Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P01 Format: 2015-04-20 Enable/Disable MIFARE P01[Flag][LRC] (request frame) P01[Result][Reason][LRC] (response frame) Message length: Fixed 7 bytes for request frame Variable for response frame. Usage: Enable or Disable MIFARE.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P01 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P01 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P02 Format: 2015-04-20 Query MIFARE Presence P02[LRC] (request frame) P02[Result][ATQA][Reason][LRC] (response frame) Message length: Fixed 6 bytes for request frame Variable for response frame. Usage: Send WUPA command to contact less card.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P02 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P02 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P03 Format: 2015-04-20 MIFARE Anti-collision P03[LRC] (request frame) P03[Result][UID][Reason][LRC] (response frame) Message length: Fixed 6 bytes for request frame Variable for response frame. Usage: This command is used to get the card’s UID. When many cards in RFID field, PIN pad will get one card’s UID.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P03 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P03 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P04 Format: 2015-04-20 MIFARE Selection P04[LRC] (request frame) P04[Result][SAK][Reason][LRC] (response frame) Message length: Fixed 6 bytes for request frame Variable for response frame. Usage: Select one card to activate.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P04 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P04 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P05 2015-04-20 MIFARE Classic/Ultralight Card Activation Format: P05[LRC] (request frame) P05[Result][ATQA][SAK][UID] [LRC] (response frame1) P05[Result][Reason][LRC] (response frame2) Message length: Fixed 6 bytes for request frame Variable for response frame. Usage: Activate MIFARE card.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Response frame2 (PIN pad to HOST) Field Length Value and description 1 <02> P05 3 Message ID [Result] 1 ‘1’: Fail. [Reason] 1 ‘1’: Format error. ‘2’: Sequence error. ‘3’: Card activate fail.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P06 2015-04-20 MIFARE Classic/Ultralight Card HALT Format: P06[LRC] (request frame) P06[Result][Reason][LRC] (response frame) Message length: Fixed 6 bytes for request frame Fixed 7 or 8 bytes for response frame. Usage: Send HALT command will deactivate card.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P06 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P06 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P07 Format: 2015-04-20 MIFARE Classic Card Authentication P07[Sector number][Key type][key value][LRC] (request frame 1) P07[Sector number][Key number][key type][LRC] (request frame 2) P07[Result][Reason][LRC] (response frame) Message length: variable. Usage: Before any memory operation can be done, the card has to be selected and authenticated.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages [Key number] 2015-04-20 3 The key stored in PIN pad. Decimal string: 000~255. [Key type] 1 Determine which card type to authenticate. Format: ‘A’ or ‘B’. 1 <03> [LRC] 1 Checksum Response frame (PIN pad to HOST) Field Length Value and description 1 <02> P07 3 Message ID [Result] 1 ‘0’: Success. ‘1’: Fail. [Reason] 1 Optional: if [Result] = ‘1’ ‘1’: Format error.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P08 Format: 2015-04-20 MIFARE Ultralight Card Read Page P08[page number][LRC] (request frame) P08[Result][Page data][Reason][LRC] (response frame) Message length: Fixed 8 ytes for request frame Fixed 8 or 15 bytes for response frame. Usage: Read the block data.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P08 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P08 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message P09 MIFARE Ultralight Card Write Page Format: P09[page number][page data][LRC] (request frame) P09[Result][Reason][LRC] (response frame) Message length: Fixed 16 ytes for request frame Fixed 7 or 8 bytes for response frame. Usage: Write the data to the specific block.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P09 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P09 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P10 Format: 2015-04-20 MIFARE Classic/Ultralight Card Read Block P10[Block number][LRC] (request frame) P10[Result][Block data][Reason][LRC] (response frame) Message length: Fixed 9 bytes for request frame Fixed 8 or 39 bytes for response frame. Usage: Read the block data.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P10 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P10 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message P11 MIFARE Classic/Ultralight Card Write Block Format: P11[Block number][Block data][LRC] (request frame) P11[Result][Reason][LRC] (response frame) Message length: Fixed 41 bytes for request frame Fixed 7 or 8 bytes for response frame. Usage: Write the data to the specific block.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P11 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P11 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P12 2015-04-20 MIFARE Classic/Ultralight Card Read Sector Format: P12[Sector number][LRC] (request frame) P12[Result][Sector data][Reason][LRC] (response frame) Message length: Fixed 8 bytes for request frame Variable for response frame. Usage: Read a sector data from MIFARE card.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P12 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P12 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P13 Format: 2015-04-20 MIFARE Classic/Ultralight Card Write Sector P13[Sector number][Sector data][LRC] (request frame) P13[Result][Reason][LRC] (response frame) Message length: Variable for request frame Fixed 7 or 8 bytes for response frame. Usage: Write a sector data to MIFARE card. NOTE: ultra light card sector 0: 48 bytes ( 96 bytes hexadecimal string ).
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Response frame (PIN pad to HOST) Field Length Value and description 1 <02> P13 3 Message ID [Result] 1 ‘0’: Success. ‘1’: Fail. [Reason] 1 Optional: if [Result] = ‘1’ ‘1’: Format error. ‘2’: Sequence error. ‘3’: Write sector fail.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message P14 MIFARE Classic Card Value Operation Format: P14[Block number][Op mode][Value][Transfer block] [LRC] (request frame) P14[Result][Reason][LRC] (response frame) Message length: Fixed 13, 18 or 21 bytes for request frame Fixed 7 or 8 bytes for response frame. Usage: Value operation with block data.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Response frame (PIN pad to HOST) Field Length Value and description 1 <02> P14 3 Message ID [Result] 1 ‘0’: Success. ‘1’: Fail. [Reason] 1 Optional: if [Result] = ‘1’ ‘1’: Format error. ‘2’: Sequence error. ‘3’: Create value block fail. ‘4’: Value restore fail. ‘5’: Value operation fail. ‘6’: Value transfer fail.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P15 2015-04-20 Load MIFARE key Format: P15[Key number][Key A value][Key B value][LRC] (request frame) P15[Result][Reason][LRC] (response frame) Message length: Fixed 33 bytes for request frame Fixed 7 or 8 bytes for response frame. Usage: PIN pad can save up to 256 key sets for MIFARE Classic card application.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P15 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P15 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P16 2015-04-20 Identify MIFARE Card Type Format: P16[LRC] (request frame) P16[Result][Card type][Reason][LRC] (response frame) Message length: Fixed 6 bytes for request frame Fixed 8 bytes for response frame. Usage: This command reports MIFARE card type.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 ‘3’: Card detect fail. 1 <03> [LRC] 1 Checksum Message flow: HOST Message P16 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P16 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P17 2015-04-20 MIFARE DESfire Card Activation Format: P17[LRC] (request frame) P17[Result][ATS/PUPI][Reason][LRC] (response frame) Message length: Fixed 6 bytes for request frame Variable for response frame. Usage: This command will activate PICC card.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P17 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P17 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Message P18 2015-04-20 MIFARE DESfire Card Deselect Format: P18[LRC] (request frame) P18[Result][Reason][LRC] (response frame) Message length: Fixed 6 bytes for request frame Fixed 7 or 8 bytes for response frame. Usage: Sends ISO/IEC 14443-4 DESELECT command to the card. After the card receive DESELECT command, the card will be brought to the HALT state.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P18 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P18 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message P19 I/O to MIFARE card with APDU format Format: P19[C-APDU][LRC] (request frame) P19[Result][R-APDU][Reason][LRC] (response frame) Message length: variable. Usage: The command is used to pass an APDU to the card where both data and an ISO status are expected in the response. Note: 1.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages [LRC] 2015-04-20 1 Checksum Message flow: HOST Message P19 (request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P19 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message P20 I/O to MIFARE card for block data exchange Format: P20[CRC mode][Wait time][Block data][LRC] (request frame) P20[Result][Block data][Reason][LRC] (response frame) Message length: variable. Usage: The command is used to pass a block data to a card. Note: 1. The format of block data defined in ISO/IEC 14443-4 chapter 7.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Message flow: HOST Message P20(request Direction PIN pad frame) (Good LRC) (Bad LRC) (after 3 NAKs) Message P20 (response frame) (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages 2015-04-20 Overall MIFARE operation flow reference Before any memory operation for MIFARE card, user need to activate the card as follows. Ref. 1 Activate and authenticate for MIFARE classic card.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Ref. 2 2015-04-20 The quick method for activating classic card. HOST Direction PIN pad P01 (Enable Mifare) P05 (Classic Card Activation) P16 (Identify MIFARE Card Type) P01 (Response Frame) P05 (Response Frame) P16 (Response Frame) ‘2’: MIFARE Classic 1K. ‘3’: MIFARE Classic 4K.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Ref. 3 2015-04-20 Activate and authenticate for MIFARE Ultralight card. HOST Direction PIN pad P01 (Enable Mifare) P02 (Query MIFARE Presence) P01 (Response Frame) P02 (Response Frame) P03 (Anti-collision) P03 (Response Frame) P04 (Selection) P16 (Identify MIFARE Card Type) P04 (Response Frame) P16 (Response Frame) ‘1’: MIFARE Ultralight.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Ref. 4 2015-04-20 The quick method for activating Ultralight card. HOST Direction PIN pad P01 (Enable Mifare) P05 (Ultralight Card Activation) P16 (Identify MIFARE Card Type) P01 (Response Frame) P05 (Response Frame) P16 (Response Frame) ‘1’: MIFARE Ultralight.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Section 8 – MIFARE card messages Ref. 5 2015-04-20 Activating for DESFire card HOST Direction P01 (Enable Mifare) P17 (DESfire Card Activation) P01 (Response Frame) P16 (Identify MIFARE Card Type) PIN pad P17 (Response Frame) P16 (Response Frame) ‘4’: MIFARE DESFire. P19、P20 (Request frame) P18 (DESfire Card Deselect) P01 (Disable Mifare) P18 (Response Frame) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys Section 9 UDN PM0103-U Rev. 06 2015-04-20 Online transaction messages with Master/Session Keys (MK/SK) Message 70 PIN entry request (MK/SK) Format: 70.[Account][session key][Amount] [timeout][LRC] Message length: Variable 36 to 51 bytes (max. 67 bytes for TDES session key). Usage: Display prompt and accept customer PIN input.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys PP791 DES decrypts L-key and UDN PM0103-U Rev. 06 2015-04-20 PP791 DES decrypts [session key] R-key of [session key] value, using value, using active master key. Single length active master key. PIN blocks are DES encrypted by PIN blocks are TDES encrypted by session key. session key. Message element: Field Length Value and description 1 <02> 70 2 Message ID .
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message 70 PIN pad (Good LRC) (Bad LRC) (after 3 NAKs) Prompt user to enter PIN. Message 71 or when input timed out or user pressed [CAN] (Good echo) (Bad LRC) (after 3 NAKs) Display “PIN PAD PROCESSING” until CLEAR pressed or another message received. Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message 71 Encrypted PIN Block Response Format: 71.01[PIN][LRC] (PIN block frame) 71[error code][LRC] (Error code frame) Message length: Fixed 27 bytes for PIN block frame, 6 bytes for error code frame. Usage: Send the entered PIN to HOST in encrypted format.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message 70/Z60/Z62 PIN pad (Good LRC) (Bad LRC) (after 3 NAKs) Message 71 or when input tined out or user pressed [CAN] (Good echo) (Bad LRC) (after 3 NAKs) Display processing prompt Error codes: Code Meaning '0' Null Account input field. '1' Key value error.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message 72 PIN Entry Cancel Format: 72[LRC] Message length: Fixed 5 bytes. Usage: Cancel current transaction and return the PIN pad to IDLE state, used to interrupt command in process.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message Z0 Move Display Cursor Format: Z0[YY][LRC] Message length: Fixed 7 bytes. Usage: Move the display cursor. Z0 message is enabled when PIN pad receives first Z2 message. Under Z2-authenticated mode, Z0 message is also disabled.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message Z1 Reset State Format: Z1[LRC] Message length: Fixed 5 bytes. Usage: Force the PIN pad to enter IDLE state. This command also reset magnet card swiping command Q1, Q8, Q9 and QF.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message Z2 Display String Format: Z2[string][LRC] (Request frame, normal) Z2[PromptID][LRC] (Request frame, authenticated) Z2[PromptID][LRC] (Request frame, authenticated for PIN entry) Z2[status][LRC] (Response frame, authenticated) Message length: Variable, at least 6 bytes.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Z2 request frame (authenticated mode with fixed prompt) Field Length Value and description 1 <02> Z2 2 Message ID 1 <1D>, mark of authenticated frame with fixed prompt. Prompt ID 3 Prompt ID that corresponds to fixed prompt provided by PIN pad. Decimal string: 001 ~ 999.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Z2 response frame (authenticated mode) Field Length Value and description 1 <02> Z2 2 Message ID [status] 1 ‘0’: OK ‘1’: Prompt ID not supported.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message Z3 Display Line Prompts Format: Z3[count][prompt1][prompt2..7][LRC] (Request frame, normal) Z3[PromptID1][PromptID2..7][LRC] (Request frame, authenticated) Z3[PromptID1][PromptID2..
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Z3 request frame (authenticated mode or PIN entry mode) Field Length Value and description 1 <02> Z3 2 Message ID or 1 <1D> for authenticated mode <1E> for PIN entry mode (In these mode, PIN Pad will clear screen content.) [Prompt ID1] 3 Prompt ID that corresponds to fixed prompt provided by PIN pad. Decimal string: 001 ~ 999.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Z2 / Z3 Authenticated mode with fixed prompt To enable message Z42 and Z50, user has to issue Z2 / Z3 message with a prompt ID supported by PIN pad (See Appendix H). These prompts are verified during Payment Card Industry (PCI) Security Conformance tests to make sure users will not expose sensitive information (such as PIN) accidentally.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message Z2 Display String with Authentication Code Format: Z2[KeyID][MAC][Mode][string][LRC] (Request frame) Z2[status][LRC] (Response frame) Message length: Variable. Usage: This command allows acquirer to show free message on screen as prompt for clear text entry (Z42, Z50) and PIN entry (Z60).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 screen contents and also reset entry mode. 1 <03> [LRC] 1 Checksum Z2 with MAC, response frame Field Length Value and description 1 <02> Z2 2 Message ID [status] 1 ‘0’: OK ‘1’: MAC key ID error (out of ‘B’~’E’). ‘2’: MAC key attribute error. ‘3’: MAC value error. ‘4’: Packet format error.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message Z3 Display Line Prompts with Authentication Code Format: Z3[KeyID][MAC][count][Mode][prompt1] [prompt2..7][LRC] (Request frame) Z3[status][LRC] (Response frame) Message length: Variable. Usage: This command allows acquirer to show free message on screen as prompt for clear text entry (Z42, Z50) and PIN entry (Z60).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys [prompt N] Var. UDN PM0103-U Rev. 06 2015-04-20 Second to end string to be displayed. Each prompt is separated by . 1 <1A> (optional) When exists, PIN pad will clear clear screen contents.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Example to use Z2 / Z3 with Authencation Code. [Example 1] 3. Use message 02 (ANSI TR31 frame) to load following key to position ‘B’: BCDE90123456789ABCDE90123456789A, Usage = M3, Mode = V. 4. Assume we want to clear screen and display following string for PIN entry: “AMOUNT 123456.78 ENTER YOUR PIN”. 5.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys Message Z42 Format: UDN PM0103-U Rev. 06 2015-04-20 Read Key Code Z42[timeout][LRC] Message length: Variable 6 to 9 bytes. Usage: Once PP791 receives this command, it begins polling functional key array until timeout. If PP791 received Z2 / Z3 authenticated frame before Z42, it will return any key pressed by user by ASCII key codes via message Z43.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys Message Z43 Read Key Code Response Format: Z43[Keycode][LRC] UDN PM0103-U Rev. 06 2015-04-20 Message length: Fixed 7 bytes. Usage: This is the response frame of Z42. Message element: Field Length Value and description 1 <02> Z43 3 Message ID [keycode] 1 ‘0’ to ‘9’ ASCII ‘A’ to ‘C’ denotes 3 function keys.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys Message Z50 Format: UDN PM0103-U Rev. 06 2015-04-20 String Entry Request Z50[echo flag][timeout][max entry][LRC] Message length: Variable 10 to 12 bytes. Usage: Request user to input string on keypad. Then PP791 will wait for keypad input and store ASCII data into internal buffer. To input English character on the keypad, press [F2] key to rotate the last character.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message Z2 or Z3 PP791 (Good LRC) (Bad LRC) (after 3 NAKs) Show prompt message Message Z50 (Good LRC) (Bad LRC) (after 3 NAKs) Message Z51 (or when input cancelled) // Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys Message Z51 Format: UDN PM0103-U Rev. 06 2015-04-20 String Entry Response Z51[string][LRC] Message length: Variable, maximum 55 bytes. Usage: This is the response frame of Z50. Message element: Field Length Value and description 1 <02> Z51 3 Message ID [string] 1..49 User inputted string. ‘?’ means time out.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys Message Z60 UDN PM0103-U Rev. 06 2015-04-20 PIN entry request with external prompt (MK/SK) Format: Z60.[account][session key][timeout][LRC] Message length: Variable 32 to 43 bytes (max. 59 bytes for TDES session key). Usage: Request the PIN pad to accept customer PIN entry and encrypt it using the account number and working key sent along in this message.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys Message Z62 Format: UDN PM0103-U Rev. 06 2015-04-20 PIN entry request with customized prompt (MK/SK) Z62.[account][session key][minPIN][maxPIN] [null flag][prompt1][prompt2][proc prompt] [timeout][LRC] Message length: Variable 39 to 100 bytes (max. 116 bytes for TDES session key).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message element: Field Length Value and description 1 <02> Z62 3 Message ID . 1 <2E>, delimiter [account] 8 .. 19 Account number 1 <1C>, field separator [session key] 16 or 32 Session key encrypted with selected master key. 32-characters session key produces TDES encrypted PIN block with EDE order. Format: hexadecimal string.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message Z62 PIN pad (Good LRC) (Bad LRC) (after 3 NAKs) (Display [prompt1] and [prompt2] wait for user enter PIN) Message 71 (after customer PIN entered) (Good LRC) (Bad LRC) (Display [proc prompt]) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys Message Z66 Format: UDN PM0103-U Rev. 06 2015-04-20 Message Authentication Code (MAC) Request Z66[PktType][SeqNo][KeyId] [SessionKey] [SecKeyId] [Message] [LRC] Message length: Variable 14 to 270 bytes. Usage: This message is used to generate MAC codes according to algorithm specified in ANSI X9.19 (ISO 9797-1).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message element: Field Length Value and description 1 <02> Z66 3 Message ID [PktType] 1 '4' = ASCII last or only packet. '5' = ASCII first or middle of multiple packets. '6' = Binary last or only packet. '7' = Binary first or middle of multiple packets. [SeqNo] 2 '00' to '99', for onetime only packet, set to 00.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message flow: (Multiple packets) HOST Direction Message Z66 PIN pad (Seq'00' and type 5,7) (Good LRC) (Bad LRC) (after 3 NAKs) / / Message Z67 (with status code '1') Message Z66 (Seq'01'--'98', type 5,7) ………………… / / Message Z67 (with status code '1') …….. …………………………………..
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys Message Z67 Format: UDN PM0103-U Rev. 06 2015-04-20 Message Authentication Code (MAC) Response Z67[status][MAC][LRC] Message length: Fixed 7 (status only) or 23 (with MAC) bytes. Usage: PP791 generated MAC calculation response. It contains status codes or MAC.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message flow: (Please refer to message Z66) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message Z7 Turn ON/OFF CANCEL Message Display Format: Z7[option][LRC] Message length: Fixed 6 bytes. Usage: When a CANCEL message received or a CANCEL key pressed to cancel a current transaction, the PIN pad will display a “TRANSACTION CANCELLED” message. This could be turned ON or OFF using message Z7.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 9 – Online transaction messages with Master / Session keys UDN PM0103-U Rev. 06 2015-04-20 Message Z8 Set Idle Prompt Format: Z8[prompt][LRC] Message length: Variable 6 to 21 bytes. Usage: The PIN pad will display an idle prompt when it is in IDLE state. HOST can change this idle prompt via message Z8. If the prompt field is filled with a null string, then the PIN pad will use the default prompt afterwards.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT Section 10 UDN PM0103-U Rev. 06 2015-04-20 Online transaction messages with Derived Unique Key per Transaction (DUKPT) The following messages are designed for Derived Unique Key Per Transaction (DUKPT) key management scheme described in ANSI X9.24-1992 and 2002 (Triple-DES DUKPT). Note that some of the messages have the same IDs as those in MK/SK scheme, but with different message format.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 60 Pre-authorization PIN Entry Request Format: 60[account] [LRC] Message length: Variable 13 to 24 bytes. Usage: PIN pad will wait till the PIN entered and ENTER key is pressed. After PIN is entered, message 71 with PIN block will be sent as response. The HOST must transmit message 62 to ask for confirmation on transaction amount.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 62 Pre-authorization Amount Authorization Request Format: 62[DC Ind][amount][LRC] Message length: Variable 10 to 14 bytes. Usage: Display prompt and accept customer PIN input. The following prompt will be displayed: “Total Amount $xxx.xx” “Enter – Confirm” ”Cancel – Decline” xxx.x is the content of Amount field, with length between 4 to 8 positions.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 63 Pre-authorization Amount Authorization Response Format: 63[Confirm] [LRC] Message length: Fixed 6 bytes. Usage: Send Authentication Code and the confirmation of transaction amount to HOST. Message element: Field Length Value and description 1 <02> 63 2 Message ID [Confirm] 1 ‘0’ OK, ‘1’ denied.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 70 PIN Entry Request (DUKPT) Format: 70[account][DC Ind][amount][timeout][LRC] Message length: Variable 21 to 36 bytes. Usage: Display prompt and accept customer PIN input. The following prompt will be displayed: "Total Amount" "$xxx.xx" "Enter PIN" "Push "ENTER"" xxx.x is the content of Amount field, with length between 4 to 8 positions.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message 70 PIN pad (Good LRC) (Bad LRC) (after 3 NAKs) Message 71 or when [CAN] pressed or input timed out. (Good LRC) (Bad LRC) (after 3 NAKs) Display “PIN PAD PROCESSING” until CLEAR pressed or another message received. Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 71 Encrypted PIN Block Response Format: 71[Key Serial#][PIN][LRC] (PIN block frame) 71[error code][LRC] (Error code frame) Message length: Variable 32 to 42 bytes. Usage: Send the entered PIN to HOST in encrypted format.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 72 PIN Entry Cancel Format: 72[LRC] Message length: Fixed 5 bytes. Usage: Cancel current transaction and return the PIN pad to IDLE state, used to interrupt command in process. If PIN pad receives message 72 while processing user input such as swipe card, enter PIN or key-in data, It will respond with to acknowledge that operation is canceled.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT Message Z60 UDN PM0103-U Rev. 06 2015-04-20 PIN entry request with external prompt (DUKPT) Format: Z60.[account][timeout][LRC] Message length: Variable 15 to 28 bytes. Usage: Request the PIN pad to accept customer PIN entry and encrypt it using the account number and working key sent along in this message. The encrypted PIN block should be retrieved via message 71.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT Message Z62 Format: UDN PM0103-U Rev. 06 2015-04-20 PIN entry request with customized prompt (DUKPT) Z62.[account][minPIN][maxPIN][null flag] [prompt1][prompt2][proc prompt][timeout][LRC] Message length: Variable 39 to 100 bytes.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message element: Field Length Value and description 1 <02> Z62 3 Message ID . 1 <2E>, delimiter [account] 8 .. 19 Account number 1 <1C>, field separator [minPIN] 2 00, 04 .. 12 minimum PIN length. ('00' only available when [null flag] set to 'Y'). [maxPIN] 2 00, 04 .. 12 maximum PIN length. ('00' only available when [null flag] set to 'Y').
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 76 PIN Entry Test Request Format: 76[account][DC Ind][amount][LRC] Message length: Variable 19 to 34 bytes. Usage: This message is designed to do DUKPT continuous PIN entry test. PP791 will send message71 assuming a PIN of ‘1234’. Message element: Field Message flow: Length Value and description 1 <02> 76 2 Message ID [Account] 8..
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 7A KSN output format Format: 7A[KSN_format] [LRC] Message length: Fixed 6 bytes. Usage: This message will set the key serial number (KSN) format of message 71 (DUKPT frame). Format 0 is the original mode (strip leading ‘F’ of KSN) which is compatible of PP690, PP790SE and PP791, Format 1 is full mode (output full 20 characters of KSN).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 90 Load First Initial Key Request Format: 90[IPEK][KSN][LRC] (Clear Text) 90[TR-31 Key Block][LRC] (Encrypted) Message length: Fixed 41 or 57 bytes for clear text format, 93 or 109 bytes for TR-31 format. Usage: Load first set of DUKPT initial key and serial number key to PP791. Consequent keys will be generated using provided data.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 (Encrypted format) Field Length Value and description 1 <02> 90 2 Message ID [TR-31 Key Block] 88 or 104 TR-31 key block with optional header block that contains KSN. See Appendix A for detail.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 91 Load Initial Key Response Format: 91[Status][LRC] Message length: Variable (max 7 bytes.) Usage: Confirmation of the initial key loading. PP791 will also show a message “IPEK n loaded” (n = 1 or 2) to confirm the success loading of initial key of set 1 and set 2 visually.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 94 Load Second Initial Key Request Format: 94[IPEK][KSN][LRC] 90[TR-31 Key Block][LRC] (Encrypted) Message length: Fixed 41 or 57 bytes for clear text format, 93 or 109 bytes for TR-31 format. Usage: Load second set of DUKPT initial key and serial number key to PP791. Consequent keys will be generated using provided data.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message 94 PIN Pad (Good LRC) (Bad LRC) (after 3 NAKs) // Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 10 – Online transaction messages with DUKPT UDN PM0103-U Rev. 06 2015-04-20 Message 96 Select Active Key Set Format: 96[keyset][LRC] Message length: Fixed 6 bytes. Usage: Select active key set for following transactions. This parameter willl be saved and lasts until next 96 message or DUKPT life cycle ends.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Section 11 UDN PM0103-U Rev. 06 2015-04-20 ICC / SAM / Magnetic stripe card manipulating messages The following messages are used in manipulating the integrated ICC slot, SAM slot, magnetic card reader UIC contact-less module on the PIN pad unit. NOTE: By default, MSR function is turned off until user issue Q4 command to enable.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I00 Format: UDN PM0103-U Rev. 06 2015-04-20 Query Primary Smart Card Presence I00[LRC] (request) I00[response][LRC] (response) Message length: Fixed 6 bytes (request frame) / 7 bytes (response frame). Usage: Upon receiving a query card packet, PP791 checks whether the card is present in the primary card reader or not.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I01 Format: UDN PM0103-U Rev. 06 2015-04-20 Primary Smart Card Cold Reset I01[LRC] Message length: Fixed 6 bytes. Usage: PP791 performs a cold reset on the active smart card. If the operation is successful, PP791 sends the message I02 with the “Answer to Reset” (ATR) of the smart card to host. Otherwise, the message I0F bears the error code is to be sent back.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I02 Format: UDN PM0103-U Rev. 06 2015-04-20 Primary Smart Card ATR Response I02[ATR][LRC] Message length: Variable, depending on the specification of smart card.. Usage: The message contains the “Answer to Reset” (ATR) of the smart card to be sent to host. In general, the ATR conforms to the ISO 7816-3 or EMV 4.3 Book 1. See these standards for more detail information.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I04 Format: UDN PM0103-U Rev. 06 2015-04-20 Primary Smart Card Deactivate I04[LRC] Message length: Fixed 6 bytes. Usage: Upon receiving the card deactivate packet, PP791 sets the active smart card to the deactivate state. If the operation is successful, PP791 replies same packet to confirm. Otherwise, message I0F with the error code is used instead..
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I06 Format: UDN PM0103-U Rev. 06 2015-04-20 Primary Smart Card C-APDU I06[C-APDU][LRC] Message length: Variable 14 to 530 bytes. Usage: The Command APDU (application protocol data unit) is the data to be sent to the active smart card. PP791 's smart card reader will handle base protocols such as T=0 and T=1, so programmer need only send APDU.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I07 Format: UDN PM0103-U Rev. 06 2015-04-20 Primary Smart Card R-APDU I07[R-APDU][LRC] Message length: Variable 10 to 530 bytes. Usage: After smart card processes the Command-APDU, it puts the result as the Response-APDU. PP791 packs the Response-APDU into this message packet and sends to host.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I08 Format: UDN PM0103-U Rev. 06 2015-04-20 Smart Card Offline PIN Verification (EMV) I08[Mode][Prompt & Amount][LRC] (Clear-text mode) I08[Mode][Prompt & Amount]RSA public Exp][RSA public Modulus][LRC] (Cipher-text mode) Message length: Variable. Usage: User could apply message I01 ~ I06 to implement his EMV transaction flow.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Message I08 Direction PP791 (Good LRC) (Bad LRC) (after 3 NAKs) Communication with card. Message I09 or I0F (Good LRC) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I09 Format: UDN PM0103-U Rev. 06 2015-04-20 Response of Smart Card Offline PIN Verification (EMV) I09[Response][LRC] Message length: Fixed 7 bytes. Usage: PIN pad will return the result of PIN verification operation.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I0F Format: UDN PM0103-U Rev. 06 2015-04-20 Error Codes I0F[error code][LRC] Message length: Fixed 8 bytes. Usage: This message contains the error codes to indicate what’s going on for error situation. The error code list is as follows: "01" - ATR error or NO smart card. "02" - APDU data length is not enough. "03" – ICC/SAM card not powered yet, use I01 first.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I11 Format: UDN PM0103-U Rev. 06 2015-04-20 SAM slot Cold Reset I11[LRC] Message length: Fixed 6 bytes. Usage: PP791 performs a cold reset on the active SAM interface. If the operation is succeeded, PP791 sends the message I12 with the “Answer to Reset” (ATR) of the smart card to host. Otherwise, the message I0F bears the error code is to be sent back.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I12 SAM slot ATR Response Format: I12[ATR][LRC] UDN PM0103-U Rev. 06 2015-04-20 Message length: Variable, depending on the specification of smart card.. Usage: The message contains the “Answer to Reset” (ATR) of the SAM card to be sent to host. In general, the ATR conforms to the ISO 7816-3 or EMV 2000 level 1. See these standards for more detail information..
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I14 Format: UDN PM0103-U Rev. 06 2015-04-20 SAM slot Card Deactivate I14[LRC] Message length: Fixed 6 bytes. Usage: Upon receiving the card deactivate packet, PP791 sets the active smart card to the deactivate state. If the operation is successful, PP791 replies same packet to confirm. Otherwise, message I0F with the error code is used instead.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I15 Format: UDN PM0103-U Rev. 06 2015-04-20 SAM Select Interface I15[IF_code][LRC] Message length: Fixed 7 bytes. Usage: PP791 sets the active interface of the smart card reader. If operation succeeds, PP791 replies with the same packet to confirm. Otherwise, message I0F with error code is used instead. All SAM slot commands will be sent to the card via the active interface.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I16 Format: UDN PM0103-U Rev. 06 2015-04-20 SAM slot C-APDU I16[C-APDU][LRC] Message length: Variable 14 to 530 bytes. Usage: The Command APDU (application protocol data unit) is the data to be sent to the active smart card. PP791 's SAM reader will handle base protocols such as T=0 and T=1, so programmer need only send APDU.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message I17 Format: UDN PM0103-U Rev. 06 2015-04-20 SAM slot R-APDU I17[R-APDU][LRC] Message length: Variable 10 to 530 bytes. Usage: After SAM card processes the Command-APDU, it puts the result as the Response-APDU. PP791 packs the Response-APDU into this message packet and sends to host.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message Q1 Display SWIPE CARD message Format: Q1[LRC] Message length: Fixed 5 bytes. Usage: The PIN pad will display the prompt “SWIPE CARD” on its LCD until a card is swiped through the reader slot or Z1 message (reset state) received or CAN key pressed.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message Q2Transaction Completed Format: Q2[LRC] Message length: Fixed 5 bytes. Usage: Indicate that a transaction is now completed. The PIN pad will display a “Thank You” message for three seconds and then goes to IDLE state.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message Q3Ignore Card Swipe Format: Q3[LRC] Message length: Fixed 5 bytes. Usage: The HOST should send a message Q3 after receiving card data and decide not to accept another card temporarily. Upon receiving this message, the PIN pad will display “PIN PAD PROCESSING” prompts and ignore any card swiping.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message Q4 Enable/Disable Magnetic Card Reader Format: Q4[flag][LRC] Message length: Fixed 6 bytes. Usage: All the tracks are disabled by default (After each re-power on PIN pad). The HOST can use this message to have PIN pad enable or disable the magnetic card reader. Only track 2 is enabled if [flag] field contains ‘0’.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message Q5Set MSR Retry Count Format: Q5[RetryCount][LRC] Message length: Fixed 6 bytes. Usage: This command will set a retry count for the MSR swiping initiated by message Q1 and Z90.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message Q6 MSR Operation Control Format: Q6.[flag][LRC] (request frame) Message length: 7 bytes. Usage: This command can be used to set MSR output format. Message element: Request fame (HOST to PP791) Field Length Value and description 1 <02> Q6 2 Message ID .
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message Q7MSR Mode Query Format: Q7[LRC] (request frame) Q7[status][LRC] (response frame) Message length: Fixed 5 bytes for request, 6 bytes for response. Usage: This command will query MSR processing option.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message Q8Display TAP CARD message Format: Q8[LRC] Message length: Fixed 5 bytes. Usage: The PIN pad will display the prompt “TAP CARD” on its LCD until a contactless card is taped or Z1 message (reset state) received or CAN key pressed. After contactless card taped, PIN pad will collect card data then send the data to the HOST.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message Q9Display SWIPE / TAP CARD message Format: Q9[LRC] Message length: Fixed 5 bytes. Usage: The PIN pad will display the prompt “SWIPE / TAP CARD” on its LCD until a card is swiped or taped through the reader slot or Z1 message (reset state) received or CAN key pressed.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message QA Format: UDN PM0103-U Rev. 06 2015-04-20 Enable/Disable Contactless Card Reader QA[flag][LRC] Message length: Fixed 6 bytes. Usage: All the tracks are disabled by default (After each re-power on PIN pad). The HOST can use this message to have PIN pad enable or disable the contact-less card reader. Only track 2 is enabled if [flag] field contains ‘0’.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message QB Format: UDN PM0103-U Rev. 06 2015-04-20 MSR Device (Not) Always Detection QB[flag][LRC] Message length: Fixed 6 bytes. Usage: If the always detection is turned on, PIN pad will return the magnetic card data each swipe under idle mode (Terminal does not have to issue message Q1 for each card data).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message QC Format: UDN PM0103-U Rev. 06 2015-04-20 Contactless module (Not) Always Detection QC[flag][LRC] Message length: Fixed 6 bytes. Usage: If the always detection is turned on, PIN pad will return the contactless card data each swipe under idle mode (Terminal does not have to issue message Q8/Q9 for each card data).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages Message QD Format: UDN PM0103-U Rev. 06 2015-04-20 Contactless Card Data with/without Start/End sentinels QD[flag][LRC] Message length: Fixed 6 bytes. Usage: The default value for PIN pad is to ignore the start/end sentinels and then return the contactless card data. User can apply this message to make PIN pad return the contactless card data with start/end sentinels.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message 81 MSR Card Data Format: 81.[trk1 data][trk2 data][trk3 data] [BIN record][LRC] 81@[trk1 data][trk2 data][trk3 data][LRC] 81&[Check PAN result 1][Check PAN result 2][LRC] Message length: Variable, depending on card image in buffer.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: Under Operation Type 0, 1, 2 and 3 HOST Direction Message Q1 or Q9 PIN pad “SWIPE CARD” displayed on LCD (Good LRC) / (Bad LRC) (after 3 NAKs) (User swipe magnetic card) Message 81 (81.) (Good LRC) (Bad LRC) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 11 – ICC / SAM / Magnetic stripe card manipulating messages UDN PM0103-U Rev. 06 2015-04-20 Message 83 Contact-less Card Data Format: 83.[trk1 data][trk2 data][trk3 data][LRC] Message length: Variable, depending on card image in buffer. Usage: PIN pad uses this message to send back the information read from last contact-less card tap.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 12 –Display functionality messages Section 12 UDN PM0103-U Rev. 06 2015-04-20 Display functionality messages PP791 provides a display with resolution 320x240 for graphic and 8*8, 8*16, 16*16 and 16*24 character sets for text mode and supports many display functionalities for user. Font size selection: PP791 support 8*8 (0x20~0x7F), 8*16, 16*16 and 16*24 (0x20~0xFF) character sets for selection.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 12 –Display functionality messages UDN PM0103-U Rev. 06 2015-04-20 Message B1 Font Size Selection Format: B1[Font Size][LRC] (request) B2[Response][LRC] (response) Message length: Fixed 6. Usage: PIN pad supports 4 font sizes, 8x8, 8x16, 16x16 and 16x24. Use this message can change the displayed font size.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 12 –Display functionality messages UDN PM0103-U Rev. 06 2015-04-20 Message B3 Font Color (Foreground / Backgroud) Selection Format: B3[Foreground][Background][LRC] (request) B4[Response][LRC] (response) Message length: Fixed 17 bytes. Usage: Use this message to set new color of font and background. The format is RR/GG/BB.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 12 –Display functionality messages Message BB Format: UDN PM0103-U Rev. 06 2015-04-20 Screen Saver Setting BB[Waiting Time][Screen Saver Type][LRC] (request) BC[Response][LRC] (response) Message length: Fixed 9 bytes. Usage: PP791 has screen saver functionality. Use this message to select one of screen savers and set the waiting time, and use message BD to enable the screen saver.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 12 –Display functionality messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message BB (Request) PP791 (Good LRC) (Bad LRC) (after 3 NAKs) Message BC (response) (Good echo) (Bad LRC) (after 3 NAKs) Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 12 –Display functionality messages Message BD Format: UDN PM0103-U Rev. 06 2015-04-20 Enable / Disable Screen Saver BD[Op][LRC] (request) BE[Response][LRC] (response) Message length: Fixed 6 bytes. Usage: Use this message to enable / disable screen saver. Request frame (HOST to PP791) Field Length Value and description 1 <02> BD 2 Message ID [Op] 1 '0': Disable screen saver functionality.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 12 –Display functionality messages UDN PM0103-U Rev. 06 2015-04-20 Message BFScreen Saver Preview / Stop Preview Format: BF[Op][LRC] (request) Message length: Fixed 6 bytes. Usage: Use this message to launch screen saver directly or turn it off. User can also issue any other message to turn off screen saver.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages Section 13 UDN PM0103-U Rev. 06 2015-04-20 JPEG File Operation messages PP791 supports several JPEG file operation messages, customer could use JPEG Tool provided by UIC to query PIN pad to get a JPEG file table, and customer could delete the existed JPEG files from PIN pad and could select JPEG files for play. In addition, customer could download a JPEG file into PIN pad or upload a JPEG file from PIN pad.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message J0 JPEG File Table Initialization Format: J0[LRC] Request frame (HOST to PIN Pad) J0[Status][LRC] Response frame (PIN Pad to HOST) Message length: Fixed 5 bytes for request frame and 6 bytes for response frame. Usage: This message is used to initialize the JPEG file table from terminal.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message J1 Query JPEG File Table Format: J1[LRC] Request frame (HOST to PIN Pad) J1[PktType][Status_1][FileName_1] [Status_2][FileName_2]...
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 [FileName_N-1] 1-15 File name N-1 (optional) 1 <1C>, field separator (optional) [Status_N] 1 '0': Unselect. (optional) '1': Select.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message J2 Select JPEG File Format: J2[control][FileName_1][FileName_2]... [FileName_N-1][FileName_N][LRC] (where the value of 'N' is total amount of the JPEG files) Request frame (HOST to PIN Pad) J2[Status_1][Status_2]...
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Response frame (PIN Pad to HOST) Field Length Value and description 1 <02> J2 2 Message ID [Status_1] 1 '0': Success, '1': Failure, '2': Format error. 1 <1C>, field separator (optional) [Status_2] 1 '0': Success, '1': Failure. (optional) 1 <1C>, field separator (optional) ………………… …….. ………………………………….. [Status_N-1] 1 '0': Success, '1': Failure.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message J3 Delete JPEG File Format: J3[FileName_1][FileName_2]... [FileName_N-1][FileName_N][LRC] (where the value of 'N' is total amount of the JPEG files) Request frame (HOST to PIN Pad) J3[Status_1][Status_2]...
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Response frame (PIN Pad to HOST) Field Length Value and description 1 <02> J3 2 Message ID [Status_1] 1 '0': Success, '1': Failure, '2': Format error. 1 <1C>, field separator (optional) [Status_2] 1 '0': Success, '1': Failure. (optional) 1 <1C>, field separator (optional) ………………… …….. ………………………………….. [Status_N-1] 1 '0': Success, '1': Failure.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message J4 Download JPEG File Format: J4[PktType][SeqNo][Force] [FileName][Size][Data][LRC] Request frame (HOST to PIN Pad) J4[Status][LRC] Response frame (PIN Pad to HOST) Message length: Variable 22 to 538 bytes for request frame, and fixed 6 bytes for response frame. Usage: This message is used to download a JPEG file from terminal.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 '7': Number of is wrong. 'A': File size is zero or too large. 'B': Null file name. 'C': File name is too long or user abort. 'D': No more space. 'E': File is too large to stored to exist file's location. 'F': Download Success.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message J5 Upload JPEG File Format: J5[control][FileName][LRC] Request frame (HOST to PIN Pad) J5[PktType][SeqNo][Size][Data][LRC] Response frame (PIN Pad to HOST) Message length: Variable 6 to 21 bytes for request frame, and variable 12 to 536 bytes for response frame. Usage: This message is used to upload a JPEG file from terminal.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message J5 PIN Pad ([control] = '0') (Good LRC) (Bad LRC) (after 3 NAKs) Message J5 ([PktType] = '0' and [SeqNo] = '000') / / Message J5 ([control] = '1') / / Message J5 ([PktType] = '0' and [SeqNo] = '001'-'998') / / ………………… Message J5 …….. …………………………………..
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message J6 Play JPEG File Format: J6[LRC] Request frame (HOST to PIN Pad) Message length: Fixed 5 bytes. Usage: This message is used to play the JPEG files those have been selected from terminal. Those selected Jpeg files will be showed up sequentially until any operation (swiping card, pressing any key, tapping screen or receiving command) that changes the display.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message J7 Set JPEG File As Idle Prompt Format: J7[Jpeg Name][LRC] (request frame) J7[Result][LRC] (response frame) Message length: Variable 6 ~ 20 byte. Usage: This message is used to set a JPEG file as idle logo.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message J8 Enable/Disable Idle Logo Functionality Format: J8[Op][LRC] (request frame) J8[Result][LRC] (response frame) Message length: Fixed 6 byte. Usage: This message is used to enable/disable idle logo functionality. When it is enabled, idle logo and date/time will not be displayed.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message J9 Show JPEG File Format: J9[Jpeg Name][LRC] (request frame) J9[Result][LRC] (response frame) Message length: Variable 6 ~ 20 byte. Usage: This message is used to make PIN pad show the assigned Jpeg file. The assigned Jpeg file will be showed up once until any operation (pressing Cancel key or receiving command) that changes the display.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction PIN Pad Message J9 (Good LRC) (Bad LRC) (after 3 NAKs) Message J9 (response) (Good echo) (Bad LRC) (after 3 NAKs) The screen will not be changed until pressing Cancel or receiving any command. Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message JA Set Boot Logo Format: JA[PktType][SeqNo][Size][Data][LRC] Request frame (HOST to PIN Pad) JA[Status][LRC] Response frame (PIN Pad to HOST) Message length: Variable 22 to 538 bytes for request frame, and fixed 6 bytes for response frame. Usage: This message is used to download a bitmap file for boot logo from terminal .
PIN Pad 791 Programmer’s Manual (PCI POS-A) Section 13 – JPEG File Operation messages UDN PM0103-U Rev. 06 2015-04-20 Message flow: HOST Direction Message JA PIN Pad ([PktType] = '0' and [SeqNo] = '000') (Good LRC) (Bad LRC) (after 3 NAKs) / / Message JA Message JA ([Status] = '0') ([PktType] = '0' and [SeqNo] = '001'-'998') ………………………………….. / / Message JA ([Status] = '0') ……..
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Appendix A – Key management 2015-04-20 Appendix A Key management This PIN pad is designed to encrypt Personal Identification Numbers (PIN) as they are entered from the keypad, store the encrypted data in its memory and then transmit it to the HOST as requested.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Appendix A – Key management 2015-04-20 “P0”, indicates that this key is used for PIN entry directly; “D0”, indicates that this key is used for data transportation; “M1” indicates that this key is used for MAC calculation directly by ISO 9797-1 method 1. “M3” indicates that this key is used for MAC calculation directly by ISO 9797-1 method 3. “B1”, indicates that this key is used for DUKPT initial key (ANSI TR-31 2010). 2.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Appendix A – Key management 2015-04-20 MAC value by key derived from KLK 2. For key with usage “K0”, the length must be 16 bytes or 24 bytes. 3. For MAC key with usage “M1”, the length of key must be 8 bytes (DES-MAC). 4. For MAC key with usage “M3”, the length of key must be 16 bytes (TDES-MAC). 5. Duplicate key injection is not allowed. (except IPEK0 and IPEK1) 6.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Appendix A – Key management 2015-04-20 Optional KBH (For DUKPT use only): [2byte: Optional Block ID, fixed as “KS”][2byte: Optional Block Length, fixed as “18”][20byte: Optional Block Data, put key serial number (refer to ANSI X9.24 SMID) in this field] Encrypted KEY Block: 1. Derive Key1 by XOR KLK with 0x45 2. Generate new key block, [2byte number indicate the key in bits][key][random padding] 3.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Appendix A – Key management 2015-04-20 021A0072K0TD00N0000D078A2657E5B57972CD3D308E05E1FE519B316309AA6354A66 8071B5[LRC] 3. Derived Unique Key Per Transaction (DUKPT): PP791 Implements ANSI X9.24-2002 and ANSI TR31 key management scheme for DUKPT. Authorized personnel can load 8bytes/16bytes Initial keys (also known as IPEK) and Key serial number (also known as ‘Security Management Information Data-SMID’ in ANSI X9.24).
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Appendix A – Key management 5. 2015-04-20 Second DUKPT Key Set of PP791: PP791 provides 2nd key set of DUKPT operation for customer’s scalability. Message 90 is used to initialize first key set, with message 94 to initialize second key set. User must issue message 96 to select preferred key set before doing DUKPT transactions. These two key set are independent with each other, and both accepts double length key for TDES capability.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Appendix A – Key management 7. 2015-04-20 TDES – ECB Encryption: D1 K D2 TDES-E TDES-E K C1 8. DN … TDES-E K C2 CN D2 DN TDES – CBC Encryption: D1 … IV K TDES-E K C1 9. TDES-E … CN-1 K C2 TDES-E CN DES-MAC (ISO 9797-1 method 1) D1 D2 … IV K DN DES-E C1 Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Appendix A – Key management 10. 2015-04-20 TDES – MAC (ISO 9797-1 method 3) D1 D2 IV KL DES-E C1 KL DES-E DN … CN-1 … KL C2 DES-E CN KR KL DES-D DES-E MAC Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Appendix B – PIN Block Format Appendix B 2015-04-20 PIN Block Format ANSI x9.8 format (MK/SK, DUKPT, and Offline clear text PIN entry) PP791 outputs ANSI X9.8 PIN blocks. Its format as follows: PIN Block Format Bit 0-3 4-7 Value C N 8-11 12-15 16-19 20-23 24-27 28-31 32-35 36-39 40-43 44-47 48-51 52-55 56-59 60-63 P P P P P/F P/F P/F P/F P/F P/F P/F P/F F F Bit field explanation: C - Control field (Format number).
PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06 Appendix B – PIN Block Format 2015-04-20 EMV Level 2 format (Offline enciphered PIN entry) When using offline enciphered PIN entry (message T36), PP791 generates EMV level 2 specified PIN block as follows: Header Type 2 PIN block ICC Unpredictable Number Random Padding 0x7F ANSI clear 8 bytes random number Random number generated by text PIN block with sent out by smart card PP791 to pad the whole block X9.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix C – Features and specification UDN PM0103-U Rev. 06 2015-04-20 Appendix C Features and specification Micro controller: i.MX258 micro processor (running at 400MHz). Memory: 64MB DDR2 RAM, 4GB Flash Display: 320*240 pixels LCD display. Key Pad: 16 keys keypad, the digit keys are randomly scanned. PIN encryption: 1. Follows ANSI X9.8 for PIN block and National Bureau of Standard DES / Triple DES algorithm in Electronic Code Book mode. 2.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix D – Tag Definition on EMV data Appendix D UDN PM0103-U Rev. 06 2015-04-20 Tag Definition on EMV data There are some data needed in EMV transaction but not given tag definition by EMV. Here PP791 defines tags on the following data that will used in EMV transaction.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix D – Tag Definition on EMV data UDN PM0103-U Rev. 06 2015-04-20 or a positive number less than the floor limit (Refer to EMV.). Target Percentage to be used 0x00 ~ 0x63 b 40000005 1 0x00 ~ 0x63 b 40000006 1 b 40000007 5 b 40000008 5 b 40000009 5 See below b 4000000A var. See below b 4000000D var. Data tags for batch data capture See below b 40000010 var. ARC Approve See below b 4000001A var.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix D – Tag Definition on EMV data Issuer Script UDN PM0103-U Rev. 06 2015-04-20 The result of terminal script processing. b 9F5B var Transaction PIN enciphered at the PIN b 9F72 8 Result Enciphered PIN block pad for online verification. These data object are defined in EMV 4.3 BOOK3, Annex A without tag values. The tag values are defined by PIN pad. Uniform Industrial Corp.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix E – Minimun Set of EMV Configuration Data UDN PM0103-U Rev. 06 2015-04-20 Appendix E Minimum Set of EMV Configuration Data For a complete transaction, user has to load minimum set of terminal configuration data and EMV application data into PIN pad. Minimum set of Terminal configuration Data. Mandatory: Merchant Category (9F15), Merchant ID (9F16), Terminal Country Code (9F1A), Terminal ID (9F1C), IFD Serial NO.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix F – PCD Tag Definition on EMV data Appendix F UDN PM0103-U Rev. 06 2015-04-20 PCD Tag Definition on EMV data There are some data needed when do the EMV transaction but do not given tag definition by EMV Contactless specifications v2.4. PIN pad defines its unique tags on the following data. Table C-1 describes the self-define tag for PCD EMV Level2 Table C-2 describes the self-define tag for qVSDC and payWave.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix F – PCD Tag Definition on EMV data UDN PM0103-U Rev. 06 2015-04-20 1 : Enable CVN 17 PIN pad Configuration Parameters This tag used to set up qVSDC and payWave b 40000033 2 b 40000035 1 Format Tag Length None None None configuration.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix F – PCD Tag Definition on EMV data UDN PM0103-U Rev. 06 2015-04-20 bit 2: Exception file check enabled(1b)/disabled(0b) bit 1: Revocation list check enabled(1b)/disabled(0b) Byte 2: RFU Magstripe PIN pad use the random number of month (RNM) Unpredictable Number for the unpredictable number with ‘0000YYMM’ Range n DF808008 2 b DF808071 1 format.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix G – Minimum Set of EMV Configuration Data Appendix G UDN PM0103-U Rev. 06 2015-04-20 PCD Minimum Set of EMV Configuration Data To do an EMV transaction, user has to setup minimum set of terminal configuration data and EMV application data into PIN pad. Minimum set of Terminal configuration Data. Mandatory: Terminal Country Code (9F1A).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix G – Minimum Set of EMV Configuration Data UDN PM0103-U Rev. 06 2015-04-20 Application Version Number(9F09), Terminal Floor Limit(9F1B), Terminal Capabilities (9F33), Terminal Type(9F35) Terminal Action Code – Default(DF808003), Terminal Action Code – Denial(DF808004), Terminal Action Code – Online(DF808005), PIN pad Configuration Parameters(DF808006), expresspay Magstripe Unpredictable Number Range(DF808008), Set Track 1&2 configure(DF808071).
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix H – Fixed Prompts for Z2/Z3 Authenticated Mode Appendix H UDN PM0103-U Rev. 06 2015-04-20 Fixed Prompts for Z2/Z3 authenticated mode Prompt ID Display Prompt ID Display 001 ENTER VALUE 112 CUSTOMER ID 002 ENTER PHONE 113 CUSTOMER NUMBER 003 ENTER CUST ID 114 CUSTOMER REF 004 ENTER AMOUNT 115 CUSTOMER REF NO. 005 PLEASE ENTER 116 DATE OF BIRTH 006 ENTER CARD ID 117 DEPARTMENT NO.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix H – Fixed Prompts for Z2/Z3 Authenticated Mode UDN PM0103-U Rev.
PIN Pad 791 Programmer’s Manual (PCI POS-A) Appendix I – Fixed Prompts for Z2/Z3 PIN entry mode UDN PM0103-U Rev. 06 2015-04-20 Appendix I Fixed Prompts for Z2/Z3 PIN entry mode Prompt ID Display 001 ENTER PIN 002 ENTER YOUR PIN 003 PLEASE ENTER PIN 004 THEN PUSH ENTER 005 THANK YOU Uniform Industrial Corp.