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

Building firmware with both nRF5 for Mesh and nRF5 for Thread & Zigbee stack

Hi,

I am exploring the feasibility of building a firmware for nRF52840 that supports both BLE Mesh as well as ZigBee stack (in the same firmware) but only require one of them to be activated at a time. Depending on the application's selection, either BLE Mesh or Zigbee will be used for mesh networking.

Question: Is it possible to build a firmware that integrates (1) nRF5 for Mesh stack and (2) nRF5 for Thread & Zigbee stack, on top of (3) BLE 5 stack (nRF5 SDK + S140) ?

  • Hi,

    With nRF5 SDK, Bluetooth mesh and Thread/Zigbee are supported in two different variants of the SDK: The nRF5 SDK for Mesh, and the nRF5 SDK for Thread and Zigbee. We do not have examples of combining the two, and I would not recommend to try to merge those two.

    What might work, is to build two separate applications: One with Bluetooth mesh support using the nRF5 SDK for Mesh, and one with Thread and/or Zigbee support using the nRF5 SDK for Thread and Zigbee. Then place them at different locations in flash, and use a bootloader for starting the wanted variant. With this you need enough flash on the device for storing both applications, as well as any flash storage needed by each SDK.

    If you need to switch between the two "on the fly", then I suggest having a look at nRF Connect SDK.

    Regards,
    Terje

  • Hi Terje, thanks for the advice and suggestions.

Related