nRF5 SDK for Thread and Zigbee v4.2.0
RSSI measurement function


bool nrf_802154_rssi_measure_begin (void)
 Begins the RSSI measurement. More...
int8_t nrf_802154_rssi_last_get (void)
 Gets the result of the last RSSI measurement. More...

Detailed Description

Function Documentation

int8_t nrf_802154_rssi_last_get ( void  )

Gets the result of the last RSSI measurement.

RSSI measurement result, in dBm.
bool nrf_802154_rssi_measure_begin ( void  )

Begins the RSSI measurement.

This function is to be called in the RADIO_STATE_RX state.

The result will be available after the measurement process is finished. The result can be read by nrf_802154_rssi_last_get. Check the documentation of the RADIO peripheral to check the duration of the RSSI measurement procedure.

Return values
trueRSSI measurement successfully requested.
falseRSSI measurement cannot be scheduled at the moment.

Documentation feedback | Developer Zone | Subscribe | Updated