The text of a manual · part 6 of 23
PINpad 1000SE Reference and Programmers Guide, pages 51 to 60
Pages 51 to 60 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 51
M ANAGEMENT P ACKETS 11 PINpad Device Connection Test
11 PINpad Device Connection Test Checks the communications/connection between the controller and the PINpad device.
Category Support Mode
Comments
Packet Format
Interactive Diagnostic Tests PINpad 1000
PINpad 1000SE
D
D
If the connection is okay, the controller receives an ACK (acknowledgment) from the PINpad within a second. If the controller does not receive the ACK within a second, it assumes the PINpad unit is not attached. <SI> 11 <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
11 packet type
2
PINpad Connection Test
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 5 characters, minimum 5 characters
Example
<SI> 11 <SO>{LRC}
Protocol Controller
Transmission Direction
11 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
49
Page 52
M ANAGEMENT P ACKETS 12 Select Prompt Language
12 Select Prompt Language Selects the language used for the prompts.
Category Support Mode
Comments
Interactive Diagnostic Test PINpad 1000
PINpad 1000SE
D
D
The controller uses this packet to select the prompt language. There are two different languages from which to choose. Languages are selected from one of the listed single digit codes.
NOTE
Current firmware only supports English and Spanish prompts.
Packet Format
<SI> 12 [language code] <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
12 packet type
2
Select Language code
[language code] packet parameter
1
Language control Selection; • 1 = English • 2 = Spanish Note:
Any value besides 1 or 2 will result in no change, and the PINpad device will send out an <EOT>.
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 6 characters, minimum 6 characters
Example
<SI> 122 <SO>{LRC}
This example selects the Spanish language prompts (code = 2)
50
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 53
M ANAGEMENT P ACKETS 12 Select Prompt Language
Protocol Controller
Transmission Direction
12 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect PINpad displays in selected prompt language.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
51
Page 54
M ANAGEMENT P ACKETS 13 Set Baud Rate
13 Set Baud Rate The master device uses this packet to set the baud rate for RS232 communication with the PINpad device.
Category Support Mode
Comments
Interactive diagnostic tests PINpad 1000
PINpad 1000SE
D
D
After the new baud rate has been selected, the unit displays the new baud rate in the format "xxxx BPS" for 3 seconds, then returns to the idle prompt. There are five different baud rate selections: 1200, 2400, 4800, 9600, and 19200 bps. The default of a new PINpad device is 1200 bps. The baud rate setting is stored in backup RAM. The PINpad device retains any change to this default through subsequent power cycles.
NOTE
After power cycling memory test or battery power is lost, the baud rate setting is reset to the factory default. The current baud rate can be determined by using 01 Run Diagnostic Function Routine with diagnostic test # - '00.’
Packet Format
<SI> 13 [bc] <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
13 packet type
2
Set baud rate
[bc] packet parameter
1
Baud rate codes: • 1=1200 baud (default) • 2=2400 baud • 3=4800 baud • 4=9600 baud • 5=19200 baud
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 6 characters, minimum 6 characters
52
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 55
M ANAGEMENT P ACKETS 13 Set Baud Rate
NOTE
Examples
If code of [bc] is out of range or missing, the PINpad directly echoes EOT and defaults to 1200 baud. <SI> 134 <SO>{LRC} (9600 baud) <SI> 131 <SO>{LRS} (1200 baud) <SI> 138 <SO>{LRS} (1200 baud) <SI> 13 <SO>{LRC}
(1200 baud)
PINpad Protocol Controller
Transmission Direction
13 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
53
Page 56
M ANAGEMENT P ACKETS 15 Refresh PINpad Key Management Mode
15 Refresh PINpad Key Management Mode The master device uses this packet to set the key management mode of the PINpad device. After the new key management mode has been selected, the PINpad device displays the new key management mode for 3 seconds, then returns to the idle prompt.
Category
Interactive diagnostic tests
Support Mode
PINpad 1000
PINpad 1000SE
D
D
PINpad Mode Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
15 packet type
2
Key Management Mode
[keycode] packet parameter
4-5
Key Management Codes: • 'MKEY' - Master Session • 'DKEY' - DUKPT • 'DUAL' - Master + DUKPT • others - no change
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error check character
Packet Length: maximum 9 characters, minimum 8 characters
PINpad Mode Comments
The master device uses this packet to change between the following key management modes supported by the PINpad:
•
VISA MASTER SESSION+DUKPT mode (default)
•
MASTER SESSION only mode
•
DUKPT only mode
After the new key management mode has been selected, the PINpad device displays the new key management mode for 3 seconds, then returns to the idle prompt. NOTE
54
Once the key management scheme is selected, it will be retained across power cycles. When switching between key management modes, sensitive data will be erased according to the following table (only in PINpad 1000SE mode -- no keys are erased in PP1000 mode).
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 57
M ANAGEMENT P ACKETS 15 Refresh PINpad Key Management Mode
PINpad Mode Request Format
From
To: DUAL
To: MKEY
To: DKEY
DUAL
No Change
Erase All DUKPT Engines keys
Erase M/S keys and KLK
MKEY
No Change
No Change
Erase All keys and KLK
DKEY
No Change
Erase All keys and KLK
No Change
<SI> 15 [keycode] <SO>{LRC}
PINpad Mode Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
15 packet type
2
[keycode] packet parameter
4-5
Available Key Management Codes: • 'MKEY' - Master Session • 'DKEY' - DUKPT • 'DUAL' - Master + DUKPT • others - no change
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error check character
Packet Length: maximum 10 characters, minimum 9 characters NOTE
PINpad Mode Response Format
If code of [keycode] is out of range or missing, the packet command will be ignored and aborted by an <EOT>. <SI> 15 [keycode] <SO>{LRC}
PINpad Mode Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
15 packet type
2
Set Key Management Mode
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
55
Page 58
M ANAGEMENT P ACKETS 15 Refresh PINpad Key Management Mode
Type
Field
Length
Description
[keycode] packet parameter
4
Current Key Management Codes: • 'MKEY' - Master Session • 'DKEY' - DUKPT • 'DUAL' - Master + DUKPT • others - no change
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error check character
Packet Length: maximum 9 characters, minimum 10 characters
Examples
<SI> 15 MKEY <SO>{LRC} Sets PINpad to Master Session mode <SI> 15 DKEY <SO>{LRS} Sets PINpad to DUKPT mode <SI> 15 DUAL <SO>{LRS} Sets PINpad to dual (Master + DUKPT) mode
Protocol Controller
Transmission Direction
15 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs)
<-----ACK = LRC OK
15 packet
------>
NAK = LRC incorrect (EOT after 3 NAKs) <-----NOTE
56
EOT to terminate process
If the controller receives the response without any error, then it sends an ACK to the PINpad. Then PINpad then sends an <EOT> to terminate the session.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 59
M ANAGEMENT P ACKETS 17 Set Key Management Mode
17 Set Key Management Mode Provides additional PINpad Key Management configuration by setting or clearing control-switches in the Key Management Options Register.
Support Mode
Comments
NOTE
PINpad 1000
PINpad 1000SE
D
D
This packet allows additional PINpad Key Management configuration through setting control-switches in the Key Management Options Register. The PINpad 1000SE supports the following additional functions compared to the PINpad 1000/ PINpad 1000+:
•
3DES DUKPT Support
•
GISKE Master-Session Key Support
•
Secure Messaging
•
Zero Key Support
•
Empty GISKE Key Support
•
MAC-ed Prompt Support
The new MAC alternatives apply only when GISKE is active, and are selected by key attribute and not by key management switch. For compatibility, the default Key Management mode in PINpad is set to MSDUKPT/ Single DES interleaving mode. Once a new key management scheme is selected, it will be retained during the power cycle.
NOTE
Setting a new mode causes the PINpad to erase all existing keys or non-volatile security values stored for secure messaging. For Key Management Mode Register values, see the following table: Table 3
Key Management Mode Register Values Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1DES master session – Default
-
-
-
-
-
0
0
0
Mixed Mode (1DES & 3DES GISKE)
-
-
-
-
-
0
0
1
3DES GISKE master session
-
-
-
-
-
0
1
0
1DES DUKPT – Default
-
-
-
-
0
-
-
-
3DES DUKPT
-
-
-
-
1
-
-
-
DUKPT Engine 0
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
57
Page 60
M ANAGEMENT P ACKETS 17 Set Key Management Mode
PP1000 mode:
Bit 7
Bit 6
Bit 5
-
-
-
Bit 4
• Zero Key support off
Bit 3
Bit 2
Bit 1
Bit 0
-
-
-
-
-
-
-
-
0 1
• Zero Key support on – Default
PP1000SE mode:
-
-
-
• Zero Key support off – Default and always off.
0 1
• Zero Key support on – N/A
Empty GISKE session key support off – Default and always off for PP1000SE
-
-
0
-
-
-
-
-
Empty GISKE session key support on
-
-
1
-
-
-
-
- do nothing
-
0
-
-
-
-
-
-
Clear all MS master keys & KLK.
-
1
-
-
-
-
-
-
Rsvd
-
-
-
-
-
-
-
Reserved
One ASCII-Hex digit is used produce half of a control byte which the PINpad uses as the DUKPT Engine 1/3 Mode Flag (DEMF): Table 4
DUKPT Engine 1/3 Mode Flag (DEMF) Bit 3
Bit 2
Bit 1 (DUKPT Engine "2")
Bit 0 (DUKPT Engine "1")
1DES DUKPT - Default
0
3DES DUKPT
1
1DES DUKPT - Default
0
3DES DUKPT
1
Reserved Reserved
Reserved Reserved
Examples:
Packet Format
•
DEMF = 0x30 equates to 1DES for Engine “1” and 1DES for Engine “2”
•
DEMF = 0x32 equates to 3DES for Engine “1” and 1DES for Engine “2”
•
DEMF = 0x32 equates to 1DES for Engine “1” and 3DES for Engine “2”
•
DEMF = 0x33 equates to 3DES for Engine “1” and 3DES for Engine “2”
<SI> 17 [KMM] [DEMF] <SO>{LRC}
Elements
58
Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
17 packet type
2
Set Key Management Mode
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE