Switching between two mesh applications!!

Hi,,

I am using nrf52832 SoC and built my application using nrf5 sdk for mesh v5.0.0. We want to switch between two applications to match our needs in runtime using a slide switch. Is it possible to do this? Can I tell my bootloader to switch between two firmware based on the status of the slide switch read?

Parents
  • Hi,

    Can I tell my bootloader to switch between two firmware based on the status of the slide switch read?

    Telling the bootloader to switch between two different firmwares based on reading an initial condition or to change the firmware during runtime is not supported. 

    Instead I would recommend you to write both of your applications in the same firmware and separate the code out such that either of the applications are run based on the switches setting, which you may read and use to initialize your application at launch. This will require a restart of the device when you want to swap between the firmwares, and might not be sufficiently close to runtime if you this is a requirement.

    Kind regards,
    Andreas

  • Hi,

    The thing is one firmware should act as LPN which will be battery operated and LPN node does not support relaying feature in BLE MESH as per specification. The other firmware should support relay feature and for that the node shouldn't act as LPN. 

    I have built my application on top of LPN example provided in nrf SDK for mesh v5.0.0


    So, how can I make one firmware to support relaying and the other the opposite?

Reply
  • Hi,

    The thing is one firmware should act as LPN which will be battery operated and LPN node does not support relaying feature in BLE MESH as per specification. The other firmware should support relay feature and for that the node shouldn't act as LPN. 

    I have built my application on top of LPN example provided in nrf SDK for mesh v5.0.0


    So, how can I make one firmware to support relaying and the other the opposite?

Children
No Data
Related