NavCom LAND-PAK Rev.N User Manual
Page 108
Technical Reference Manual Rev. N
Blk = All;
Blu = IOP w/Internal Radio
;
Red = IOP & LBM
;
Grn = Engine only
106
0x0a – Close File
Use this command to close a file that was open for logging (0x7e.0x07) or a file that was
open for reading (0x7e.0x08). In either case, after closing the file, the file handle is no
longer valid and is rendered unusable.
Request
Record
Usage
Command - Yes
Response - No
Input: Close file from 0x7e.0x07 or 0x7e.0x08 request;
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
7e(hex)
U08
1
Length 0xXXXX
U16
2
W1
Sub ID 0x0a
U08
1
W2
0x00 (request)
U08
1
W3
Reserved
U16
2
W4
Control
B1=1: Close file open for reading
B2=1: Close file open for writing
U08
1
CKSM Checksum
U08
1
ETX
03
(hex)
U08
1
Response
Record
Usage
Command - No
Response - Yes
Input: see table above;
Output: reports the success or failure of close file request
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 0x0a
U08
1
W2
0xff (response)
U08
1
W3
Reserved
U16
2
W4
Control (Copied from Request Message)
B1=1: Close file open for reading
B2=1: Close file open for writing
U08
1
W5
Result
0x00: File successfully closed
B0=1: No file open for reading
B1=1: Error trying to close file open for reading
B2=1: No file open for writing
B3=1: Error trying to close file open for writing
B7=1: Memory Mount Failure
U08
1
CKSM Checksum
U08
1
ETX
03
(hex)
U08
1