72
DL-V3 Firmware Reference Manual Rev 2
Chapter 2
DL-V3 Commands
2.45 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
1
Header
-
-
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
Содержание 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 ...