Function openthread_sys::otUdpSendDatagram
source ยท pub unsafe extern "C" fn otUdpSendDatagram(
aInstance: *mut otInstance,
aMessage: *mut otMessage,
aMessageInfo: *mut otMessageInfo,
) -> otError
Expand description
Sends a UDP message without socket.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aMessage A pointer to a message without UDP header. @param[in] aMessageInfo A pointer to a message info associated with @p aMessage.
@retval OT_ERROR_NONE Successfully enqueued the message into an output interface. @retval OT_ERROR_NO_BUFS Insufficient available buffer to add the IPv6 headers. @retval OT_ERROR_INVALID_ARGS Invalid arguments are given.