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

Constant Tx radio power mode

As I understand it, like most modern PHYs the central and the peripheral are exchanging symbols to maintain link integrity and adjust Tx power to maximize battery life.

But is there a way to command the nRF51822 SoftDevice to lock its Tx power to a fixed value? I saw some #defines in the .h file that addresses the memory mapped peripheral that is the radio hardware but I'm sure routines in the SD adjust this often enough that my writes would be overridden.

I need to turn off the usual AGC-based varying Tx power behavior to perform some attenuation tests with my peripheral.

Thank you, Dan

Parents
  • Oh wow. That's not what I expected at all. OK, when exactly should I call this set Tx power function? Prior to sd_ble_gap_adv_start() or when I receive a BLE_GAP_EVT_CONNECTED stack event?

    Thanks for the fast reply, Ole. Dan

  • These functions can be called at any time, either before you've started advertising, while advertising or while in a connection.

    May I ask why you expected differently, and what exactly you did expect?

Reply
  • These functions can be called at any time, either before you've started advertising, while advertising or while in a connection.

    May I ask why you expected differently, and what exactly you did expect?

Children
No Data