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

◆ nrf_802154_antenna_diversity_last_rx_best_antenna_get()

nrf_802154_sl_ant_div_antenna_t nrf_802154_antenna_diversity_last_rx_best_antenna_get ( void  )

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

Gets which antenna was selected as best for the last reception.

Note
In three cases NRF_802154_SL_ANT_DIV_ANTENNA_NONE may be returned:
  • No frame was received yet.
  • Last frame was received with antenna diversity auto mode disabled.
  • RSSI measurements didn't have enough time to finish during last frame reception and it is unspecified which antenna was selected.
Returns
Antenna selected during last successful reception in automatic mode.