84
DL-V3 Firmware Reference Manual Rev 2
Chapter 3
DL-V3 Logs
3.7
FILETRANSFER
Log File Contents
The FILETRANSFER log contains partial, or complete, file contents of the DL-V3 log file that is
currently set as the
currentfile
. If the
currentfile
specified for the receiver is open (if logging is in
progress), fields 2 and 3 of the FILETRANSFER log are set to zero (0). If a
currentfile
for the receiver
is not set or specified, fields 2 and 3 of the FILETRANSFER log are set to zero (0).
The Packet ID field ranges from 0 to (the number of packets - 1). The first packet of a file that spans
more than one FILETRANSFER is numbered 0, and increments until all file packets are received.
The Sequence# field in the binary log header counts in the inverse direction, and contains the number
of packets remaining in the current FILETRANSFER sequence, with the last packet having
Sequence# set to 0. If there are more packets left in the transfer sequence than the capacity of the
Sequence# field, the Sequence # field is set to its maximum value.
The Data field is variable in size. The last data array in the file typically contains fewer than 1024
bytes, but all previous data arrays contain exactly 1024 bytes. This means that the binary
FILETRANSFER message itself is also variable in size. Please check the header information to
determine the message size and the Length field to determine the number of valid bytes in the
Data field.
Structure:
Message ID = 8192
Log Type: Polled
Field
Data
Description
Bytes
Format
Units
Offset
1
Header
Log header, see
H
-
0
2
Packet ID
Packet identification
number from 0 to (the
number of packets - 1)
4
Ulong
-
H
3
Length
Number of valid bytes in
the Data field
4
Ulong
Bytes
H+4
4
Data
Data array
(Max. 1024)
Hexbyte
-
H+8
Содержание DL-V3
Страница 1: ...OM 20000115 Rev 2 DL V3 Firmware Reference Manual ...
Страница 115: ...Index DL V3 Firmware Reference Manual Rev 2 115 ...
Страница 116: ...OM 20000115 Rev 2 2007 07 31 ...