The text of a manual · part 10 of 23
PINpad 1000SE Reference and Programmers Guide, pages 91 to 100
Pages 91 to 100 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 91
M ANAGEMENT P ACKETS Z40 Request Key Code
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z40 packet type
3
Request Single Key
[timeout] packet parameter
1-3
Timeout value in seconds; range is 0-255
<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 9 characters, minimum 7 characters
Example
<STX> Z40 120 <ETX>{LRC}
The packet requests a single key entry from the PINpad and tells the PINpad to wait up to 120 seconds for the entry. The PINpad unit sends the ASCII key code of the entered key to the controller.
Protocol Controller
Transmission Direction
Z40 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect user presses key
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
89
Page 92
M ANAGEMENT P ACKETS Z41 Return Key Code
Z41 Return Key Code Returns a key code to the controller in response to Z40 Request Key Code.
Category
Custom Communication Packet
Support Mode
PINpad 1000
PINpad 1000SE
D
D
NOTE
Extended message validation functionality is only available in version 4E3002x and later releases of the firmware, and depends on the security status of Packets Z2 and Z3. For further details on this application, please refer to the Prompt Table for Z2/Z3 Authentication.
Comments
Upon receipt of Z40 Request Key Code, the PINpad returns the ASCII key code of the entered key to the master device via Packet Z41, or a '?' if the timeout limit expires. Use Packets Z40 and Z41 messages when you want the PINpad to return the code representing the key entered; use Packets Z42 and Z43 when you want the PINpad to return the key value entered.
NOTE
PINpad 1000SE Mode In PINpad 1000SE mode, the usage of Packets Z40 and Z41 is dictated by the message Z2 or Z3 display packet that immediately precedes them.
•
If the Z2 or Z3 packet is MACed correctly, or if the message in the Z2 or Z3 packet matches, then Packets Z40 and Z41 have full functionality and all keystrokes are returned.
•
If this is not the case, then the PINpad does not return numeric keystrokes '0' '9' (0x30 - 0x39) in the response Packet Z41.
See Non-MACed Z2/Z3 Message Matching Rules for details on what ‘matching’ means in this context. PINpad 1000 Mode In PINpad 1000 mode, Packets Z40 and Z41 can be used with full functionality without MAC or matching message validation. If a Z2 or Z3 packet is received with a MAC, the MAC is ignored and the message is displayed. Even if the MAC value is incorrect, the MAC field is simply ignored and the Z41 returns all keypad strokes including numeric keys.
90
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 93
M ANAGEMENT P ACKETS Z41 Return Key Code
For key codes, see the following table: Key Pressed
1
2
3
4
5
6
7
8
9
*
0
#
/a
F1
F2
F3
Key Code
1
2
3
5
6
7
9
10
11
13
14
15
16
20
21
22 a.
‘/’ in the above table indicates backspace
Packet Format
<STX> Z41 [key code] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z41 packet type
3
Return Key Code
[key code] packet parameter
1-2
Code for key entered; ASCII of the key pressed; range is indicated in the table above; Value is `?' if timed out
<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 8 characters, minimum 7 characters
Example
<STX> Z4 111 <ETX>{LRC}
This packet shows the key [9] has been entered.
Protocol Controller
Transmission Direction
Z40 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs) user presses key
<-----Z41 packet ACK = LRC OK
------>
NAK = LRC incorrect (EOT after 3 NAKs)
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
91
Page 94
M ANAGEMENT P ACKETS Z42 Request Key Value
Z42 Request Key Value Requests the ASCII value of a key to be entered from the PINpad device. NOTE
This packet does not change the PINpad unit display.
Category Support Mode
Custom Communication Packet PINpad 1000
PINpad 1000SE
D
D
NOTE
Extended message validation functionality is only available in version 4E3002x and later releases of the firmware, and depends on the security status of Packets Z2 and Z3. For further details on this application, please refer to the Prompt Table for Z2/Z3 Authentication.
Comments
The controller sends this packet after the PINpad has displayed one or more messages requesting the customer's key entry (Packets Z2 or Z3). This packet also specifies how long the PINpad has to wait for the input before a timeout. The PINpad sends the ASCII value of the key entered to the controller. Upon receipt of the key input, the PINpad will send the ASCII key value of the entered key to the master device via Packet Z43. The PINpad does not echo the input on its display, and if no key input occurs within the specified timeout interval, the PINpad returns to its idle state. See Z43 Return Key Value for details on how the PINpad responds to the Z42 request.
Packet Format
<STX> Z42 [timeout] <ETX>
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z42 packet
3
Request Key Value
[timeout] packet parameter
1-3
Timeout value in seconds; range is 0-255
<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 9 characters, minimum 7 characters
92
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 95
M ANAGEMENT P ACKETS Z42 Request Key Value
NOTE
Example
Rev. 0I and earlier versions of PP101 required a full three-digits value for [timeout]. Later versions allow one to three digits (i.e. 1, 01, and 001 all signify a one-second timeout value). <STX> Z42 045 <ETX>{LRC}
Packet requests a single key entry from the PINpad unit and tells it to wait up to 45 seconds for the entry before returning to the idle state. The PINpad unit sends the key value to the controller.
Protocol Controller
Transmission Direction
Z42 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs) user presses key
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
93
Page 96
M ANAGEMENT P ACKETS Z43 Return Key Value
Z43 Return Key Value Sends a key value to the controller in response to Z42 Request Key Value.
Category
Custom Communication Packet
Support Mode
PINpad 1000
PINpad 1000SE
D
D
NOTE
Extended message validation functionality is only available in version 4E3002x and later releases of the firmware, and depends on the security status of Packets Z2 and Z3. For further details on this application, please refer to the Prompt Table for Z2/Z3 Authentication.
Comments
Upon receipt of Z42 Request Key Value, the PINpad returns the ASCII key value of the entered key to the master device via Packet Z43, or a '?' if the timeout limit expires. Use Packets Z42 and Z43 when you want the PINpad to return the key value entered; use Packets Z40 and Z41 messages when you want the PINpad to return the code representing the key entered.
NOTE
PINpad 1000SE Mode In PINpad 1000SE mode, the usage of Packets Z42 and Z43 is dictated by the message Z2 or Z3 display packet that immediately precedes them.
•
If the Z2 or Z3 packet is MACed correctly, or if the message in the Z2 or Z3 packet matches, then Packets Z42 and Z43 have full functionality and all keystrokes are returned.
•
If this is not the case, then the PINpad does not return numeric keystrokes '0' '9' (0x30 - 0x39) in the response Packet Z43.
See Non-MACed Z2/Z3 Message Matching Rules for details on what ‘matching’ means in this context. PINpad 1000 Mode In PINpad 1000 mode, Packets Z42 and Z43 can be used with full functionality without MAC or matching message validation. If a Z2 or Z3 packet is received with a MAC, the MAC is ignored and the message is displayed. Even if the MAC value is incorrect, the MAC field is simply ignored and the Z43 returns all keypad strokes including numeric keys.
94
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 97
M ANAGEMENT P ACKETS Z43 Return Key Value
For key values, see the following table: Key Pressed
1
2
3
4
5
6
7
8
9
*
0
#
/a
F1
F2
F3
Key Value
1
2
3
4
5
6
7
8
9
*
0
#
/
A
B
C a.
‘/’ in the above table indicates backspace
Packet Format
<STX> Z43 [key] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z43 packet type
3
Return Key Value
[key] packet parameter
1
ASCII of the key pressed • Range is indicated in the table above • Value is `?' if timed out
<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 7 characters, minimum 7 characters
Example
<STX> Z43 * <ETX>{LRC}
This message packet indicates the key [*] has been pressed.
Protocol Controller
Transmission Direction
PINpad customer presses key
<-----ACK = LRC OK
Z43 packet
------>
NAK = LRC incorrect (EOT after 3 NAKs)
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
95
Page 98
M ANAGEMENT P ACKETS Z50 Request String Input
Z50 Request String Input Requests a string of key inputs to be entered from the keypad.
Category
Custom Communication Packet
Support Mode
PINpad 1000
PINpad 1000SE
D
D
NOTE
Extended message validation functionality is only available in version 4E3002x and later releases of the firmware, and depends on the security status of Packets Z2 and Z3. For further details on this application, please refer to the Prompt Table for Z2/Z3 Authentication.
Comments
The controller sends this packet request key inputs from the PINpad keyboard after the PINpad displays one or more messages requesting the customer's key inputs (Z2 Display a String or Z3 Display Rotating Messages). This packet specifies whether the key inputs are displayed or not, the maximum number of key entries, and how long the PINpad has to wait for input before timing out.
NOTE
A timeout value (in seconds) must be specified. If no keys are pressed before the specified timeout, the PINpad returns to its idle state. The PINpad device waits for a string input from its keypad, then returns to the controller the ASCII equivalent of the pressed keys. The customer must press [ENTER] to end a string input and return a Z51 Return String Input packet. The PINpad device can accept a null entry for Packet Z50.
NOTE
During the Z50 session, only 72 Cancel Session Request from the controller or the PINpad [CLEAR] key can cancel the session.
•
If data entry is not initiated, pressing [CLEAR] will cancel the operation and send an [EOT] to the controller.
•
If data entry is initiated, the PINpad device clears the entry, redisplays the previous prompt, and restarts data entry.
See Z51 Return String Input for details on how the PINpad unit responds to the Z50 request.
Packet Format
96
<STX> Z50 [echo flag] [timeout] [max-entry] <ETX>{LRC}
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 99
M ANAGEMENT P ACKETS Z50 Request String Input
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z50 packet type
3
Request String Input
[echo flag] packet parameter
1
Echo Flag • 0 = Echo input as asterisks (*) • 1 = Echo input as characters (numbers) • 2 = Do not echo input
[timeout] packet parameter
3
Timeout value in seconds; range is 000255
[max entry] packet parameter
2 optional, defaults if omitted Maximum Acceptable Keypad Input Length • Range: 01-49 • Default: 49
<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 12 characters, minimum 10 characters
Example
<STX> Z50 0 120 <ETX>{LRC}
The PINpad device waits up to 120 seconds for keypad input, with asterisks echoed on the display in response to key entry.
Protocol Controller
Transmission Direction
Z50 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs) user keypad entry
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
97
Page 100
M ANAGEMENT P ACKETS Z51 Return String Input
Z51 Return String Input Directs the PINpad device to return a string of ASCII values of the keys entered to the controller. Use this packet following the Z50 Request String Input packet.
Category
Custom Communication Packet
Support Mode
PINpad 1000
PINpad 1000SE
D
D
NOTE
Extended message validation functionality is only available in version 4E3002x and later releases of the firmware, and depends on the security status of Packets Z2 and Z3. For further details on this application, please refer to the Prompt Table for Z2/Z3 Authentication.
Comments
Upon receipt of Z50 Request String Input, the PINpad device returns to the controller the ASCII equivalent of the pressed keys (0-9), as a string, when the [ENTER] key is pressed. The PINpad returns a ‘?’ if no keys are pressed before the specified timeout.
NOTE
PINpad 1000SE Mode In PINpad 1000SE mode, the usage of Packets Z50 and Z51 is dictated by the message Z2 or Z3 display packet that immediately precedes them.
•
If the Z2 or Z3 packet is MACed correctly, or if the message in the Z2 or Z3 packet matches, then packet Z51 has full functionality and all keystrokes are returned.
•
If this is not the case, then the PINpad returns <EOT> and the PINpad displays the error message “PACKET ERR B.”
See Non-MACed Z2/Z3 Message Matching Rules for details on what ‘matching’ means in this context. PINpad 1000 Mode In PINpad 1000 mode, Packets Z50 and Z51 can be used with full functionality without MAC or matching message validation. If a Z2 or Z3 packet is received with a MAC, the MAC is ignored and the message is displayed. Even if the MAC value is incorrect, the MAC field is simply ignored and the Z51 returns all keypad strokes including numeric keys.
Packet Format
98
<STX> Z51 [entry] <ETX>{LRC}
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE