openthread_sys

Function otJamDetectionSetBusyPeriod

Source
pub unsafe extern "C" fn otJamDetectionSetBusyPeriod(
    aInstance: *mut otInstance,
    aBusyPeriod: u8,
) -> otError
Expand description

Set the Jam Detection Busy Period (in seconds).

The number of aggregate seconds within the detection window where the RSSI must be above threshold to trigger detection.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aBusyPeriod The Jam Detection busy period (should be non-zero and less than or equal to Jam Detection Window)

@retval OT_ERROR_NONE Successfully set the window. @retval OT_ERROR_INVALID_ARGS The given input is not within the valid range.