pub type otReceiveDiagnosticGetCallback = Option<unsafe extern "C" fn(aError: otError, aMessage: *mut otMessage, aMessageInfo: *const otMessageInfo, aContext: *mut c_void)>;
Expand description
Pointer is called when Network Diagnostic Get response is received.
@param[in] aError The error when failed to get the response.
@param[in] aMessage A pointer to the message buffer containing the received Network Diagnostic
Get response payload. Available only when @p aError is OT_ERROR_NONE
.
@param[in] aMessageInfo A pointer to the message info for @p aMessage. Available only when
@p aError is OT_ERROR_NONE
.
@param[in] aContext A pointer to application-specific context.
Aliased Type§
enum otReceiveDiagnosticGetCallback {
None,
Some(unsafe extern "C" fn(_: u32, _: *mut otMessage, _: *const otMessageInfo, _: *mut c_void)),
}