User's Manual

PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06
Section 13 JPEG File Operation messages 2015-04-20
Page302
Uniform Industrial Corp. Proprietary and Confidential Total 342 pages
Message J1 Query JPEG File Table
Format: <STX>J1<ETX>[LRC]
Request frame (HOST to PIN Pad)
<STX>J1[PktType][Status_1][FileName_1]<FS>
[Status_2][FileName_2]<FS>...
[Status_N-1][FileName_N-1]<FS>
[Status_N][FileName_N]<ETX>[LRC]
(where the value of 'N' is total amount of the JPEG files)
Response frame (PIN Pad to HOST)
Message length: Fixed 5 bytes for request frame and variable 5 to 540 bytes for response frame.
Usage: This message is used to query JPEG file table from terminal.
Message element:
Request frame (HOST to PIN Pad)
Field Length Value and description
<STX> 1 <02>
J1 2 Message ID
<ETX> 1 <03>
[LRC] 1 Checksum
Response frame (PIN Pad to HOST)
Field Length Value and description
<STX> 1 <02>
J1 2 Message ID
[PktType] 1 '0' = first or middle of multiple packets.
'1' = last or only packet.
[Status_1] 1 '0': Unselect. (optional)
'1': Select.
[FileName_1] 1-15 File name 1 (optional)
<FS> 1 <1C>, field separator (optional)
[Status_2] 1 '0': Unselect. (optional)
'1': Select.
[FileName_2] 1-15 File name 2 (optional)
<FS> 1 <1C>, field separator (optional)
………………… …….. …………………………………..
[Status_N-1] 1 '0': Unselect. (optional)
'1': Select.