coap_client_misc.h
error_t coapClientProcessResponse(CoapClientRequest *request, const CoapMessage *response)
Process CoAP response.
Definition: coap_client_misc.c:570
error_t coapClientRejectResponse(CoapClientContext *context, const CoapMessage *response)
Reject a CoAP response.
Definition: coap_client_misc.c:658
CoAP client.
error_t coapClientMatchResponse(const CoapClientRequest *request, const CoapMessage *response)
Check whether a response matches the specified request.
Definition: coap_client_misc.c:432
void coapClientGenerateMessageId(CoapClientContext *context, CoapMessageHeader *header)
Generate a new message identifier.
Definition: coap_client_misc.c:768
error_t coapClientSendReset(CoapClientContext *context, uint16_t mid)
Send Reset message.
Definition: coap_client_misc.c:736
error_t coapClientProcessEvents(CoapClientContext *context, systime_t timeout)
Process CoAP client events.
Definition: coap_client_misc.c:56
error_t coapClientSendAck(CoapClientContext *context, uint16_t mid)
Send Acknowledgment message.
Definition: coap_client_misc.c:703
void coapClientGenerateToken(CoapClientContext *context, CoapMessageHeader *header)
Generate a new token.
Definition: coap_client_misc.c:786
error_t coapClientChangeRequestState(CoapClientRequest *request, CoapRequestState newState)
Update CoAP request state.
Definition: coap_client_misc.c:342
error_t coapClientProcessRequestEvents(CoapClientRequest *request)
Process request-specific events.
Definition: coap_client_misc.c:198
TCP/IP stack core.