How to specify default TX power at runtime for the nrf5340?

I know how to set the TX power on an individual bluetooth handle basis per connection/advertisement. This is fine for advertising because I can create the advertising set, set the power level, then start advertising. But for connections I don't see a way to specify the desired connection power level prior to creating the connection. It seems like I need to create the connection first, and then I can set the advertising power.

Alternatively, is there a way to tell the network core that all output power should be lowered by a specific amount as a default for all outgoing signals so that I don't have to specify the power level for each connection? I need this to be a run time change instead of a build time configuration.

Edit: Specifically I am hoping for an app-core side solution.

Parents Reply Children
Related