At+Qfotadl=<Httpurl> Upgrade Firmware When Delta Package Is Stored On An Http(S) Server - Quectel EP06 User Manual

Dfota
Hide thumbs Also See for EP06:
Table of Contents

Advertisement

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.
AT+QFOTADL=<httpURL> Upgrade Firmware When Delta Package is Stored on an
HTTP(S) Server
Write Command
AT+QFOTADL=<httpURL>
Parameter
<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.
Example
//Upgrade the firmware when the delta firmware package is stored on an HTTP server.
//The HTTP server address is "http://www.quectel.com:100/update.zip".
//Execute AT+QFOTADL command to enable automatic firmware upgrade via DFOTA, and then the
EP06&EG06&EM06_DFOTA_User_Guide
EP06&EG06&EM06 DFOTA User Guide
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
LTE-A Module Series
10 / 16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Eg06Em06

Table of Contents