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

Bluetooth mesh DFU by Nordic mobile app libraries

Hi!

I was wondering if it's possible to use your Android and iOS libraries for DFU,

github.com/.../Android-nRF-Toolbox

github.com/.../IOS-Pods-DFU-Library

to do DFU of *Bluetooth mesh* devices (equipped with NRF52832)? or does your Bluetooth mesh firmware have other DFU procedures not supported by the above?

Maybe you've answered my question here, saying it's only possible if you implement your own boot loader and run BLE in parallel to the mesh stack. Is that so? 

devzone.nordicsemi.com/.../mesh-dfu-using-nrf-connect-mobile-app-or-any-other-mobile-app

or is this only if you'd like the DFU functionality of "This device then stores these packets, and also forwards them to the other devices withing the radio range".

(from quick start guide mentioned in question above)

Br,

Daniel

  • Hi Tyri, 

     

    Both the iOS and the Android DFU library you found can't be used with the DFU bootloader for Mesh. 

    Currently we don't have something on the phone can do DFU to Mesh yet. 

    But the idea is the DFU gateway node (the node that " stores these packets, and also forwards .." ) should be able to talk to a phone as a gatt proxy. Then the phone send the image to the gateway node and the image be distributed to the mesh network. The same as we are doing with UART+PC now. 

    We will support this in the future but I don't have the road map on when it will be available. 

  • Thank you for the answer, it sounds exactly like a feature we're in need of.

    At the moment, is it possible to use the iOS/Android libraries to update the firmware of each individual Bluetooth mesh device one at a time, by connecting to each from your mobile phone?

    If so, would you need to run a "normal BLE stack" in parallel to the "BT mesh stack" on the devices? (which I think I've read you have experimental support for..?)

  • Hi, 

     

    No currently we don't have integrated option to have both Mesh DFU and BLE DFU. You would need to choose one. So in your case if you only need to update the node via BLE, you can just flash the normal BLE DFU bootloader, and find a way to send the device to switch to DFU mode (either by a physical button , or buttonless via a Mesh command ) . Then you can use the iOS/Android app to do DFU like normal BLE device.

    From my understanding, it should be possible to integrate the two type of DFU, however we haven't done that and I don't know how much work needed. 

  • Thank you! Even during development our need to do wireless DFU is crucial since our devices are completely sealed to make them waterproof etc.

  • Hello Hung

    you wrote "We will support this in the future but I don't have the road map on when it will be available. " Do you have any news regarding "DFU Gateway" for Mesh Update?

Related