openthread_sys

Type Alias otThreadDiscoveryRequestCallback

Source
pub type otThreadDiscoveryRequestCallback = Option<unsafe extern "C" fn(aInfo: *const otThreadDiscoveryRequestInfo, aContext: *mut c_void)>;
Expand description

Pointer is called every time an MLE Discovery Request message is received.

@param[in] aInfo A pointer to the Discovery Request info data. @param[in] aContext A pointer to callback application-specific context.

Aliased Type§

enum otThreadDiscoveryRequestCallback {
    None,
    Some(unsafe extern "C" fn(_: *const otThreadDiscoveryRequestInfo, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const otThreadDiscoveryRequestInfo, _: *mut c_void))

Some value of type T.