nrfxlib API 2.8.99
|
int32_t sdc_default_tx_power_set | ( | int8_t | requested_power_level | ) |
#include <softdevice_controller/include/sdc.h>
Support for setting the default radio TX power level.
This API sets the default power level for radio TX activity in the controller.
The power level set will be equal to or less than the one requested, based on the values supported by the hardware used. Values outside the suported range will be set to the nearest supported value.
requested_power_level
represents the actual power level fed to the antenna. When a Front-End Module is used, gain values for the SoC and FEM are calculated automatically to guarantee the closest possible match to the value requested by the user at the RF output.
[in] | requested_power_level | The power level in dBm to use. |
0 | Success |
-NRF_EPERM | This API must be called before sdc_enable(). |