[−][src]Function openthread_sys::otCoapMessageSetPayloadMarker
pub unsafe extern "C" fn otCoapMessageSetPayloadMarker(
aMessage: *mut otMessage
) -> otError
This function adds Payload Marker indicating beginning of the payload to the CoAP header.
@param[inout] 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.