Memo to handle a response for a request. More...
#include <gcoap.h>
Data Fields | ||
| unsigned | state | |
| State of this memo, a GCOAP_MEMO... | ||
| int | send_limit | |
| Remaining resends, 0 if none; GCOAP_SEND_LIMIT_NON if non-confirmable. | ||
| union { | ||
| uint8_t hdr_buf [GCOAP_HEADER_MAXLEN] | ||
| Copy of PDU header, if no resends. More... | ||
| gcoap_resend_t data | ||
| Endpoint and PDU buffer, for resend. More... | ||
| } | msg | |
| Request message data; if confirmable, supports resending message. | ||
| sock_udp_ep_t | remote_ep | |
| Remote endpoint. | ||
| gcoap_resp_handler_t | resp_handler | |
| Callback for the response. | ||
| void * | context | |
| ptr to user defined context data | ||
| event_timeout_t | resp_evt_tmout | |
| Limits wait for response. | ||
| event_callback_t | resp_tmout_cb | |
| Callback for response timeout. | ||
| gcoap_socket_t | socket | |
| Transport type to remote endpoint. | ||
| uint8_t | cache_key [CONFIG_NANOCOAP_CACHE_KEY_LENGTH] | |
| Cache key for the request. | ||
| uint8_t gcoap_request_memo::cache_key[CONFIG_NANOCOAP_CACHE_KEY_LENGTH] |
Cache key for the request.
| void* gcoap_request_memo::context |
| gcoap_resend_t gcoap_request_memo::data |
| uint8_t gcoap_request_memo::hdr_buf[GCOAP_HEADER_MAXLEN] |
| sock_udp_ep_t gcoap_request_memo::remote_ep |
| event_timeout_t gcoap_request_memo::resp_evt_tmout |
| gcoap_resp_handler_t gcoap_request_memo::resp_handler |
| event_callback_t gcoap_request_memo::resp_tmout_cb |
| int gcoap_request_memo::send_limit |
| gcoap_socket_t gcoap_request_memo::socket |
| unsigned gcoap_request_memo::state |