pub unsafe extern "C" fn otThreadSendDiagnosticReset(
    aInstance: *mut otInstance,
    aDestination: *const otIp6Address,
    aTlvTypes: *const u8,
    aCount: u8
) -> otError
Expand description

Send a Network Diagnostic Reset request.

Requires OPENTHREAD_CONFIG_TMF_NETDIAG_CLIENT_ENABLE.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aDestination A pointer to destination address. @param[in] aTlvTypes An array of Network Diagnostic TLV types. Currently only Type 9 is allowed. @param[in] aCount Number of types in aTlvTypes

@retval OT_ERROR_NONE Successfully queued the DIAG_RST.ntf. @retval OT_ERROR_NO_BUFS Insufficient message buffers available to send DIAG_RST.ntf.