nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ sdc_default_tx_power_set()

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.

Parameters
[in]requested_power_levelThe power level in dBm to use.
Return values
0Success
-NRF_EPERMThis API must be called before sdc_enable().