openthread_sys

Function otLinkRawGetTransmitBuffer

Source
pub unsafe extern "C" fn otLinkRawGetTransmitBuffer(
    aInstance: *mut otInstance,
) -> *mut otRadioFrame
Expand description

The radio transitions from Transmit to Receive. Returns a pointer to the transmit buffer.

The caller forms the IEEE 802.15.4 frame in this buffer then calls otLinkRawTransmit() to request transmission.

@param[in] aInstance A pointer to an OpenThread instance.

@returns A pointer to the transmit buffer or NULL if the raw link-layer isn’t enabled.