ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 879 of 1039 2021-09-23
3.23.10. AT#M2MREAD - M2M Read File
This command reports the content of a file stored in the File System.
AT#M2MREAD=<file_name>
Execution command reads the content of a generic file stored in the folder
specified by <file_name> parameter. After command line is terminated
with <CR>, the module prompts the following five-character sequence:
<CR><LF><less_than><less_than><less_than> (see IRA 13, 10, 60,
60, 60)
followed by the file content.
Parameter:
can be:
14. full file name path starting with
"/"
15. relative file name path
16. file name (in current directory)
Maximum full path length is 128 chars, maximum folder or file
name is 64 chars. Overall max full file path is 128 + 64 = 192 chars.
If the file <file_name> or its path is not present in the file system,
an error code is reported.
<file_name> and its path are case sensitive
<file_name> can be equivalently enclosed on quote or not