System information
Section 2. Protocols and Packet Types
2-14
Name Type Description
FileOffset UInt4 Describes the byte offset into the file of this
fragment. This field will be zero if this is a
single exchange transaction.
{ FileData } Byte [ ] The data being sent in this packet
File Download Response Body (MsgType 0x9c):
Name Type Description
MsgType Byte Message type code (0x9c)
TranNbr Byte Transaction number
RespCode Byte Response Code:
0x00: Complete
0x01: Permission denied
0x02: Insufficient resources or memory full
0x09: Invalid fragment number
0x0d: Invalid file name
0x0e: File is not currently accessible
FileOffset UInt4 The FileOffset number from the command
packet to which this is responding
2.3.3.2 File Upload Transaction (MsgType 0x1d & 0x9d)
This transaction moves a file from the datalogger to the client application. The
CloseFlag field, listed in the description below, closes the file and indicates the
End of File. If an attempt to read past the End of File occurs, the datalogger
provides a final response indicating FileData empty and automatically closes
the file without requiring any additional exchanges.
File Upload Command Body (MsgType 0x1d):
Name Type Description
MsgType Byte Message type code (0x1d)
TranNbr Byte Transaction number
SecurityCode UInt2 Security code for the datalogger
FileName ASCIIZ [0..64] The name of the file to be retrieved
CloseFlag Byte 0x00: Keep the file open for more exchanges
on this transaction
0x01: This transaction is the final exchange of
the transaction
FileOffset UInt4 Byte offset into the file of the fragment
Swath UInt2 The number of bytes to read
File Upload Response Body (MsgType 0x9d):
Name Type Description
MsgType Byte Message type code (0x9d)
TranNbr Byte Transaction number