NanoCoAP socket struct. More...
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 | |
sock_dtls_t nanocoap_sock_t::dtls |
DTLS socket
Definition at line 207 of file nanocoap_sock.h.
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.
uint16_t nanocoap_sock_t::msg_id |
next CoAP message ID
Definition at line 213 of file nanocoap_sock.h.
nanocoap_socket_type_t nanocoap_sock_t::type |
Socket type (UDP, DTLS)
Definition at line 211 of file nanocoap_sock.h.
sock_udp_t nanocoap_sock_t::udp |
UDP socket
Definition at line 205 of file nanocoap_sock.h.