This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Preparing light-switch for DFU

Hi,

We are trying to have control on firmware update of our BLE mesh network. As a starting point  I have ran the light-switch examples and DFU over mesh example. In light-switch examples we can create groups and control them.  In the DFU mesh examples we can update the firmware of whole mesh network. That is lacking control to update a specific node or a group of nodes.  So I want to investigate the possibility to combine both features( Grouping and DFU)  simultaneously.

Actually my plan is to create a BLE mesh using NRF52832 devices like light-switch examples and then create different groups( like light-switch subscription groups) and finally update their firmware based on group.

I wish to know if this a feasible solution to achieve or not?

If feasible, would please point out the steps ? I would implements the coding later based on your suggestions.

Thanks.

  • Hi Shohidur, 

    Currently we use application_id to do selective DFU update, you can read here.

    Mesh DFU is independent from the normal Mesh operation so the grouping/subnet in the normal Mesh operation wouldn't apply when doing Mesh DFU. Mesh DFU is proprietary protocol from Nordic. 

    To be able to do grouping dynamically (compare to the hardcoded application id) is to add a feature to change the application_id dynamically. You can implement it by adding a custom model to do the task. 

Related