openthread_sys

Function otJamDetectionStart

Source
pub unsafe extern "C" fn otJamDetectionStart(
    aInstance: *mut otInstance,
    aCallback: otJamDetectionCallback,
    aContext: *mut c_void,
) -> otError
Expand description

Start the jamming detection.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aCallback A pointer to a function called to notify of jamming state change. @param[in] aContext A pointer to application-specific context.

@retval OT_ERROR_NONE Successfully started the jamming detection. @retval OT_ERROR_ALREADY Jam detection has been started before.