LTE Module Series
BG96 DFOTA User Guide
BG96_DFOTA_User_Guide
9 / 16
3
Description of DFOTA AT Commands
AT+QFOTADL
command enables automatic firmware upgrade for module via DFOTA. After executing the
command, the module will automatically download the package from HTTP(S) server. After the package
download is finished, the module will automatically upgrade the module
’s firmware. If firmware is
upgraded successfully, the module will reboot, otherwise it will return an error and exit from DFOTA.
3.1. AT+QFOTADL=<httpURL> Upgrade Firmware When Delta Package
is Stored on 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 Upgrade Firmware via DOFTA
Test Command
AT+QFOTADL=?
Response
OK
AT+QFOTADL=<httpURL> Upgrade Firmware When Delta Package is Stored on
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","RESTORE",<percent>
+QIND: "FOTA","RESTORE",<percent>
...
+QIND: "FOTA","END",<err>
If there is any error, response:
ERROR