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

Multiple peripheral device DFU OTA

Hi,

I've 10 nRF52832 running as peripheral and connects to a single central node (like star topology) and I need to perform the DFU by OTA for all the peripheral devices using the central device which is connected to the mobile application.

Kindly let me know the way to do it.

  • Hi Sunil, 

    Currently we don't have an example on how to perform what you are asking for. 
    You would need to base on the DFU protocol here to develop your own DFU master to update the DFU target. 
    We have some resources that could be useful for your development: 

    - DFU app on Phone or on PC (nRF Connect app or NRF Util app, source code available on Github)

    - DFU master code for UART here.

  • Hi ,

     I have checked your link and also that I have created my own Bootloader and I have tried OTA DFU Buttonless on phone to custom device.

    But I want to do rest of the devices DFU with same master device.

    Is it possible in MESH PROTOCOL to do multiple DFU.

  • Hi Sunil, 
    You may not want to implement a full mesh protocol in your application just for DFU. Unless you are planning to update dozens of device. 

    Mesh protocol requires high power consumption and require a large amount of flash for mesh's stack. 

    In my opinion it's better that you implement DFU master code on your central device. 

    If that's not possible, the easiest solution is to create an app on the phone to automatically do DFU update for all of the client. They would need to be disconnected from the central device (you can send them a command to switch to DFU mode and wait for the update from the phone). This way you don't need to implement DFU master code on your central device and only need to make an app on the phone so that the process is transparent. 

Related