beautypg.com

Changes to the communication specification – Triton X-SCALE/X2 Configuration Manual User Manual

Page 352

background image

Changes to the Communication Specification

The following FID has been added to support sending journal data to the host:

Journal data – Ten ASCII numbers, optionally followed by size / journal

data pairings, always ending with an ANSI CRC-16 checksum. - T

1

T

2

T

3

T

4

T

5

T

6

T

7

T

8

T

9

T

10

(T

11

T

12

T

13

)(Base64 data) T

14

T

15

T

16

T

17

1 Numeric (T

1

) - Status Field ‘0’ = Disable ‘1’ = Enable ‘2’=Incomplete

record ‘3’=ACK ‘4’=NAK

2 Numeric (T

2

T

3

) - Maximum records when sent from host or numbers of

records to follow when sent to host.
3 Numeric (T

4

T

5

T

6

) - Maximum journal data (256-999 bytes) when sent

from host or total journal data (in bytes) to follow when sent to host.

4 Numeric (T

7

T

8

T

9

T

10

) – Indicates the number of journal records that have

not been audited on the terminal which will include any records included

with this message. This field will be zero filled when being sent from the

host to the terminal.

(T

11

T

12

T

13

)(Base64 data) - The remainder of the packet will be (T

2

T

3

)

pairs of 3 ASCII numbers followed by the Base64 representation of the

journal record as defined in Triton Connect Journal Command Packet

(Triton Terminal Journal Record Format Specification.). This part of the

packet will only be transmitted from the terminal to the host.

3 Numeric (T

11

T

12

T

13

) – size (in bytes) of 1 Base64 (RFC 3548) encoded

journal record to follow.

ASCII bytes- Base64 representation of the journal record as defined by

Triton Terminal Journal Record Format Specification.

‘j’

T

14

T

15

T

16

T

17

-4 ASCII characters that represent the CRC-16 two byte

checksum calculated from and including the j fid to the last byte of Base64

data. Each character represents a 4-bit hexadecimal numeral (0-9, A-F).

Uses the ANSI CRC-16 error checking protocol standard. See the sample

code in APPENDIX F.

FID ‘uj’ has been added to support mini statement receipts:

X2 2.0.1 Software Release Notes

Triton Systems

Page 17 of 19

October 23, 2007