146 DL-V3 User Manual Rev 3
B.46 WRITEHEX Create User Data Logs
The writehex command/log allows you to create logs which contain user data.
The writehex command allows you to supply user data for the writehex log. Upon receipt of the
writehex command, the receiver generates a writehex log to all destinations which have been
configured to send writehex logs with a log writehex onnew command.
All of the supplied arguments are echoed in the generated writehex log.
If written to a logfile, the previous argument is overwritten to indicate the file offset (from the
beginning of the file) of the previous writeb or writehexb log. The first record in a logfile has this field
set to 0.
length specifies the number of bytes supplied as data.
data is up to 1024 joined hexadecimal pairs if the writehex command is issued in ASCII, and is
1024 bytes in a binary writehex message.
Syntax
writehex previous type length data
Message ID = 205
Field Data Bytes Format Units Offset
1Header - - 0
2 Previous 4 Ulong Bytes H
3 Type 4 Ulong H+4
4 Length 4 Ulong Bytes H+8
5 Data Max. 1024 Hexbyte H+12