gcoap_request_memo_t Struct Reference

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

Detailed Description

Memo to handle a response for a request.

Definition at line 446 of file gcoap.h.

#include <net/gcoap.h>

Data Fields

unsigned state
 State of this memo, a GCOAP_MEMO... More...
 
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.
 
gcoap_resp_handler_t resp_handler
 Callback for the response.
 
xtimer_t response_timer
 Limits wait for response.
 
msg_t timeout_msg
 For response timer.
 

Field Documentation

◆ state

unsigned gcoap_request_memo_t::state

State of this memo, a GCOAP_MEMO...

Definition at line 447 of file gcoap.h.


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