Adjust BLE Transmit Power in Code

Hi everyone,

I'm working on a project using the nRF54L05 (v2.9.0) and I'm currently facing an issue with BLE.
I want to change the BLE transmit power, and so far I’ve only been able to set it via the prj.conf file using:

CONFIG_BT_CTLR_TX_PWR_ANTENNA=8

However, I would like to set the BLE transmit power dynamically in code (via function call) instead.

How can I achieve this?

Many thanks in advance!

Related