At+Qfread Read The File; At+Qfwrite Write The File - Quectel WCDMA UG FILE Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

2.7. AT+QFREAD Read the File

AT+QFREAD reads the data of the file related to the handle. The data starts from the current position of
the file pointer which belongs to the file handle.
AT+QFREAD Read the File
Test Command
AT+QFREAD=?
Write Command
AT+QFREAD=<file_handle>[,<length>
]
Parameter
<file_handle>
The handle of the file to be operated
<length>
The length of the file to be read out and the default is the file length
<read_length>
The actual read length
<err>
The error code from the module (see the Appendix A)

2.8. AT+QFWRITE Write the File

AT+QFWRITE writes the data to the file in storage. The data starts from the current position of the file
pointer which belongs to the file handle.
AT+QFWRITE Write the File
Test Command
AT+QFWRITE=?
Write Command
AT+QFWRITE=<file_handle>[,<length
>[,<timeout>]]
WCDMA_UGxx_FILE_AT_Commands_Manual
WCDMA UGxx FILE AT Commands Manual
Response
+QFREAD: <file_handle>[,<length>]
OK
Response
CONNECT <read_length>
TA switches to data mode. When the total size of the data
reaches <length> (unit: byte), TA will return to command
mode, display the result and then reply the following codes:
OK
or
+CME ERROR: <err>
Response
+QFWRITE: <file_handle>[,<length>[,<timeout>]]
OK
Response
CONNECT
TA switches to data mode. When the total size of the written
data reaches <length> (unit: byte) or the time, TA will return to
Confidential / Released
UMTS/HSPA Module Series
12 / 19

Advertisement

Table of Contents
loading

Table of Contents