NanoCoAP socket struct. More...
NanoCoAP socket struct.
Definition at line 211 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. More... | |
nanocoap_socket_type_t | type |
Socket type (UDP, DTLS) | |
uint16_t | msg_id |
next CoAP message ID | |
uint8_t | hdr_buf [CONFIG_NANOCOAP_BLOCK_HEADER_MAX] |
buffer for CoAP header with options, token and payload marker | |
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 215 of file nanocoap_sock.h.