mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-05 20:02:19 +03:00
dtls: create DTLS session for outgoing NON messages
This commit is contained in:
1 parent
1c99d22d89
commit
4eef59702b
6 files changed
+149
-33
No files matched your search
+2
-1
@@ -37,7 +37,8 @@ typedef enum {
|
||||
COAP_PDU,
|
||||
COAP_PDU_BUF,
|
||||
COAP_RESOURCE,
|
||||
COAP_RESOURCEATTR
|
||||
COAP_RESOURCEATTR,
|
||||
COAP_DTLS_SESSION
|
||||
} coap_memory_tag_t;
|
||||
|
||||
#ifndef WITH_LWIP
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#endif
|
||||
|
||||
#include "coap_io.h"
|
||||
#include "coap_dtls.h"
|
||||
#include "coap_time.h"
|
||||
#include "option.h"
|
||||
#include "pdu.h"
|
||||
@@ -124,6 +125,7 @@ typedef struct coap_context_t {
|
||||
|
||||
ssize_t (*network_read)(coap_endpoint_t *ep, coap_packet_t **packet);
|
||||
|
||||
struct coap_dtls_context_t *dtls_context;
|
||||
} coap_context_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user