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

◆ mpsl_tx_power_channel_map_set()

int32_t mpsl_tx_power_channel_map_set ( const mpsl_tx_power_envelope_t *const  p_envelope)

#include <mpsl/include/mpsl_tx_power.h>

Sets maximum TX power envelope. If the PHY already has an envelope configured, it will be over-written.

Note
Calling this function while an envelope is being used to limit current TX Power may lead to undefined behavior.
The memory for the provided envelope is not copied and must be valid until it is replaced with another envelope for the same PHY.
Parameters
[in]p_envelopeThe pointer to an envelope, if NULL the envelopes for all PHYs are reset to maximum power possible.
Return values
0TX power channel successfully set.
-NRF_EINVALInvalid parameter provided.