openthread_sys

Function otCoapMessageSetPayloadMarker

Source
pub unsafe extern "C" fn otCoapMessageSetPayloadMarker(
    aMessage: *mut otMessage,
) -> otError
Expand description

Adds Payload Marker indicating beginning of the payload to the CoAP header.

@param[in,out] aMessage A pointer to the CoAP message.

@retval OT_ERROR_NONE Payload Marker successfully added. @retval OT_ERROR_NO_BUFS Header Payload Marker exceeds the buffer size.