pub type otThreadDiscoveryRequestCallback = Option<unsafe extern "C" fn(_: *const otThreadDiscoveryRequestInfo, _: *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§
None
No value.
Some(unsafe extern "C" fn(_: *const otThreadDiscoveryRequestInfo, _: *mut c_void))
Some value of type T
.