#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_envelope | The pointer to an envelope, if NULL the envelopes for all PHYs are reset to maximum power possible. |
- Return values
-
0 | TX power channel successfully set. |
-NRF_EINVAL | Invalid parameter provided. |