45#ifndef COAP_CALLBACK_API_H_
46#define COAP_CALLBACK_API_H_
56typedef struct coap_callback_request_state coap_callback_request_state_t;
58struct coap_callback_request_state {
59 coap_request_state_t state;
60 void (*callback)(coap_callback_request_state_t *state);
71int coap_send_request(coap_callback_request_state_t *callback_state, coap_endpoint_t *endpoint,
72 coap_message_t *request,
73 void (*callback)(coap_callback_request_state_t *callback_state));
Default definitions of C compiler quirk work-arounds.
CoAP engine implementation.
Common request state for all the APIs.
CoAP module for reliable transport.
int coap_send_request(coap_callback_request_state_t *callback_state, coap_endpoint_t *endpoint, coap_message_t *request, void(*callback)(coap_callback_request_state_t *callback_state))
Send a CoAP request to a remote endpoint.