NavCom LAND-PAK Rev.N User Manual
Page 100

Technical Reference Manual Rev. N
Blk = All;
Blu = IOP w/Internal Radio
;
Red = IOP & LBM
;
Grn = Engine only
98
Response
Record
Usage
Command - No
Response - Yes
Input: see table above;
Output: reports the current deleted file directory
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
7e(hex)
U08
1
Length 0xXXXX
U16
2
W1
Sub ID 0x03
U08
W2
0xff (response)
U08
W3
Present Date
B15-B9: Years since
B8-B5:
B4-B0:
U16
years
month
day
0-65535
1-12
1-31
n+1980
2
W4
Present Time
B15-B11:
B10-B5:
B4-B0:
U16
hrs
min
sec
0-23
0-59
0-29
n/2
2
W5
Number of Files Deleted
U16
2
W6
Result
B1=1: Incorrect “special” bits (W3) in
request
0: OK
B4=1: Badly Constructed Filename
B7=1: Memory Mount Failure
U08
1
W7
Reserved
U08
1
W(8+6n)
Filename String (Null Terminated String)
Supports DOS 8.3 filenames. (Copy of
filename from request message.)
Supports wild card characters ‘*’ and ‘?’
‘?’ – Single character wild card
‘*’ – String wild cardFile
U08[]
1[]
CKSM
Checksum
U08
1
ETX
03 (hex)
U08
1
0x04 – Delete Files (specified by date/time)
In order to delete files, the user should send a request message with the “special” bits of W3
specified as above. (This is a safety feature to guard against inadvertent erasure.) The
user should also specify a date and time, and set bit 0 of W3 in accordance with whether
files before or after that date/time are to be deleted. Any files with timestamps in the
selected range will be irretrievably deleted from the file system.
The response from the IOP includes a result bit (bit 1 of W6) which will be set to 1 if the
“special” bits in the request were set incorrectly. Otherwise, bit 1 of W6 will be zero, and the
response will indicate the number of files successfully deleted. In W8, the response will
contain a copy of the selected date and time from the request message.