LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 1648 of 1904 2022-03-04
3.27.11. AT#M2MLIST - File System List
This command lists the contents of a folder in the File System.
AT#M2MLIST[=<path>]
Execution command reports the list of directories and files stored in
current directory of the file system (see #M2MCHDIR for current path) or in
path specified by <path>.
The report is shown in Additional info section.
Parameter:
can be:
- full directory path if starting with "/"
- relative directory path name
- directory name (in current directory)
Here is the report format:
[<CR><LF>#M2MLIST: <.>
<CR><LF>#M2MLIST: <..>]
[<CR><LF>#M2MLIST: <dir_name
1
>...
[<CR><LF>#M2MLIST: <dir_name
n
>]]
[<CR><LF>#M2MLIST: <file_name
1
>,<size
1
>...
[<CR><LF>#M2MLIST: <file_name
n
>,<size
n
>]]
<CR><LF>#M2MLIST: free bytes: <free_mem>