UMTS/HSPA Module Series
WCDMA UGxx FILE AT Commands Manual
WCDMA_UGxx_FILE_AT_Commands_Manual Confidential / Released 5 / 19
1
Introduction
Quectel module provides AT commands to operate files on RAM (Random Access Memory). This
document is a reference guide to these commands. The files in the RAM will be lost when rebooting the
module. The file name must begin with
“RAM:”
This document is applicable to Quectel UGxx modules.
1.1. The Process of Using File AT Commands
There are two modes to create, read and write the file in the storage:
1. The file is created and all the content of the file could be uploaded to the storage by command
“AT+QFUPL”. And the content can be outputted/downloaded through the serial interface by
command “AT+QFDWL”.
2. Ope
n the file by “AT+QFOPEN”, then the file can be written or read at any time and any location until
the file is closed by “AT+QFCLOSE”.
When the file is opened by command “AT+QFOPEN”, you can set the file as overwrite mode or
read-only mode or others by the parameter <mode>. (For more information about <mode>, see
Section 2.6). After the file is opened, a <file_handle> is assigned to this file. Then you can
operate this file via this <file_handle>.
After the file is opened, write the file by command “AT+QFWRITE” and read the file by
“AT+QFREAD” from the current file position.
You
can set the file position by “AT+QFSEEK” and get the current position by
“AT+QFPOSITION".
“AT+QFTUCAT” will truncate the file from the current position to the end of the file.
Close
the file by “AT+QFCLOSE”. Then the <file_handle> becomes meaningless to this file.
There are several commands to manage files in the storage:
1.
“AT+QFLDS” gets the storage size.
2.
“AT+QFLST” lists files information in the storage.
3.
“AT+QFDEL” deletes the file(s).
Quectel
Confidential