Quectel WCDMA UG FILE Series At Command Manual

Umts/hspa module

Advertisement

Quick Links

WCDMA UGxx FILE
AT Commands Manual
UMTS/HSPA Module Series
Rev. WCDMA_UGxx_FILE_AT_Commands_Manual_V1.3
Date: 2016-05-05
www.quectel.com

Advertisement

Table of Contents
loading

Summary of Contents for Quectel WCDMA UG FILE Series

  • Page 1 WCDMA UGxx FILE AT Commands Manual UMTS/HSPA Module Series Rev. WCDMA_UGxx_FILE_AT_Commands_Manual_V1.3 Date: 2016-05-05 www.quectel.com...
  • Page 2 QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION PROVIDED IS BASED UPON CUSTOMERS‟ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR RELIANCE UPON THE INFORMATION.
  • Page 3: About The Document

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual About the Document History Revision Date Author Description 2014-12-10 Jonathan WEN Initial Changed the document name from “UG95” 2015-03-02 Bonnie ZHAO to “UGxx”. 2015-04-01 Bonnie ZHAO Updated applicable modules. 2016-05-05 Sophie ZHU Changed <filename>...
  • Page 4: Table Of Contents

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual Contents About the Document ........................... 2 Contents ............................... 3 Introduction ............................5 1.1. The Process of Using File AT Commands ................5 Description of AT Command ......................6 2.1. AT+QFLDS Get the Space Information of the Storage............6 2.2.
  • Page 5 UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual Table Index TABLE 1: SUMMARY OF ERROR CODE ....................18 WCDMA_UGxx_FILE_AT_Commands_Manual Confidential / Released 4 / 19...
  • Page 6: Introduction

    WCDMA UGxx FILE AT Commands Manual 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.
  • Page 7: Description Of At Command

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual Description of AT Command 2.1. AT+QFLDS Get the Space Information of the Storage AT+QFLDS responds the space information of the specified storage. AT+QFLDS Get the Space Information of the Storage Test Command Response AT+QFLDS=? Write Command...
  • Page 8: At+Qflst List Files

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual 2.2. AT+QFLST List Files AT+QFLST lists the information of a single file or all files in the required storage medium. AT+QFLST List Files Test Command Response AT+QFLST=? Write Command Response AT+QFLST=<name_pattern> +QFLST: <file_name>,<file_size>...
  • Page 9: At+Qfdel Delete The File In The Storage

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual 2.3. AT+QFDEL Delete the File in the Storage AT+QFDEL deletes a single file or all the files in the specified storage. AT+QFDEL Delete the File in the Storage Test Command Response AT+QFDEL=? +QFDEL: <file_name>...
  • Page 10 UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual Write Command Response AT+QFUPL=<file_name>[,<file_size>[ CONNECT ,<timeout>[,<ackmode>]]] TA switches to the transparent access mode, and the binary data of file can be inputted. When the total size of the inputted data reaches <file_size> (unit: byte), TA will return to command mode and reply the following codes: +QFUPL: <upload_size>,<checksum>...
  • Page 11: At+Qfdwl Download The File From The Storage

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual MCU receives this „A‟ and then sends the next 1K bytes data; Repeat step 3) and 4) until the transfer is completed. 2.5. AT+QFDWL Download the File from the Storage AT+QFDWL downloads the file from the module storage. AT+QFDWL Download the File from the Storage Test Command Response...
  • Page 12: At+Qfopen Open The File

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual 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 Response AT+QFOPEN=?
  • Page 13: At+Qfread Read The File

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual 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 Response...
  • Page 14: At+Qfseek Seek The File

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual command mode and reply the following codes: +QFWRITE: <written_length>,<total_length> +CME ERROR: <err> Parameter <file_handle> The handle of the file to be operated <length> The length of the file to be written, the default length is 10K. The range of this parameter is same with the <free_size>...
  • Page 15: At+Qfposition Get The Offset Of The File Pointer

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual <err> The error code from the module (see the Appendix A) NOTES If <position> is 0, and the <offset> exceeds the file size, the command will return ERROR. If <position> is 1, and the total size of the <offset> with the current position of the pointer exceeds the file size the command will return ERROR.
  • Page 16: At+Qfclose Close The File

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual Write Command Response AT+QFTUCAT=<file_handle> +CME ERROR: <err> Parameter <file_handle> The handle of the operated file <err> The error code from the module (see the Appendix A) 2.12. AT+QFCLOSE Close the File AT+QFCLOSE closes the file and ends the operation to the file.
  • Page 17: Example

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual Example 3.1. Upload and Download Files 3.1.1. Upload the File 3.1.1.1. Non ACK Mode //Upload the text file “RAM:test1.txt” to RAM. AT+QFUPL="RAM:test1.txt",10 CONNECT <input file bin data> +QFUPL: 10,613e //Get the bytes of the uploaded data and the checksum. 3.1.1.2.
  • Page 18: Download The File

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual 3.1.2. Download the File //Download the text file “RAM:test.txt” from RAM. AT+QFDWL="RAM:test.txt" CONNECT <Output Data> +QFDWL: 10,613e //Get the bytes of the downloaded data and the checksum. 3.2. Write and Read the File 3.2.1.
  • Page 19: Appendix A Summary Of Code

    UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual Appendix A Summary of <err> Code The result of the final error code is “+CME ERROR: <err>”. <err> indicates an error relating to the ME or Network. The operation is similar to Error result code. It will be returned when some definition error happens.
  • Page 20 UMTS/HSPA Module Series WCDMA UGxx FILE AT Commands Manual no space time out file too large invalid parameter file already opened WCDMA_UGxx_FILE_AT_Commands_Manual Confidential / Released 19 / 19...

Table of Contents