[−][src]Function openthread_sys::otLinkGetCcaFailureRate
pub unsafe extern "C" fn otLinkGetCcaFailureRate(
aInstance: *mut otInstance
) -> u16
This function returns the current CCA (Clear Channel Assessment) failure rate.
The rate is maintained over a window of (roughly) last OPENTHREAD_CONFIG_CCA_FAILURE_RATE_AVERAGING_WINDOW
frame transmissions.
@returns The CCA failure rate with maximum value 0xffff
corresponding to 100% failure rate.