openthread_sys

Function otPlatTrelSend

Source
pub unsafe extern "C" fn otPlatTrelSend(
    aInstance: *mut otInstance,
    aUdpPayload: *const u8,
    aUdpPayloadLen: u16,
    aDestSockAddr: *const otSockAddr,
)
Expand description

Requests a TREL UDP packet to be sent to a given destination.

@param[in] aInstance The OpenThread instance structure. @param[in] aUdpPayload A pointer to UDP payload. @param[in] aUdpPayloadLen The payload length (number of bytes). @param[in] aDestSockAddr The destination socket address.