openthread_sys

Function otPlatRadioGetCcaEnergyDetectThreshold

Source
pub unsafe extern "C" fn otPlatRadioGetCcaEnergyDetectThreshold(
    aInstance: *mut otInstance,
    aThreshold: *mut i8,
) -> otError
Expand description

Get the radio’s CCA ED threshold in dBm measured at antenna connector per IEEE 802.15.4 - 2015 section 10.1.4.

@param[in] aInstance The OpenThread instance structure. @param[out] aThreshold The CCA ED threshold in dBm.

@retval OT_ERROR_NONE Successfully retrieved the CCA ED threshold. @retval OT_ERROR_INVALID_ARGS @p aThreshold was NULL. @retval OT_ERROR_NOT_IMPLEMENTED CCA ED threshold configuration via dBm is not implemented.