FILELIST
Display the storage media contents
Platform: |
OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700 |
PwrPak7M variants and Legacy CPT7 receivers (PN 80023560) do not support this log.
Use this log to display the root directory of the active media. A log is produced for each file and directory in the root directory.
The active media is set with the FILEMEDIACONFIG command.
Message ID: 2100
Log Type: Asynch
Recommended Input:
log filelista
ASCII Example:
#FILELISTA,USB1,16,65.5,FINESTEERING,2209,502825.000,02000020,50e7,16809;INTERNAL_FLASH,FILE,419859,20200409,221434,"NMNE17200009B_2020-04-09_22-14-34.LOG"*2ea4d1bf
#FILELISTA,USB1,15,65.5,FINESTEERING,2209,502825.000,02000020,50e7,16809;INTERNAL_FLASH,FILE,14370264,20200409,223412,"NMNE17200009B_2020-04-09_22-34-11.LOG"*36c44730
#FILELISTA,USB1,0,65.5,FINESTEERING,2209,502825.000,02000020,50e7,16809;INTERNAL_FLASH,DIR,0,20200306,162238,"System Volume Information"*4cf7cae9
Field |
Field Type |
Description |
Format |
Binary Bytes |
Binary Offset |
---|---|---|---|---|---|
1 |
Log header |
FILELIST header For information about log headers, see ASCII, Abbreviated ASCII or Binary. |
- |
H |
0 |
2 |
MassStorageDevice |
Mass Storage Device |
Enum |
4 |
H |
3 |
FileType |
The type of entry for this log. See Table: File Type |
Enum |
4 |
H+4 |
4 |
FileSize |
File Size (in Bytes) |
Ulong |
4 |
H+8 |
5 |
ChangeDate |
Date of the last change |
Ulong |
4 |
H+12 |
6 |
ChangeTime |
Time of last change |
Ulong |
4 |
H+16 |
7 |
FileName |
Name of the file or directory File Name STRING Variable H + 20 |
String |
Variable |
H+20 |
8 |
xxxx |
32-bit CRC (ASCII and Binary only) |
Hex |
4 |
Variable |
9 |
[CR][LF] |
Sentence terminator (ASCII only) |
- |
- |
- |
Binary |
ASCII |
Description |
---|---|---|
0 |
NONE |
Indicates there are no entries in the selected media |
1 |
FILE |
File |
2 |
DIR |
Directory |
When there no files or directories on the specified media, a single FILELIST log is output with FileType set to NONE and file information set to 0 and empty strings.