Loading...
Searching...
No Matches
_coap_request_ctx Struct Reference

CoAP resource request handler context. More...

Detailed Description

CoAP resource request handler context.

Definition at line 354 of file nanocoap.h.

#include <nanocoap.h>

Data Fields

const coap_resource_tresource
 resource of the request
 
union { 
 
   sock_udp_ep_t *   remote_udp 
 remote UDP endpoint of the request More...
 
   sock_udp_ep_t *   remote 
 deprecated alias for request_udp More...
 
};  
 
union { 
 
   sock_udp_ep_t *   local_udp 
 local UDP endpoint of the request More...
 
   sock_udp_ep_t *   local 
 deprecated alias for local_udp More...
 
};  
 
uint32_t tl_type
 transport the packet was received over
 

Field Documentation

◆ local

sock_udp_ep_t* _coap_request_ctx::local

deprecated alias for local_udp

Definition at line 363 of file nanocoap.h.

◆ local_udp

sock_udp_ep_t* _coap_request_ctx::local_udp

local UDP endpoint of the request

Definition at line 362 of file nanocoap.h.

◆ remote

sock_udp_ep_t* _coap_request_ctx::remote

deprecated alias for request_udp

Definition at line 358 of file nanocoap.h.

◆ remote_udp

sock_udp_ep_t* _coap_request_ctx::remote_udp

remote UDP endpoint of the request

Definition at line 357 of file nanocoap.h.

◆ resource

const coap_resource_t* _coap_request_ctx::resource

resource of the request

Definition at line 355 of file nanocoap.h.

◆ tl_type

uint32_t _coap_request_ctx::tl_type

transport the packet was received over

See also
gcoap_socket_type_t for values.
Note
gcoap_socket_type_t can not be used, as this would cyclically include the GCoAP header.

Definition at line 373 of file nanocoap.h.


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