WE866E4-P AT Commands Reference Guide
80572ST10887A Rev. 0.0
35
2018-02-16
PRELIMINAR
Y
6.4.7 Write File
This command is used to write the specified file from a given offset. Prior to issuing this
command, the file must be open.
Command Syntax
AT+YFWR=<FIle Descriptor>,<Offset>,<Data>
Parameter Description
, describes the Write File parameters.
Response
, describes the responses and remarks for Write File command.
Table 37 Write File Parameters
Parameters Mandatory/Optional
Value
Description
File
Descriptor
Mandatory
Value range:
0X0-0XFFFFFFFF
Format:
Hexa
Default value:
N/A
It specifies the value returned while
opening a file.
Offset
Mandatory
Value range:
0-1024
Format:
Integer
Default value:
N/A
It specifies offset from the starting of the
file.
Data
Mandatory
Value range:
0-1024
Format:
Integer
Default value:
N/A
It specifies the data to be written.
Table 38 Write File Response
Responses
Remarks
OK
Success.
ERROR
If parameter is not valid.