IPP MS AND DUKPT COMMUNICATIONS PACKETS
MAC-Specific Packets
M
X
800 SERIES PROGRAMMERS GUIDE 337
MAC Packet Z66
Length:
• MAX: 255 characters
• MIN: 12 characters
MAC Packet Z66
Example:
<STX>Z663002<FS>0123456789123456<FS><FS>0123456789ABCDEF<ETX>{LRC}
Notes 1 Maximum of 100 Z66 packets can be sent during one MAC session.
2 8*XAN in “Message for MAC” represents the number of 8-byte (or character)
blocks. For example,
• X = 0: no message data
• X = 1: 8 bytes of message data
• X = 2: 16 bytes of message data
• X = 3: 24 bytes of message data
:
:
• X = 27: 216 bytes of message data
• X = 28: 224 bytes of message data
For ASCII data, all values of X from 0–28 are allowed.
For Binary data, only 0, 2, 4, 6,...., 26, 28 are permitted. (X = 2 * N, where N =
0 to 14.)
3 If the length of “Message for MAC” is not a multiple of 8 in the final Z66 packet,
the PIN pad automatically pads it with zeros (ASCII 30h) internally.
4 An example of a 8-byte data block for the ASCII message “AMT$1.99” is
“414D5424312E3939”
5 ASCII-coded binary message is two hex digits that represent a byte value, see
the conversion result above.
Second Key 1N Optional; Second master key pointer;
Range: 0–9
<FS> 1H Field separator, value: 1Ch
Message for
MAC
a
8*XAN0 ASCII message or ASCII-coded binary data:
X= 0–28 for ASCII data
X= 0,2,4,6,...,27,28 for binary data
<ETX> 1H End of text, value: 03h
{LRC} 1H Error check
a. ASCII messages for MAC should not include ETX(0x03) or SO(0x0E).
Table 87 MAC Packet Z66 Format (Continued)
Data Element Characteristic Comments