I am developing a device that needs to change the outpower to increase battery life, how can I do that?
I am developing a device that needs to change the outpower to increase battery life, how can I do that?
the specific point is, do i need to change the TXPOWER directly using the api or the softdevice? Do I need to restart the device every time?
Hi Rafael,
When the softdevice is running, you need to use the softdevice's APIs to control TXPower.
You need to call sd_ble_gap_tx_power_set() to control the TXPower. You need to specify the exact handle and the role you want to control. You don't need to restart the device, or the advertiser or the connection etc.