background image

                                                                                   

LTE  Module  Series 

                                                                  BG96  DFOTA  User  Guide

 

BG96_DFOTA_User_Guide 

                                                                                              11 / 16 

 
 

 

3.2. AT+QFOTADL=<para>    Upgrade Firmware When Delta Package is 

Stored in Local File System 

 

If the delta firmware package has already been stored in the 

module’s file system, 

AT+QFOTADL=<para>

 

command should be executed to enable automatic firmware upgrade via DFOTA. Then the module will 

upgrade the firmware automatically.   

Parameter 

 

 

1.  "RESTORE"  means  the  process  of  copying  the  upgraded  firmware  to  the  original  partition  from 

backup partition. 

2.  The storage path for delta firmware package is 

/fota/update.zip

. Both the path and the package name 

cannot be modified. Customers can use the QEFS Explorer tool provided by Quectel to upload the 

upgrade package. 

3.  If the module is powered down during "RESTORE", the module will automatically enter into forced 

upgrade  mode  when  power  up  next  time  and  continue  upgrade  from  "RESTORE".  The  upgrade 

interface is shown as below: 

AT+QFOTADL=<para>    Upgrade Firmware When Delta Package is Stored in Local 
File System 

Write Command 

AT+QFOTADL=<para> 

Response 

OK 

 

+QIND: "FOTA","START" 

+QIND: "FOTA","UPDATING",<percent> 

+QIND: "FOTA","UPDATING",<percent> 

... 

+QIND: "FOTA","RESTORE",<percent> 

+QIND: "FOTA","RESTORE",<percent> 

... 

+QIND: "FOTA","END",<err> 

 

If there is any error, response: 

ERROR 

<para>

         

Integer type.   

                                        1       

Start upgrade 

<percent>     

              Integer type. The upgrade progress in percentage. 

<err> 

                   

Integer  type.  0  means  upgraded  successfully.  Any  other  value  means  an  error. 

Please refer to 

Chapter 5

 for more details.   

NOTES 

 

Содержание BG96

Страница 1: ...BG96 DFOTA User Guide LTE Module Series Rev BG96_DFOTA_User_Guide_V1 0 Date 2017 12 19 Status Released www quectel com...

Страница 2: ...IDED IS BASED UPON CUSTOMERS REQUIREMENTS QUECTEL MAKES EVERY EFFORT TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE QUECTEL DOES NOT MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HERE...

Страница 3: ...LTE Module Series BG96 DFOTA User Guide BG96_DFOTA_User_Guide 2 16 About the Document History Revision Date Author Description 1 0 2017 12 19 Matt YE Lucifer YAN Initial...

Страница 4: ...ing 7 2 4 Check Network Status 8 2 5 Execute AT Command to Upgrade the Firmware 8 3 Description of DFOTA AT Commands 9 3 1 AT QFOTADL httpURL Upgrade Firmware When Delta Package is Stored on HTTP S Se...

Страница 5: ...dule Series BG96 DFOTA User Guide BG96_DFOTA_User_Guide 4 16 Table Index TABLE 1 SUMMARY OF HTTP_ERR CODES 15 TABLE 2 SUMMARY OF ERR CODES 15 TABLE 3 RELATED DOCUMENTS 16 TABLE 4 TERMS AND ABBREVIATIO...

Страница 6: ...customers to upgrade the firmware over the air It can upgrade the firmware to a new version and revert to the old version as well Before firmware upgrading customers only need to prepare the firmware...

Страница 7: ...rmware package HTTP S Server 4 Automatically download from HTTP S server via LTE GPRS network LTE GPRS HTTP S Ext MCU Quectel Module 2 Put the package on HTTP S server 3 Execute AT QFOTADL command 5 A...

Страница 8: ...ded for Quectel or the module supplier to get the delta firmware package 2 2 Put Delta Package on HTTP S Server When using the DFOTA function customers need to setup an HTTP S server by themselves for...

Страница 9: ...rk registration status AT CREG or AT CGREG Query the registered operator AT COPS For more details about the above commands please refer to Quectel_BG96_AT_Commands_Manual 2 5 Execute AT Command to Upg...

Страница 10: ...a Package is Stored on HTTP S Server If the delta firmware package is stored on an HTTP S server AT QFOTADL httpRUL command should be executed to enable automatic firmware upgrade via DFOTA Then the m...

Страница 11: ...he client certificate must be renamed into fota_client_cert pem The private key must be renamed into fota_client_key pem Quectel QEFS Explorer tool can be used to upload the certificates For more deta...

Страница 12: ...ed Customers can use the QEFS Explorer tool provided by Quectel to upload the upgrade package 3 If the module is powered down during RESTORE the module will automatically enter into forced upgrade mod...

Страница 13: ...e Series BG96 DFOTA User Guide BG96_DFOTA_User_Guide 12 16 QIND FOTA Last upgrade was not finished continue upgrade QIND FOTA START QIND FOTA RESTORE 1 QIND FOTA RESTORE 2 QIND FOTA RESTORE 100 QIND F...

Страница 14: ...0 0 0 0 0 0 OK AT CSQ CREG CGREG COPS Query network status CSQ 26 99 CREG 0 1 CGREG 0 1 COPS 0 0 Telstra Mobile Telstra 7 OK Execute AT QFOTADL command to enable automatic firmware upgrade via DFOTA...

Страница 15: ...eady been stored in the module s file system Execute AT QFOTADL command to enable automatic firmware upgrade via DFOTA and then the module will start to download the firmware package and upgrade firmw...

Страница 16: ...quipment or network The details about http_err and err are described in the following tables Table 1 Summary of http_err Codes http_err Meaning 0 Download successful 701 HTTP S unknown error Table 2 S...

Страница 17: ...reviations SN Document Name Remark 1 Quectel_BG96_AT_Commands_Manual AT commands manual for BG96 2 Quectel_BG96_QEFS_Explorer_User_Guide User guide for QEFS Explorer tool Abbreviation Description DFOT...

Отзывы: