Provisioning and Firmware Update Using the DFU Python Script#

NOTE: This section replaces AN1422: Provisioning and Firmware Update Using the DFU Python Script. Further updates to this application note will be provided here.

This application note walks through a device firmware update demonstration using the DFU Python script. The script is an NCP host application that requires an NCP node connected. The user can provision, configure, and manage mesh devices, as well as perform a device firmware update through the NCP node.

The Bluetooth Mesh Model specification v1.1 defines a standard way to update device firmware over a Bluetooth mesh network. This document walks through a firmware update demo using the DFU Python script and the Bluetooth mesh examples, installed as part of the Bluetooth Mesh SDK. The DFU Distributor example runs as the Distributor node. The Light, Switch, Sensor Client, or Sensor Server example runs as the node whose firmware is to be updated, called the Target node, and the DFU Python script is used to provision these nodes and runs as the Initiator node.

To understand the basics of the Bluetooth Mesh Device Firmware Update specification, see Bluetooth Mesh Device Firmware Update.