I want to use +8dBm TX power so I added CONFIG_BT_CTLR_TX_PWR_PLUS_8 to my prj.conf, and then realised it doesn't do anything.
I then found set_tx_power() on these pages
devzone.nordicsemi.com/.../how-to-set-tx-power-to-maximum-8dbm-for-advertising-as-well-as-when-connected
devzone.nordicsemi.com/.../321566
devzone.nordicsemi.com/.../config_bt_ctlr_tx_pwr_plus_8-has-no-effect-while-advertising
when I add CONFIG_BT_LL_SW_SPLIT to my prj.conf I get scarey compile warnings about experimental features
warning: Experimental symbol BT_LL_SW_SPLIT is enabled. warning: Experimental symbol BT_CTLR_ADV_EXT is enabled. warning: Experimental symbol BT_CTLR_ADV_PERIODIC is enabled. warning: Experimental symbol BT_CTLR_SYNC_PERIODIC is enabled. CONFIG_BT_CTLR_ADVANCED_FEATURES=y, Advanced Features' default value change could change Zephyr Bluetooth Controller's functional behavior. CONFIG_BT_CTLR_ADV_EXT=y, Advertising Extensions Feature in Zephyr Bluetooth Controller is EXPERIMENTAL.
I'm unsure if these warnings are worth worrying about, my code still works, but it seems strange to need to do this just to set the TX power.
Is there another way to do this?
I can live with just having +8dBm TX power for everything, (advertisements, periodic adverts, connections)
(It would be great if I could adjust it at runtime to do -40dBm sometimes and +8dBm otherwise, during pairing for example, but it's not crucial to my application)
(also, perhaps there should be a warning emitted that CONFIG_BT_CTLR_TX_PWR_PLUS_8 doesn't do anything)