LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 1651 of 1904 2022-03-04
3.27.12. AT#M2MREAD - 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:
- full file name path starting with "/"
- relative file name path
- 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