[riot-notifications] [RIOT-OS/RIOT] net/gcoap: support DTLS (#15549)

benpicco notifications at github.com
Wed May 26 13:40:50 CEST 2021

@benpicco commented on this pull request.

> + * @}
+ */
+#include "net/dsm.h"
+#include "mutex.h"
+#include "net/sock/util.h"
+#include "xtimer.h"
+#define ENABLE_DEBUG 0
+#include "debug.h"
+typedef struct {
+    sock_dtls_t *sock;
+    sock_dtls_session_t session;
+    dsm_state_t state;
+    uint64_t last_used;

Wouldn't it be enough if `last_used_ms` was > 24h for a timeout?
On those scales even second accuracy would probably be enough, 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210526/3e9fa040/attachment.htm>

More information about the notifications mailing list