[][src]Type Definition openthread_sys::otJamDetectionCallback

type otJamDetectionCallback = Option<unsafe extern "C" fn(aJamState: bool, aContext: *mut c_void)>;

This function pointer is called if signal jam detection is enabled and a jam is detected.

@param[in] aJamState Current jam state (true if jam is detected, false otherwise). @param[in] aContext A pointer to application-specific context.