Quectel EP06 User Manual page 10

Dfota
Hide thumbs Also See for EP06:
Table of Contents

Advertisement

Parameter
<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.
Example
//Upgrade the firmware when the delta firmware package is stored on an FTP server.
//The FTP server address is "ftp://test:test@124.74.41.170: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:test@124.74.41.170:21/Jun/update-v12-to-v13.zip"
OK
+QIND: "FOTA","FTPSTART"
+QIND: "FOTA","FTPEND",0
//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"
+QIND: "FOTA","UPDATING",1
+QIND: "FOTA","UPDATING",2
...
+QIND: "FOTA","UPDATING",100
+QIND: "FOTA","END",0
EP06&EG06&EM06_DFOTA_User_Guide
EP06&EG06&EM06 DFOTA User Guide
//Start to download the delta package from the FTP server.
//Finish downloading the delta package.
//Start to upgrade the firmware.
//The firmware is upgraded successfully.
LTE-A Module Series
9 / 16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Eg06Em06

Table of Contents