45 #ifndef COAP_CALLBACK_API_H_ 46 #define COAP_CALLBACK_API_H_ 56 typedef struct coap_callback_request_state coap_callback_request_state_t;
58 struct coap_callback_request_state {
59 coap_request_state_t state;
60 void (*callback)(coap_callback_request_state_t *state);
71 int 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));
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.
CoAP engine implementation.
Common request state for all the APIs
CoAP module for reliable transport
Default definitions of C compiler quirk work-arounds.