LTE Module Series
BG96 FILE AT Commands Manual
BG96_FILE_AT_Commands_Manual 3 / 22
Contents
About the Document...................................................................................................................................2
Contents.......................................................................................................................................................3
Table Index...................................................................................................................................................4
1Introduction..........................................................................................................................................5
1.1. The Process of Using File AT Commands ..............................................................................5
1.2. Description of Data Mode........................................................................................................6
2Description of FILE AT Commands ...................................................................................................7
2.1. AT+QFLDS Get the Space Information of UFS....................................................................7
2.2. AT+QFLST List Files.............................................................................................................8
2.3. AT+QFDEL Delete Files .......................................................................................................9
2.4. AT+QFUPL Upload a File.....................................................................................................9
2.5. AT+QFDWL Download a File.............................................................................................. 11
2.6. AT+QFOPEN Open a File ..................................................................................................12
2.7. AT+QFREAD Read a File...................................................................................................13
2.8. AT+QFWRITE Write a File..................................................................................................13
2.9. AT+QFSEEK Set File Pointer to a Position........................................................................14
2.10. AT+QFPOSITION Get the Offset of a File Pointer.............................................................15
2.11. AT+QFTUCAT Truncate a File from the File Pointer..........................................................16
2.12. AT+QFCLOSE Close a File................................................................................................16
3Examples ............................................................................................................................................18
3.1. Upload and Download Files..................................................................................................18
3.1.1. Upload a File..................................................................................................................18
3.1.1.1. NonACK Mode..................................................................................................... 18
3.1.1.2. ACK Mode ............................................................................................................18
3.1.2. Download a File .............................................................................................................19
3.2. Write and Read Files.............................................................................................................19
3.2.1. Write and Read a UFS File............................................................................................19
4Summary of ERROR Codes..............................................................................................................20
5Appendix A Reference.......................................................................................................................22