Examples; Upgrade Firmware From Https Server By Dfota - Quectel BG96 User Manual

Dfota lte series
Hide thumbs Also See for BG96:
Table of Contents

Advertisement

4

Examples

4.1. Upgrade Firmware from HTTPS Server by DFOTA

//Upgrade firmware when delta firmware package is stored on an HTTPS server.
//The HTTPS server address is "https://www.quectel.com:100/update.zip".
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","Telstra.internet","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
OK
AT+CSQ;+CREG?;+CGREG?;+COPS?
+CSQ: 26,99
+CREG: 0,1
+CGREG: 0,1
+COPS: 0,0,"Telstra Mobile Telstra",7
OK
//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="https://www.quectel.com:100/update.zip"
OK
+QIND: "FOTA","HTTPTART"
+QIND: "FOTA","HTTPEND",0
+QIND: "FOTA","START"
+QIND: "FOTA","UPDATING", 1%
+QIND: "FOTA","UPDATING", 2%
...
+QIND: "FOTA","UPDATING", 100%
+QIND: "FOTA","RESTORE", 1%
+QIND: "FOTA","RESTORE", 2%
...
BG96_DFOTA_User_Guide
//Query APN setting
//Query network status
//Finish downloading the package from HTTPS server.
LTE Module Series
BG96 DFOTA User Guide
13 / 16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents