openthread_sys

Function otJamDetectionSetWindow

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

Set the Jam Detection Detection Window (in seconds).

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aWindow The Jam Detection window (valid range is 1 to 63)

@retval OT_ERROR_NONE Successfully set the window. @retval OT_ERROR_INVALID_ARGS The given input parameter not within valid range (1-63)