42 #ifndef COAP_REQUEST_STATE_H_ 43 #define COAP_REQUEST_STATE_H_ 46 COAP_REQUEST_STATUS_RESPONSE,
47 COAP_REQUEST_STATUS_MORE,
48 COAP_REQUEST_STATUS_FINISHED,
49 COAP_REQUEST_STATUS_TIMEOUT,
50 COAP_REQUEST_STATUS_BLOCK_ERROR
51 } coap_request_status_t;
54 typedef struct coap_request_state {
55 coap_transaction_t *transaction;
56 coap_message_t *response;
57 coap_message_t *request;
58 coap_endpoint_t *remote_endpoint;
64 coap_request_status_t status;
65 } coap_request_state_t;