background image

                                                                                   

LTE-A  Module  Series 

                                                                  EP06&EG06&EM06  DFOTA  User  Guide

 

EP06&EG06&EM06_DFOTA_User_Guide                                                                                                9  / 16 

 
 

 

Parameter 

Example

 

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

//The FTP server address is “ftp://test:[email protected]:21/Jun/update-v12-to-v13.zip". 

//Execute  AT+QFOTADL  command  to  enable  automatic  firmware  upgrade  via  DFOTA,  and  then  the 

module will start to download the delta package and upgrade firmware automatically.

 

AT+QFOTADL="ftp://test:[email protected]:21/Jun/update-v12-to-v13.zip" 

OK 

+QIND: "FOTA","FTPSTART"                   

//Start to download the delta package from the FTP server.

 

+QIND: "FOTA","FTPEND",0

                     

//Finish downloading the delta package. 

//The module will reboot automatically and the USB port will be re-initialized. If the current port is USB port, 

then the MCU should 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> 

     

String  type.  The  URL  of  the  FTP  server.  The  maximum  length  is  255  bytes.  It 

should  be  started  with  "ftp://".  For  example: 

“ftp://<user_name>:<password> 

@<serverURL>:<port>/<file_path>”. 

<username>

 

String type. The user name for authentication.   

<password>

 

String type. The password for authentication.   

<serverURL>

       

String type. The IP address or domain name of the FTP server.   

<port>

                 

Integer  type.  The  port  of  the  FTP  server.  The  default  value  is  21.  The  range  is 

1-65535. 

<file_path> 

           

 String type. The file name on FTP server.   

<ftp_err> 

         

Integer  type.  The  FTP  error  code.  0  means  the  upgrade  is  successful.  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: