Loading...
Searching...
No Matches
nanocoap_sock_t Struct Reference

NanoCoAP socket struct. More...

Detailed Description

NanoCoAP socket struct.

Definition at line 204 of file nanocoap_sock.h.

#include <nanocoap_sock.h>

Data Fields

sock_udp_t udp
 UDP socket

 
sock_dtls_t dtls
 DTLS socket

 
sock_dtls_session_t dtls_session
 Session object for the stored socket.
 
nanocoap_socket_type_t type
 Socket type (UDP, DTLS)
 
uint16_t msg_id
 next CoAP message ID
 

Field Documentation

◆ dtls

sock_dtls_t nanocoap_sock_t::dtls

DTLS socket

Definition at line 207 of file nanocoap_sock.h.

◆ dtls_session

sock_dtls_session_t nanocoap_sock_t::dtls_session

Session object for the stored socket.

Used for exchanging a session between functions.

Definition at line 208 of file nanocoap_sock.h.

◆ msg_id

uint16_t nanocoap_sock_t::msg_id

next CoAP message ID

Definition at line 213 of file nanocoap_sock.h.

◆ type

nanocoap_socket_type_t nanocoap_sock_t::type

Socket type (UDP, DTLS)

Definition at line 211 of file nanocoap_sock.h.

◆ udp

sock_udp_t nanocoap_sock_t::udp

UDP socket

Definition at line 205 of file nanocoap_sock.h.


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