ot::Coap::CoapBase::SendHeaderResponse() method
Sends header-only CoAP response message.
Arguments
aCode
The CoAP code of this response.
aRequest
A reference to the CoAP Message that was used in CoAP request.
aMessageInfo
The message info corresponding to the CoAP request.
Return value
kErrorNone Successfully enqueued the CoAP response message. kErrorNoBufs Insufficient buffers available to send the CoAP response. kErrorInvalidArgs The @p aRequest header is not of confirmable type.
ot::Coap::CoapBase::SendHeaderResponse() is called by 2 functions and calls 8 functions:
![]()
ot::Coap::CoapBase::SendHeaderResponse()
ot::Coap::CoapBase::SendHeaderResponse() reads 7 variables:
![]()
ot::Coap::CoapBase::SendHeaderResponse()