ot::Coap::Message::SetPayloadMarker() method
Adds Payload Marker indicating beginning of the payload to the CoAP header. It also set offset to the start of payload.
Syntax
Error SetPayloadMarker(void); Return value
kErrorNone Payload Marker successfully added. kErrorNoBufs Message Payload Marker exceeds the buffer size.
![]()
Error SetPayloadMarker(void);
ot::Coap::Message::SetPayloadMarker() is called by 6 functions and calls 1 function:
![]()
ot::Coap::Message::SetPayloadMarker()
ot::Coap::Message::SetPayloadMarker() reads 7 variables and writes 2 variables:
![]()
ot::Coap::Message::SetPayloadMarker()