background image

                                                                                   

LTE-A  Module  Series 

                                                                  EP06&EG06&EM06  DFOTA  User  Guide

 

EP06&EG06&EM06_DFOTA_User_Guide                                                                                                10 / 16 

 
 

 

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

is Stored on an 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 module will download 

the delta package from the HTTP(S) server over the air and upgrade the firmware automatically. 

Parameter 

Example

 

//Upgrade the firmware when the delta firmware package is stored on an HTTP server. 

//The HTTP server address i

s “http://www.quectel.com:100/update.zip". 

//Execute 

AT+QFOTADL

  command  to  enable  automatic  firmware  upgrade  via  DFOTA,  and  then  the 

AT+QFOTADL=<httpURL>    Upgrade  Firmware  When  Delta  Package  is  Stored  on  an 
HTTP(S) Server 

Write Command 

AT+QFOTADL=<httpURL> 

 

Response 

OK 

+QIND: "FOTA","HTTPSTART" 

+QIND: "FOTA","HTTPEND",<http_err> 

+QIND: "FOTA","START"  

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

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

... 

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

 

If there is any error, response: 

ERROR 

<httpURL>                   

String type. The maximum length is 255 bytes. It should be started with "http://" or 

"https://"

For example: “http://<http_server_URL>:<http_port>/<http_file_path>”. 

<http_server_URL> 

 String type. The IP address or domain name of the HTTP(S) server. 

<http_port>         

        Integer type. The port of the HTTP(S) server. The default value is 80. The range is 

1-65535. 

<http_file_path>   

    String type. The file name in HTTP(S) server. 

<http_err>     

     

 Integer  type.  The  HTTP(S)  error  code.  0  means  upgraded  successfully.  Please 

 refer to 

Chapter 5

 

for details.   

<percent>     

              Integer type. The upgrade progress in percentage. 

<err> 

                   

 Integer  type.  0  means  firmware  upgrade  successful.  Any  other  value  means  an 

 error. Please refer to 

Chapter 5

 for details. 

Summary of Contents for EP06

Page 1: ...EP06 EG06 EM06 DFOTA User Guide LTE A Module Series Rev EP06 EG06 EM06_DFOTA_User_Guide_V1 0 Date 2018 08 31 Status Released www quectel com...

Page 2: ...NFORMATION PROVIDED 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...

Page 3: ...LTE A Module Series EP06 EG06 EM06 DFOTA User Guide EP06 EG06 EM06_DFOTA_User_Guide 2 16 About the Document History Revision Date Author Description 1 0 2018 08 31 Ramos ZHANG Mayra XU Initial...

Page 4: ...7 3 Description of DFOTA AT Commands 8 3 1 AT QFOTADL ftpURL Upgrade Firmware When Delta Package is Stored on an FTP Server 8 3 2 AT QFOTADL httpURL Upgrade Firmware When Delta Package is Stored on an...

Page 5: ...LTE A Module Series EP06 EG06 EM06 DFOTA User Guide EP06 EG06 EM06_DFOTA_User_Guide 4 16 Table Index TABLE 1 SUMMARY OF FTP_ERR HTTP_ERR AND ERR CODES 15 TABLE 2 TERMS AND ABBREVIATIONS 16...

Page 6: ...ade 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 package which con...

Page 7: ...he firmware upgrade procedure via DFOTA 1 Get delta firmware package FTP HTTP S Server 4 Automatically download from FTP HTTP S server via LTE WCDMA network LTE WCDMA FTP HTTP S Ext MCU Quectel Module...

Page 8: ...need to know the target firmware version Then the two firmware versions should be provided for Quectel or the module supplier in order to get the delta firmware package 2 2 Put Delta Package on FTP HT...

Page 9: ...L ftpURL Upgrade Firmware When Delta Package is Stored on an FTP Server If the delta firmware package is stored on an FTP server AT QFOTADL ftpURL should be executed to enable automatic firmware upgra...

Page 10: ...hould close and reopen it QIND FOTA START Start to upgrade the firmware QIND FOTA UPDATING 1 QIND FOTA UPDATING 2 QIND FOTA UPDATING 100 QIND FOTA END 0 The firmware is upgraded successfully ftpURL St...

Page 11: ...When Delta Package is Stored on an HTTP S Server Write Command AT QFOTADL httpURL Response OK QIND FOTA HTTPSTART QIND FOTA HTTPEND http_err QIND FOTA START QIND FOTA UPDATING percent QIND FOTA UPDATI...

Page 12: ...OTA UPDATING 1 QIND FOTA UPDATING 2 QIND FOTA UPDATING 100 QIND FOTA END 0 The firmware is upgraded successfully 3 3 AT QFOTADL file_name Upgrade Firmware When Delta Package is Stored on the Local Fil...

Page 13: ...K QIND FOTA START Start to upgrade the firmware QIND FOTA UPDATING 1 QIND FOTA UPDATING 2 QIND FOTA UPDATING 100 QIND FOTA END 0 The firmware is upgraded successfully file_name String type The maximum...

Page 14: ...elta firmware package and re put it on FTP HTTP S server 4 1 2 Failure of Firmware Upgrade After the upgrade package is checked OK then it starts to upgrade firmware If it is failed to upgrade the fir...

Page 15: ...lease do NOT power off the module until the firmware is upgraded successfully and QIND FOTA END 0 is received Then the module will reboot and enter into normal mode automatically During upgrading proc...

Page 16: ...download operation successful 601 FTP unknown error http_err Meaning 0 HTTP S download operation successful 701 HTTP S unknown error err Meaning 0 Firmware upgrade successful 502 The upgrade process...

Page 17: ...and Abbreviations Abbreviation Description DFOTA Delta Firmware Upgrade Over the Air Ext MCU External Microprogrammed Control Unit FTP File Transfer Protocol GPRS General Packet Radio Service HTTP S...

Reviews: