Loading...
Searching...
No Matches

A CoAP endpoint. More...

Detailed Description

A CoAP endpoint.

Definition at line 182 of file transport.h.

#include <transport.h>

Data Fields

unicoap_proto_t proto
 Protocol number.
 
union { 
 
   struct _sock_tl_ep   _tl_ep 
 Transport layer endpoint. More...
 
   sock_udp_ep_t   udp_ep 
 RIOT sock UDP endpoint. More...
 
   sock_udp_ep_t   dtls_ep 
 RIOT sock DTLS endpoint. More...
 
};  
 

Endpoints

static sock_udp_ep_tunicoap_endpoint_get_udp (unicoap_endpoint_t *endpoint)
 Retrieves UDP endpoint from CoAP endpoint.
 
static sock_udp_ep_tunicoap_endpoint_get_dtls (unicoap_endpoint_t *endpoint)
 Retrieves DTLS endpoint from CoAP endpoint.
 

Field Documentation

◆ _tl_ep

struct _sock_tl_ep unicoap_endpoint_t::_tl_ep

Transport layer endpoint.

Definition at line 191 of file transport.h.

◆ dtls_ep

sock_udp_ep_t unicoap_endpoint_t::dtls_ep

RIOT sock DTLS endpoint.

Definition at line 199 of file transport.h.

◆ proto

unicoap_proto_t unicoap_endpoint_t::proto

Protocol number.

Definition at line 184 of file transport.h.

◆ udp_ep

sock_udp_ep_t unicoap_endpoint_t::udp_ep

RIOT sock UDP endpoint.

Definition at line 196 of file transport.h.


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