Firmware update of BG96 RAK8212 moudle via DFOTA

  • Quectel provides a method to update the firmware of BG96 via DFOTA (Delta Firmware Upgrade Over-the-air). And it is a simple way as below:

    1. Make sure your moudle has connected to operator net, you can query by the relevant AT commands are listed below:
       Query signal quality: AT+CSQ
       Query network registration status: AT+CREG? or AT+CGREG?
       Query the registered operator: AT+COPS?
      My test is based on 2G with China Mobile, and my init code is shown in the attached file.

    2. Put the delta firmware on HTTP server

    3. Execute AT+QFOTADL command. Then the module will automatically download the package from HTTP server via LTE/GPRS network and finally automatically upgrade the module’s firmware.

    4.Use command :ATI to see the firmware version. For example, the response like below:
    0> Quectel
    0> BG96
    0> Revision: BG96MAR02A05M1G (05 is the version num)

    The overall process:

    1. moudle connect to operator net
    2. put firmware on http server and the address is like :
    3. use command and update finish automatically.
      +QIND: "FOTA","HTTPEND",0 //Finish downloading the package from HTTP server.
      +QIND: "FOTA","START"
      +QIND: "FOTA","UPDATING", 1%
      +QIND: "FOTA","UPDATING", 2%
      +QIND: "FOTA","UPDATING", 100%
      +QIND: "FOTA","RESTORE", 1%
      +QIND: "FOTA","RESTORE", 2%

    PS: attached file is below:

    1. my example init code (connect to net)
      0_1538208624689_example init.txt
    2. update firmware from 05 to 06 version and 06 to 05 version
    3. detailed process of DFOTA by Quectel


与 RAK支持中心 的连接断开,我们正在尝试重连,请耐心等待