WE866E4-P AT Commands Reference Guide
80572ST10887A Rev. 0.0
29
2018-02-16
PRELIMINAR
Y
6.4 System Settings
6.4.1 Open File
This command is used to open a specified file with options in the file name.
Command Syntax
AT+YFOP=<FIle Name>,<Options>
Parameter Description
, describes the Open File parameters.
Response
, describes the responses and remarks for Open File command.
Synchronous Response
, describes the synchronous responses and remarks for Open File
command.
Table 21 Open File Parameters
Parameters Mandatory/Optional
Value
Description
File Path
Mandatory
Value range:
1-64
Format:
String
Default value:
N/A
It specifies the file name along with the
path.
Example:/sys/abc.txt
Options
Mandatory
Value range:
0x0-0x2, 0x41,
0x42, 0xC1, 0xC2,
0x241, 0x242,
0x441, 0x442,
0x4C1, 0x4C2
Format:
Hexa
Default value:
N/A
It specifies any of the following three
options, namely:
Open for reading only.
Open for writing only.
Open for reading and writing.
Table 22 File Open Response
Responses
Remarks
OK
Success.
ERROR
If parameter is not valid.