Type Alias otWakeupCallback

Source
pub type otWakeupCallback = Option<unsafe extern "C" fn(aError: otError, aContext: *mut c_void)>;
Expand description

Informs the application about the result of waking a Wake-up End Device.

@param[in] aError OT_ERROR_NONE Indicates that the Wake-up End Device has been added as a neighbor. OT_ERROR_FAILED Indicates that the Wake-up End Device has not received a wake-up frame, or it has failed the MLE procedure. @param[in] aContext A pointer to application-specific context.

Aliased Type§

enum otWakeupCallback {
    None,
    Some(unsafe extern "C" fn(u32, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u32, *mut c_void))

Some value of type T.