LTE Module Series
BG96 FILE AT Commands Manual
BG96_FILE_AT_Commands_Manual 14 / 22
Parameter
2.9. AT+QFSEEK Set File Pointer to a Position
The command sets a file pointer to a specified position. This will decide the starting position of commands
such as AT+QFREAD, AT+QFWRITE, AT+QFPOSITION and AT+QFTUCAT.
AT+QFWRITE Write a File
Test Command
AT+QFWRITE=?
Response
+QFWRITE: <filehandle>[,<length>[,<timeout>]]
OK
Write Command
AT+QFWRITE=<filehandle>[,<length>
[,<timeout>]]
Response
CONNECT
TA switches to data mode. When the total size of the written
data reaches <length> (unit: byte) or the time reaches
<timeout>, TA will return to command mode and reply the
following codes:
+QFWRITE: <written_length>,<total_length>
OK
If there is any error:
+CME ERROR: <err>
<filehandle>
The handle of the file to be operated.
<length>
The length of the file to be written, and the default length is 10K. The maximum
value of this parameter is determined by <freesize> of AT+QFUPL. Unit: byte.
<timeout>
The time waiting for data to be inputted to USB/UART. The default value is 5.
Unit: s.
<written_length>
The actual written length. Unit: byte.
<total_length>
The total length of the file. Unit: byte.
<err>
An error code relating to ME or network. Please refer to
Chapter 4
for details.
AT+QFSEEK Set File Pointer to a Position
Test Command
AT+QFSEEK=?
Response
+QFSEEK: <filehandle>,<offset>[,<position>]
OK