44 #ifndef COAP_SEPARATE_H_ 45 #define COAP_SEPARATE_H_ 50 typedef struct coap_separate {
52 coap_endpoint_t endpoint;
54 coap_message_type_t type;
58 uint8_t token[COAP_TOKEN_LEN];
67 int coap_separate_handler(coap_resource_t *resource, coap_message_t *request,
68 coap_message_t *response);
71 coap_separate_t *separate_store);
72 void coap_separate_resume(coap_message_t *response,
73 coap_separate_t *separate_store,
CoAP engine implementation.
void coap_separate_accept(coap_message_t *coap_req, coap_separate_t *separate_store)
Initiate a separate response with an empty ACK.
An implementation of the Constrained Application Protocol (RFC 7252).
void coap_separate_reject()
Reject a request that would require a separate response with an error message.