[riot-notifications] [RIOT-OS/RIOT] sys: new sock submodule for DTLS (#11909)

Aiman Ismail notifications at github.com
Mon Jul 29 10:35:11 CEST 2019


pokgak commented on this pull request.



> + *
+ * @author      Aiman Ismail <muhammadaimanbin.ismail at haw-hamburg.de>
+ */
+
+#include <stdio.h>
+
+#include "net/sock/udp.h"
+#include "net/sock/dtls.h"
+#include "net/ipv6/addr.h"
+#include "net/credman.h"
+
+#include "client_keys.h"
+
+/* TinyDTLS WARNING check */
+#ifdef WITH_RIOT_SOCKETS
+#error TinyDTLS is set to use sockets but the app is configured for socks.

This is copied from tinydtls example. Tinydtls has flag WITH_RIOT_SOCKET to use socket instead of the sock API but I just noticed this is still a TODO. So removed it for now.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11909#discussion_r308111788
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190729/768f2fb9/attachment.htm>


More information about the notifications mailing list