Type Alias openthread_sys::otJoinerCallback
source · pub type otJoinerCallback = Option<unsafe extern "C" fn(aError: otError, aContext: *mut c_void)>;
Expand description
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.
Aliased Type§
enum otJoinerCallback {
None,
Some(unsafe extern "C" fn(_: u32, _: *mut c_void)),
}