At+Qfposition Get The Offset Of The File Pointer; At+Qftucat Truncate The File From The File Pointer - Quectel WCDMA UG FILE Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

<err>
The error code from the module (see the Appendix A)
NOTES
1.
If <position> is 0, and the <offset> exceeds the file size, the command will return ERROR.
2.
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.
3.
If <position> is 2, the handle will move forth.

2.10. AT+QFPOSITION Get the Offset of the File Pointer

AT+QFPOSITION gets the current position of the file pointer which is relevant to the file handle.
AT+QFPOSITION Get the Offset of the File Pointer
Test Command
AT+QFPOSITION=?
Write Command
AT+QFPOSITION=<file_handle>
Parameter
<file_handle>
<offset>
<err>

2.11. AT+QFTUCAT Truncate the File from the File Pointer

AT+QFTUCAT will truncate all the data behind the position that the file pointer indicates.
AT+QFTUCAT Truncate the File from the File Pointer
Test Command
AT+QFTUCAT=?
WCDMA_UGxx_FILE_AT_Commands_Manual
Response
+QFPOSITION: <file_handle>
OK
Response
+QFPOSITION: <offset>
OK
or
+CME ERROR: <err>
The handle of the operated file
The offset from the beginning of the file
The error code from the module (see the Appendix A)
Response
+QFTUCAT: <file_handle>
UMTS/HSPA Module Series
WCDMA UGxx FILE AT Commands Manual
Confidential / Released
14 / 19

Advertisement

Table of Contents
loading

Table of Contents