45 #ifndef COAP_CALLBACK_API_H_ 46 #define COAP_CALLBACK_API_H_ 55 typedef struct coap_request_state coap_request_state_t;
57 struct coap_request_state {
58 coap_transaction_t *transaction;
59 coap_message_t *response;
60 coap_message_t *request;
61 coap_endpoint_t *remote_endpoint;
64 coap_timer_t coap_timer;
65 void (*callback)(coap_request_state_t *state);
77 coap_message_t *request,
78 void (*callback)(coap_request_state_t *state));
CoAP engine implementation.
int coap_send_request(coap_request_state_t *state, coap_endpoint_t *endpoint, coap_message_t *request, void(*callback)(coap_request_state_t *state))
Send a CoAP request to a remote endpoint.
CoAP module for reliable transport
Default definitions of C compiler quirk work-arounds.