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
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.