The text of a manual · part 8 of 23
PINpad 1000SE Reference and Programmers Guide, pages 71 to 80
Pages 71 to 80 of 229
The original document is the PDF (8.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the VeriFone PINPad 1000SE
Page 71
M ANAGEMENT P ACKETS Q5 Alternate PROCESSING Prompt
Q5 Alternate PROCESSING Prompt Selects the companion message that the PINpad device displays in rotation with the "PROCESSING" message.
Category Comments
Packet Format
Custom Communication Packet The companion message is either PIN PAD or PIN PAL; the default is PIN PAD. The alternating processing messages appear after PIN entry, following either Packet Z60, Accept and Encrypt PIN, or Packet Z70, Request PIN Entry. If the PINpad unit is currently displaying the processing messages when it receives this message packet, it changes to the requested sequence. <STX> Q5[flag] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Q5 packet type
2
Alternate Processing Display
[flag] packet parameter
1
Display Message Type Value:
•
0 = PIN PAD
•
1 = PIN PAL
<ETX> end of packet character
1
ASCII End of Text Control Character, Value:`03h'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 6 characters, minimum 6 characters
Example
<STX> Q51 <ETX>{LRC}
The PINpad alternately displays the "PIN PAL" and "PROCESSING" messages.
Protocol Controller
Transmission Direction
Q51 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
69
Page 72
M ANAGEMENT P ACKETS Z1 Return to Idle State
Z1 Return to Idle State Returns the PINpad device to the idle state.
Category Packet Format
Custom Communication Packet <STX> Z1 <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z1 packet type
2
Return to Idle State
<ETX> end of packet character
1
ASCII End of Text Control Character, Value:`03h'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 5 characters, minimum 5 characters
Example
<STX> Z1 <ETX>{LRC}
The PINpad unit goes to the idle state.
Protocol Controller
Transmission Direction
Z1 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect
70
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 73
M ANAGEMENT P ACKETS Z2 Display a String
Z2 Display a String Directs the PINpad device to display a single string message.
Category Comments
Custom Communication Packet The PINpad unit displays the message until the user presses [CLEAR] or it receives another message from the controller that changes the message contents or returns to the idle prompt. The exceptions are Packets Z40, Z42, Z50, Z60, and 60. The display of the message must remain intact upon receipt of any one of these five packets. Without a <SUB> but with a null message, the last message is displayed.
Packet Format
<STX> Z2 <SUB> [message] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z2 packet type
2
Display a String
<SUB> message parameter
1
Optional; Clears display Value: `1Ah'
[message] packet parameter
0-16
Message/Prompt to Display format is ASCII (not counted string)
<ETX> end of packet character
1
ASCII End of Text Control Character, Value:`03h'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 22 characters, minimum 5 characters
Examples
<STX> Z2 THX <ETX>{LRC}
Directs the PINpad to add the message THX to the end of the currently displayed message. If the total display exceeds 16 characters, only the first 16 characters are shown. <STX> Z2 <SUB> PLZ SLIDE CARD <ETX>{LRC}
Directs the PINpad device to clear the current display (substitute), then display the message PLZ SLIDE CARD.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
71
Page 74
M ANAGEMENT P ACKETS Z2 Display a String
Protocol Controller
Transmission Direction
Z2 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect Display message
72
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 75
M ANAGEMENT P ACKETS MACed Z2 Display a String
MACed Z2 Display a String Directs the PINpad device to display a single string message and provides MAC message authentication capabilities. NOTE
See Non-MACed Z2/Z3 Message Matching Rules for details on MAC message authentication. See Z40 Request Key Code/Z41 Return Key Code, Z42 Request Key Value/Z43 Return Key Value, and Z50 Request String Input/Z51 Return String Input for more details on validating MACing and how that affects the return of keystrokes from the PINpad to the controller.
Category
Custom Communication Packet
Support Mode
NOTE
PINpad 1000
PINpad 1000SE
D
D
This packet is only available in version 4E3002x and later releases of the firmware. If in PINpad 1000 mode, the PINpad ignores any MAC data and returns 0 (no error).
Comments
The PINpad unit displays the message until the user presses [CLEAR] or it receives another message from the controller that changes the message contents or returns to the idle prompt. The exceptions are Packets Z40, Z42, Z50, Z60, and 60. The display of the message must remain intact upon receipt of any one of these five packets. Without a <SUB> but with a null message, the last message is displayed. The MAC will be calculated using a selected MAC key. This MAC key will be used to calculate an Outer CBC MAC with an IV of 0x0000000000000000. If the prompt data is not on an even 8-byte boundary, the last block will be right-padded with 0x30's. The four left most bytes (8 hex digits) of the resulting cryptogram will be used for the MAC value.
NOTE
The MAC key used to verify this packet must be 112 bits in length to meet the November, 2003 Visa PED requirements and must also be tagged as a MAC verification key.
•
Version 4E3003x and later releases of the firmware enforce the 112-bit MAC key rule.
•
Appropriate algorithms and key sizes will change slowly over time, as computing capability expands to make brute force attacks more feasible.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
73
Page 76
M ANAGEMENT P ACKETS MACed Z2 Display a String
Request Format
<STX> Z2 <FS> <MKI> <MV> <SUB> <message> <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z2 packet type
2
Display a String
<FS> packet parameter
1
Field separator; Value: ‘1Ch'
[MKI] packet parameter
1
MAC Key Index; Select Key from keys 0-F
[MV] packet parameter
8
Mac Value; the four left most digits of the MAC calculation
<SUB> message parameter
1
Optional; Clears display Value: `1Ah'
[message] packet parameter
0-16
Message/Prompt to Display format is ASCII (not counted string)
<ETX> end of packet character
1
ASCII End of Text Control Character, Value:`03h'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 255 characters, minimum 15 characters NOTE
Example Request
The User Definable Character (UDC) function is supported in this packet for [message]. This extends the maximum packet length, since 5 characters can be used to for each UDC. See User Definable Character (UDC) Functions for more details. <STX> Z2 <FS> <MKI> <MV> <SUB> AB <ETX>{LRC}
This sample packet initiates the PINpad to clear the display and then shows 'AB.'
74
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 77
M ANAGEMENT P ACKETS MACed Z2 Display a String
Response Format
<STX> Z2 <R> <ETX> {LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z2 packet type
2
Display a String
[R] packet parameter
1
Z2 Response • 0 = No Error • 1 = MAC Key index error • 2 = MAC key attributes error • 3 = MAC value error • 4 = Packet format error
<ETX> end of packet character
1
ASCII End of Text Control Character, Value:`03h'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 6 characters, minimum 6 characters
Example Response Further Examples
<STX> Z2 0 <ETX> {LRC}
Examples of Z2 packets with MAC values: MAC key value used to compute the following MAC values: 6AC292FAA1315B4D8234B3A3D7D5933A
MAC algorithm used to compute the following MAC values: "10"(ISO 9797-1 MAC Algorithm 1 - 112 bits)
Packet format: <STX>Z2<FS>kvvvvvvvv<SUB>prompt<ETX>
• k = MAC Key index
• v = The four leftmost bytes of the MAC calculation converted to hex ascii
•
The prompt may contain a user definable character (<US>xxxx)
<STX>Z2<FS>307211021<SUB>MUDCHR 59<US>8A12<US>4A72 STOP<ETX>
Data MACed - <SUB>MUDCHR<US>8A12<US>4A72STOP000
Padding 000
<STX>Z2<FS>3EF3F9B78<SUB>MENTER VEHICLE #<ETX>
Data MACed - <SUB>MENTERVEHICLE00 <STX>Z2<FS>37B40BA95<SUB>
Padding 00
MENTER ODOMETER <ETX>
Data MACed - <SUB>MENTERODOMETER0
Padding 0
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
75
Page 78
M ANAGEMENT P ACKETS MACed Z2 Display a String
Protocol Controller
Transmission Direction
Z2 request packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs)
<------
Z2 response packet clear display, then show [message]
ACK = LRC OK
------>
NAK = LRC incorrect (EOT after 3 NAKs) <------
76
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
EOT
Page 79
M ANAGEMENT P ACKETS Z3 Display Rotating Messages
Z3 Display Rotating Messages Directs the PINpad device to display up to seven messages or prompts in rotation.
Category Comments
Custom Communication Packet Up to seven prompts or messages can be displayed in rotation. The PINpad device displays the message strings at 3-second intervals until it receives another message or the customer presses [CLEAR].
NOTE
The message must remain intact upon receipt of Packets Z40, Z42, Z50, and Z60.
Packet Format
<STX> Z3 [count] <SUB> [message1] <FS> [message2 ... 7] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z3 packet type
2
Display Rotating Messages
[count] packet parameter
1
Number of messages; Range: 0-7
<SUB> message parameter
1
Optional; Substitute Value: `1Ah'
[message1] packet parameter
0-16
First Message (Not counting string)
<FS> packet parameter
1
Optional; Field Separator; Only Present When Next Message Follows; Value:`1Ch'
[message2...7] packet parameter
0-16
Next Message or Prompt to Display; each message separated by <FS>; format is ASCII (not counting string)
<ETX> end of packet character
1
ASCII End of Text Control Character, Value:`03h'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 124 characters, minimum 6 characters
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
77
Page 80
M ANAGEMENT P ACKETS Z3 Display Rotating Messages
Example
<STX> Z33<SUB>WELCOME <FS> PLEASE <FS> SLIDE CARD <ETX>{LRC}
The PINpad device clears the current display and displays, at three second intervals, the messages WELCOME, PLEASE, and SLIDE CARD.
Protocol Controller
Transmission Direction
Z3 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect Alternately display: [message1] [message2..7]
78
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE