Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

sd_ble_gap_tx_power_set usage

Hello Nordic Support team,

we wanted to know the right usage of sd_ble_gap_tx_power_set() function.

Right now we are setting the power using above function after the advertising init is done.

In our code there are number of places wherein we stop->init->start the advertisements.

My questions are

1 Is it necessary to call the sd_ble_gap_tx_power_set() function after every advertisement inits?

2. After connection, inside the BLE_GAP_EVT_CONNECTED do we need to set the transmit power again?

If so, should the power level be less than or more than one used for advertisement?

We are using nRF5_SDK_17.1.0 SDK and S112 softdevice.

Thanks,

Justin

Parents Reply Children
Related