This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Setting ANT Power Level

I'm wondering which is the proper way to adjust the ANT power level?

I've seen some posts that seem to suggest that the proper way is by the use of the the BLE Gap call:

err_code = sd_ble_gap_tx_power_set(TX_POWER_LEVEL);
APP_ERROR_CHECK(err_code);

But also some references to using the ANT call:

   // Configure Tx power for master chanel
   err_code = sd_ant_channel_radio_tx_power_set(RS_CHANNEL_NUMBER, RADIO_TX_POWER_LVL_4, 0);
  APP_ERROR_CHECK(err_code);

Appreciate any clarification on this.

Note: I'm using an nRF52832, S332 [4.0.2] SoftDevice, and 13.1 SDK.

Thanks! -Tim

Related