Download A File; Write And Read Files; Write And Read A Ufs File - Quectel BG96 At Command Manual

Lte module
Hide thumbs Also See for BG96:
Table of Contents

Advertisement

3.1.2. Download a File

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

3.2. Write and Read Files

3.2.1. Write and Read a UFS File

AT+QFOPEN="test",0
+QFOPEN: 0
OK
AT+QFWRITE=0,10
CONNECT
<Write Data>
+QFWRITE: 10,10
OK
AT+QFSEEK=0,0,0
OK
AT+QFREAD=0,10
CONNECT 10
<Read Data>
OK
AT+QFCLOSE=0
OK
BG96_FILE_AT_Commands_Manual
//Download the text file "test.txt" from UFS.
//Get the bytes of the downloaded data and the checksum.
//Open the file to get the file handle.
//Write 10 bytes to the file.
//The actual bytes written and the size of the file are returned.
//Set the file pointer to the beginning of the file.
//Read 10 bytes from the file.
//Close the file.
LTE Module Series
BG96 FILE AT Commands Manual
19 / 22

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents