At+Qfopen Open The File - Quectel WCDMA UG FILE Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

2.6. AT+QFOPEN Open the File

Get the file handle by the "AT+QFOPEN" which is used in other commands, such as "AT+QFWRITE",
"AT+QFREAD", "AT+QFSEEK", "AT+QCLOSE", "AT+QFPOSITION" and "AT+QFTUCAT".
AT+QFOPEN Open the File
Test Command
AT+QFOPEN=?
Read Command
AT+QFOPEN?
Write Command
AT+QFOPEN=<file_name>[,<mode>]
Parameter
<file_name>
<file_handle>
<mode>
<err>
WCDMA_UGxx_FILE_AT_Commands_Manual
Response
+QFOPEN: <file_name>[,(0-2)]
OK
Response
+QFOPEN: <file_name>,<file_handle>,<mode>
[+QFOPEN: <file_name>,<file_handle>,<mode>
[...]]
OK
Response
+QFOPEN: <file_handle>
OK
or
+CME ERROR: <err>
The file to be operated. The max length is 80 bytes
"RAM: <file_name>"
The handle of the file. The data type is 4 bytes
The open mode of the file. Default is 0
0
If the file does not exist, it will be created; if the file exists, it will be directly
opened. And both of them can be read and written.
1
If the file does not exist, it will be created; If the file exists, the file will be
overwritten and cleared. And both of them can be read and written.
2
If the file exists, open it and it can be read only. When the file does not exist, it
will respond the error.
The error code from the module (see the Appendix A)
WCDMA UGxx FILE AT Commands Manual
The operated file in the RAM
Confidential / Released
UMTS/HSPA Module Series
11 / 19

Advertisement

Table of Contents
loading

Table of Contents