The text of a manual · part 5 of 23
PINpad 1000SE Reference and Programmers Guide, pages 41 to 50
Pages 41 to 50 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 41
M ANAGEMENT P ACKETS 05 Transfer Serial Number
05 Transfer Serial Number Transfers the internal serial number from the controller or master device to the PINpad. NOTE
This message overwrites any number already stored as the serial number.
Category Support Mode
Comments Packet Format
Interactive Diagnostic Test PINpad 1000
PINpad 1000SE
D
D
Use the Serial Number Check, Message 06, to check the internally-stored serial number before using Message 05 to assign one. <SI> 05 [serial number] packet parameter
16
Serial Number
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
05 packet type
2
Transfer Serial Number
[serial number] packet parameter
16
Serial Number
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 21 characters, minimum 21 characters
Example
<SI> 00000123-456-789 <SO>{LRC}
Protocol Controller
Transmission Direction
05 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs)
<------
05 packet echo
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
39
Page 42
M ANAGEMENT P ACKETS 05 Transfer Serial Number
Controller
Transmission Direction
ACK = LRC OK
------>
PINpad
NAK = LRC incorrect, PINpad stores serial number (EOT after 3 NAKs) PINpad stores serial number <------
40
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
EOT
Page 43
M ANAGEMENT P ACKETS 06 Request Serial Number
06 Request Serial Number Directs the PINpad device to transmit its internal serial number to the controller or master device.
Category Support Mode
Comments
Interactive Diagnostic Test PINpad 1000
PINpad 1000SE
D
D
The controller uses this packet to request that the PINpad send its serial number. If the PINpad does not have its serial number stored, it transmits a hex ASCII string that translates to 16 bytes of zeros (0). See 05 Transfer Serial Number to assign the internal serial number. Both the request and response formats are shown below.
Request Format
<SI> 06 <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
06 packet type
2
Request Serial Number
<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
Response Format
<SI> 06 [serial number] packet parameter
16
Serial Number
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
06 packet type
2
Request Serial Number
[serial number] packet parameter
16
Serial Number
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 21 characters, minimum 21 characters
Example
<SI> 00000123-456-789 <SO>{LRC}
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
41
Page 44
M ANAGEMENT P ACKETS 06 Request Serial Number
Protocol Controller
Transmission Direction
06 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect
<-----ACK = LRC OK
06 response packet
------>
NAK = LRC incorrect (EOT after 3 NAKs) <------
42
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
EOT
Page 45
M ANAGEMENT P ACKETS 07 DES Reliability Test
07 DES Reliability Test Tests PINpad encryption function forward and backward with master key, a cleartext, and a known ciphertext.
Category Support Mode
Interactive Diagnostic Test PINpad 1000
PINpad 1000SE
D
D
Comments
This packet consists of a master key, a cleartext, and a known ciphertext. Upon receipt of this packet, the PINpad encrypts the cleartext using the master key and compares the encrypted result with the known ciphertext. If the comparison is good, PINpad will decrypt the known ciphertext using the same master key and compare the decrypted result with the cleartext. The DES test is considered reliable only after both comparisons are valid. The PINpad displays the result of the test.
Packet Format
<SI> 07 [kkkkkkkkkkkkkkkk] [dddddddddddddddd] [cccccccccccccccc] <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
07 packet type
2
DES Reliability Test
[kkkkkkkkkkkkkkkk] packet parameter
16 master key
[dddddddddddddddd] packet parameter
16 cleartext
[cccccccccccccccc] packet parameter
16 known ciphertext of [dddddddddddddddd] encrypted by [kkkkkkkkkkkkkkkk]
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 53 characters, minimum 53 characters
Examples
<SI>071234567890ABCDEF11112222333344445555666677778888<SO>{LRC}
This request packet tells the PINpad device to run the DES reliability test with the provided master key, cleartext, and known ciphertext.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
43
Page 46
M ANAGEMENT P ACKETS 07 DES Reliability Test
Protocol Controller
Transmission Direction
07 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs)
<------
44
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
EOT
Page 47
M ANAGEMENT P ACKETS 09 UART Loopback Test
09 UART Loopback Test Verifies that the receiver and transmitter circuitries and the UART codes are functioning correctly.
Category Support Mode
Comments
Request Format
Interactive Diagnostic Test PINpad 1000
PINpad 1000SE
D
D
Either the controller or PINpad device may initiate this test. The PINpad unit displays the test results. The response packet of 01 Run Diagnostic Function Routine contains packet 09 UART Loopback Test as well. <SI> 09 <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
09 packet type
2
UART Loopback 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
Response Format
<SI> 09 <SUB>PROCESSING <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
09 packet type
2
UART Loopback Test
<sub> packet parameter
1
ASCII Substitute Character; Value: 1Ah
PROCESSING packet parameter
10
Display ASCII Text: PROCESSING
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 16 characters, minimum 16 characters
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
45
Page 48
M ANAGEMENT P ACKETS 09 UART Loopback Test
Examples
<SI> 09 <SO>{LRC}
This request packet tells the PINpad device to run the UART loopback test. <SI> 09 <SUB>PROCESSING <SO>{LRC}
This response packet is used for comparison by the controller/PINpad unit.
Protocol Controller
Transmission Direction
09 request packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect
<-----ACK = LRC OK
09 response packet
------>
NAK = LRC incorrect (EOT after 3 NAKs) 09 response
------> <------
ACK = LRC OK NAK = LRC incorrect
<------
46
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
EOT
Page 49
M ANAGEMENT P ACKETS 10 Request Unencrypted PIN
10 Request Unencrypted PIN Causes the PINpad unit to request PIN number entry by the customer.
Support Mode
PINpad 1000
PINpad 1000SE
D Comments
Upon receipt of this packet from the master device, the PINpad requests a PIN number from the customer and returns the unencrypted PIN number to the master device.
NOTE
This packet is disabled in DUKPT-only mode.
Both the request and response formats are shown below.
Request Format
<SI> 10 [aaaaa.aa] <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
10 packet type
2
Request Unencrypted PIN
[aaaaaaa] packet type
3-7
Amount of purchase with implicit decimal point
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 12 characters, minimum 8 characters
Response Format
<STX> 10 [bb] [ff] [pppppppppppp] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
10 packet type
4
Request Unencrypted PIN
[bb] packet parameter
2 length of PIN; Range: 4-12
[ff] packet parameter
2
01 flag
[pppppppppppp] packet parameter
4-12
PIN number
<ETX> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh' PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
47
Page 50
M ANAGEMENT P ACKETS 10 Request Unencrypted PIN
Type
Field
Length
Description
{LRC} block code check
1
Error Check Character
Packet Length: maximum 23 characters, minimum 15 characters
Examples
<SI> 10 1.00 <SO>{LRC}
This request packet sends the PINpad a request for customer PIN entry and sends a transaction amount of $1.00. <STX> 71.0 04 01 1234 <ETX>{LRC}
This return packet and specifies that the PIN has 04 characters, an 01 flag, and a PIN of 1234.
Protocol Controller
Transmission Direction
10 request packet
------>
PINpad
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs) PINpad displays message requesting PIN entry
ACK = LRC OK
<------
User enters PIN
<------
10 response packet
------>
NAK = LRC incorrect (EOT after 3 NAKs) <------
48
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
EOT test complete