31#ifndef _COAP_CLIENT_MISC_H
32#define _COAP_CLIENT_MISC_H
44error_t coapClientProcessEvents(CoapClientContext *context,
systime_t timeout);
45error_t coapClientProcessRequestEvents(CoapClientRequest *request);
47error_t coapClientChangeRequestState(CoapClientRequest *request,
50error_t coapClientMatchResponse(
const CoapClientRequest *request,
53error_t coapClientProcessResponse(CoapClientRequest *request,
56error_t coapClientRejectResponse(CoapClientContext *context,
59error_t coapClientSendAck(CoapClientContext *context, uint16_t mid);
60error_t coapClientSendReset(CoapClientContext *context, uint16_t mid);
62void coapClientGenerateMessageId(CoapClientContext *context,
63 CoapMessageHeader *header);
65void coapClientGenerateToken(CoapClientContext *context,
66 CoapMessageHeader *header);
CoapRequestState
CoAP request states.
Definition coap_client_request.h:50
error_t
Error codes.
Definition error.h:43
uint32_t systime_t
System time.
Definition os_port_none.h:90
CoAP message.
Definition coap_message.h:56