ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 876 of 1039 2021-09-23
3.23.9. AT#M2MLIST - M2M 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:
11. full directory path if starting with "/"
12. relative directory path name
13. 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
>]
directory name, string type
delimited by characters '<' and '>'