[][src]Type Definition openthread_sys::otJoinerCallback

type otJoinerCallback = Option<unsafe extern "C" fn(aError: otError, aContext: *mut c_void)>;

This function pointer is called to notify the completion of a join operation.

@param[in] aError OT_ERROR_NONE if the join process succeeded. OT_ERROR_SECURITY if the join process failed due to security credentials. OT_ERROR_NOT_FOUND if no joinable network was discovered. OT_ERROR_RESPONSE_TIMEOUT if a response timed out. @param[in] aContext A pointer to application-specific context.