nrfxlib API 2.8.99
|
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.
[in] | antenna | Antenna to be used. |
true | Antenna set successfully. |
false | Invalid antenna passed as argument. |