gcoap_request_memo Struct Reference

Memo to handle a response for a request. More...

Detailed Description

Memo to handle a response for a request.

Definition at line 695 of file gcoap.h.

#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.
 
   gcoap_resend_t   data
 Endpoint and PDU buffer, for resend.
 
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.
 

The documentation for this struct was generated from the following file: