User's Manual

PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06
Section 6 – Contact EMV Level 2 transaction messages 2015-04-20
Page81
Uniform Industrial Corp. Proprietary and Confidential Total 342 pages
Message T07 Data Format Table Setup
Format: <STX>T07[Clear]<SUB>[DO]<ETX>[LRC]
Message length: Variable.
Usage: PIN pad will check the consistent of TLV object from terminal via message T01 and
T05. Terminal can add more TLV format checking rules into PIN pad. PIN pad will send
the message T08 (Data Format Setup Response) to host.
Message element:
Field Length
Value and description
<STX> 1 <02>
T07 3 Message ID
Clear 1 ‘1’: Clear existed Data Format file
<SUB> 1 <1A, Optional, only if [DO] is existed
DO Var. Data Object, format as below
<ETX> 1 <03>
[LRC] 1 Checksum
Format of Data Objects:
The Data Objects for T07 shall include five data fields delimited by <FS>: [Tag#] <FS> [Format]
[Min Len] [Max Len] [Flag], Each data object is delimited by a <SUB> to construct multiple <DO>. If [flag]
is ‘0’, the data object will accept the length of value within [Min Len] and [Max Len]; if [flag] is ‘1’, the
data object will only accept ether [Min Len] or [Max Len] as valid length.
Example: (setup new data format.)
<STX>T070<SUB>5F88<FS>4021A0<SUB>5F99<FS>2080B1<ETX>[LRC]
In this example, PIN pad will check if the length of data with tag value 5F99 is 8-byte or 11-byte. PIN
pad will check if the length of data with tag value 5F88 is more than 1-byte and less than 27-byte.
Message flow:
HOST Direction PIN pad
1
st
Message T07
<ACK> (Good LRC)
<NAK> (Bad LRC)
<EOT> (after 3 NAKs)
Tag Data Format
Min Len
Max Len
Or Flag
5F88 4 02 1A 0 (data length is 2 ~ 26 bytes)
5F99 2 08 0B 1 (data length is 8 bytes or 11 bytes)