![Telit Wireless Solutions LE910C series At Commands Reference Manual Download Page 1643](http://html.mh-extra.comle910c-series_at-commands-reference-manual_10838171643.png)
LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14
Page 1643 of 1904
2022-03-04
Not Subject to NDA
3.27.9.
AT#M2MWRITE - Write a File
This command stores a file in the file system.
SIM Presence
Setting saved
Can be aborted
MAX timeout
SELINT
Not required
No
No
-
2
AT#M2MWRITE=<file_name>,<size>,<binToMod>
Execution command stores a generic file in the folder specified by
<file_name> parameter.
The file should be sent using RAW ASCII file transfer, and hardware flow
control should be used. After
command line is terminated with <CR>, the module prompts the following
five-character sequence:
<CR>,<LF>,<greater_than><greater_than><greater_than> (see IRA 13, 10,
62, 62, 62)
then a file sized <size> bytes can be sent from TE.
The operations complete when all bytes are received. If writing ends
successfully the response is
OK, otherwise, an error code is reported.
Parameters:
Name
Type
Default
Description
<file_name> string
-
can be:
- full file name path starting with "/"
- relative file name path
- file name (in current directory)
<size>
integer
-
file size
<binToMod> string
-
if <file_name> is provided as filename
with ".bin" extension, using
<binToMod> set to 1, force the file to be
Summary of Contents for LE910C series
Page 1904: ......