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 338 of file nanocoap.h.

#include <nanocoap.h>

Data Fields

const coap_resource_tresource
 resource of the request
 
sock_udp_ep_tremote
 remote endpoint of the request
 
uint32_t tl_type
 transport the packet was received over
 

Field Documentation

◆ remote

sock_udp_ep_t* _coap_request_ctx::remote

remote endpoint of the request

Definition at line 340 of file nanocoap.h.

◆ resource

const coap_resource_t* _coap_request_ctx::resource

resource of the request

Definition at line 339 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 348 of file nanocoap.h.


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