Command 64h, APPFILE (Application file record)

The following table shows the structure of the report packet containing the application file. All data in the packet flows from the data collector to the receiver.

Byte

Item

Type

Value

Notes

0

STX

1 (Char)

02h

Start transmission

1

STATUS

1 (Char)

00h

Receiver status code

2

PACKET TYPE

1 (Char)

64h

Command Packet 64h

3

LENGTH

1 (Char)

00h

Data byte count

4

TRANSMISSION NUMBER

1 (Char)

00h–FFh

A transmission number is a unique transmission serial number ranging from 0 to 255, typically incrementing by 1 each time an application file is sent

5

PAGE INDEX

1 (Char)

00h–FFh

Index number (0 to 255) assigned to the current page

6

MAXIMUM PAGE INDEX

1 (Char)

00h–FFh

Index number (0 to 255) assigned to the last page of the packet

----- FILE CONTROL INFORMATION BLOCK -----

See File control information block.

----- APPLICATION FILE RECORDS -----

The following records are available:

Length + 4

CHECKSUM

CHAR

 

Checksum value. See Data collector format: packet structure.

Length + 5

ETX

CHAR

03h

End transmission

After all pages of the 64h command are sent, the receiver will ACK or NAK this command.