0x7c - user text message – NavCom LAND-PAK Rev.N User Manual
Page 92

Technical Reference Manual Rev. N
Blk = All;
Blu = IOP w/Internal Radio
;
Red = IOP & LBM
;
Grn = Engine only
90
0x7c - User Text Message
The entire message (including protocol overhead, i.e., 0x02 0x99 0x66 … 0x03) will be copied
to the open file. If there is no open file, the message will be discarded, and if the ACK/NAK bit
of W1 was set, the IOP will respond with a message 0x7C error code equal to 0x32
(NAK_BadFileHandle). If the file system cannot be mounted, and if the ACK/NAK bit of W1 was
set, the IOP will respond with message 0x7C error code equal to 0x33
(NAK_MMCMountFailure).
The message contains a text string and can be used for incorporating arbitrary user
text/comments within a log file.
Command:
Record
Usage
Command - Yes
Response - No
Input: contains a text string and can be used for incorporating arbitrary user
text/comments within a log file;
Output: see table below
Ref
Message Field Description
Data Type Units
Range
Scale
Byte
Count
STX
02
(hex)
U08
1
PRA1 99 (hex)
U08
1
PRA2 66 (hex)
U08
1
ID
7c (hex)
U08
1
Length 0xXXXX
U16
2
W1
Action Control
B2: ACK/NAK
U08
1
W2
Mode = 0x00 (command)
U08
1
W3
File Handle
U16
2
W4
null-terminated text message, max
512 chars
U08[]
1[]
CKSM Checksum
U08
1
ETX
03
(hex)
U08
1
Response:
Record
Usage
Command - No
Response - Yes
Input: see table above;
Output: reports contains a text string and can be used for incorporating
arbitrary user text/comments within a log file
Ref
Message Field Description
Data Type Units
Range
Scale
Byte
Count
STX
02
(hex)
U08
1
PRA1 99 (hex)
U08
1
PRA2 66 (hex)
U08
1
ID
7c (hex)
U08
1
Length 0x0008
U16
2
W1
Reserved
U08
1
W2
Mode = 0xff (response)
U08
1
W3
Error Code (0=no error)
U16
2
CKSM Checksum
U08
1
ETX
03
(hex)
U08
1