Introduction; The Process Of Using File At Commands - Quectel WCDMA UG FILE Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

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".
Open the file by "AT+QFOPEN", then the file can be written or read at any time and any location until
2.
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:
"AT+QFLDS" gets the storage size.
1.
"AT+QFLST" lists files information in the storage.
2.
"AT+QFDEL" deletes the file(s).
3.
WCDMA_UGxx_FILE_AT_Commands_Manual
UMTS/HSPA Module Series
WCDMA UGxx FILE AT Commands Manual
Confidential / Released
5 / 19

Advertisement

Table of Contents
loading

Table of Contents