Smart Machine Smart Decision
SIM7000 Series_AT Command Manual_V1.03 217 2018-05-08
16.2.2 AT+CFSWFILE Write File to the Flash Buffer Allocated by CFSINIT
AT+CFSWFILE Write File to the Flash Buffer Allocated by CFSINIT
Test Command
AT+CFSWFILE=
?
Response
+CFSWFILE: (0-3),"fileName",(0-1),(1-10240),(100-10000)
OK
Parameters
See Write Command
Write Command
AT+CFSWFILE=
<index>,<file
name>,<mode>,<fi
time>
Response
OK
or
ERROR
or
+CME ERROR: <err>
Parameters
<index>
Directory of AP filesystem:
0 "/custapp/"
1 "/fota/"
2 "/datatx/"
3 "/customer/"
<file name>
File name length should less or equal 50 characters
<mode>
0 If the file already existed, write the data at the beginning of the
file.
1 If the file already existed, add the data at the end of the file.
<file size>
File size should be less than 10240 bytes.
<input time>
Millisecond, should send file during this period or you
can’t send file when timeout. The value should be less than 10000 ms.
Mode
-
Time
-
16.2.3 AT+CFSRFILE Read File from Flash
AT+CFSRFILE Read File from Flash