[][src]Type Definition openthread_sys::otReceiveDiagnosticGetCallback

type otReceiveDiagnosticGetCallback = Option<unsafe extern "C" fn(aMessage: *mut otMessage, aMessageInfo: *const otMessageInfo, aContext: *mut c_void)>;

This function pointer is called when Network Diagnostic Get response is received.

@param[in] aMessage A pointer to the message buffer containing the received Network Diagnostic Get response payload. @param[in] aMessageInfo A pointer to the message info for @p aMessage. @param[in] aContext A pointer to application-specific context.