Download The File; Write And Read The File; Write And Read Ram File - Quectel WCDMA UG FILE Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

3.1.2. Download the File

AT+QFDWL="RAM:test.txt"
CONNECT
<Output Data>
+QFDWL: 10,613e
OK

3.2. Write and Read the File

3.2.1. Write and Read RAM File

AT+QFLDS="RAM"
+QFLDS: 524288,524288
OK
AT+QFOPEN="RAM:1",0
+QFOPEN: 3000
OK
AT+QFWRITE=3000,10
CONNECT
<Write Data>
+QFWRITE: 10,10
OK
AT+QFSEEK=3000,0,0
OK
AT+QFREAD=3000,10
CONNECT
<Read Data>
OK
AT+QFCLOSE=3000
OK
WCDMA_UGxx_FILE_AT_Commands_Manual
WCDMA UGxx FILE AT Commands Manual
//Download the text file "RAM:test.txt" from RAM.
//Get the bytes of the downloaded data and the checksum.
//Query the space information of RAM.
//Open the file in the RAM.
//Write 10 bytes to the file.
//The actual written bytes and the size of the file are returned.
//Set the file pointer to the beginning of the file.
//Read the data.
//Close the file.
Confidential / Released
UMTS/HSPA Module Series
17 / 19

Advertisement

Table of Contents
loading

Table of Contents