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

◆ nrf_802154_antenna_diversity_tx_antenna_set()

bool nrf_802154_antenna_diversity_tx_antenna_set ( nrf_802154_sl_ant_div_antenna_t  antenna)

#include <nrf_802154/common/include/nrf_802154.h>

Manually selects the antenna to be used for tx.

For antenna to be switched, antenna diversity tx mode needs to be NRF_802154_SL_ANT_DIV_MODE_MANUAL. Otherwise, antenna will be only switched after NRF_802154_SL_ANT_DIV_MODE_MANUAL is set.

Parameters
[in]antennaAntenna to be used.
Return values
trueAntenna set successfully.
falseInvalid antenna passed as argument.