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

Parents
  • It 'seems' to be working, but it's why I was inquiring in the separate thread on RSSi, so that I could make sure :-) Could you also tell me if there are any requirements for calling the sd_ant_channel_radio_tx_power_set(...) - whether the channel should be open, or if it's ok to do so before open, and/or when it's closed? The documentation is, shall we say, a bit 'sparse' in this area. Thanks!

Reply
  • It 'seems' to be working, but it's why I was inquiring in the separate thread on RSSi, so that I could make sure :-) Could you also tell me if there are any requirements for calling the sd_ant_channel_radio_tx_power_set(...) - whether the channel should be open, or if it's ok to do so before open, and/or when it's closed? The documentation is, shall we say, a bit 'sparse' in this area. Thanks!

Children
No Data
Related