nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_802154_energy_level_from_dbm_calculate()

uint8_t nrf_802154_energy_level_from_dbm_calculate ( int8_t  ed_dbm)

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

Converts energy level received during the energy detection procedure to IEEE Std. 802.15.4-2015 compliant value.

Parameters
ed_dbmEnergy level in dBm
Returns
uint8_t Energy level in units compliant to IEEE Std. 802.15.4-2015 chapter 10.2.5.