dtls: create DTLS session for outgoing NON messages

This commit is contained in:
Olaf Bergmann committed 2016-03-08 13:24:32 +01:00
1 parent 1c99d22d89
commit 4eef59702b
6 files changed
+149 -33

No files matched your search

+2 -1
View File
@@ -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
+2
View File
@@ -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;
/**