6.2.5.2 OTA Configurator

The OTA Configurator is a simple python tool which detects the RNWF11 devices in the subnet and shares the HTTP server details along with the firmware image file.

Figure 6-49. Demo Setup
Note: The text in orange represents alternative options, but not part of the current demonstration.

On boot-up, the device will connect to the configured Home-AP and receive the DHCP IP address. After the successful DHCP resolution, it opens up a TCP tunnel to receive the OTA server and image details. The user needs to run the OTA configurator from another machine (PC/mobile) connected to the same network. The OTA configurator tool prompts the user to input the server URL, port number, and Image (binary file) name. After successfully receiving these details, the DUT will initiate an HTTP request to download the image file. This image file is stored in the SST26 SPI Flash, which is embedded on the Add-On board. After successfully downloading the image, the DFU procedure is triggered by sending a command from the host MCU to the RNWF11 module. The RNWF11 module will enter bootloader mode and be ready to receive the firmware file.