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

Change Tx power of mesh in real-time

Hi,

I'm developing a BLE mesh project using Mesh SDK v4.2.0. I want to change the Tx power of the product in real-time, e.g. from 0dBm to 4dBm, 4dBm to 8dBm.

I've read some articles on devzone about changing the default setting, in scanner_init() & set_default_broadcast_configuration().

But how about changing it in real-time? Is it possible to change the default setting and call these two functions again?

Any other ways to do so?

Jonathan Lee

Parents Reply
  • Hi Joakim,

    Thanks for replying, I'm looking for a more "neat" way to change the Tx power.

    I can change the Tx power before I compile the firmware, that's changing the default value in scanner_init(), & set_default_broadcast_configuration(). Is there any other ways to change the Tx power of BLE mesh project while the firmware is running? Without re-initialize the BLE mesh stack?

    Or is it ok to call nrf_mesh_init() whenever I need to change the Tx power of the device?

    Best Regards,

    Jonathan

Children
Related