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

János Brodbeck notifications at github.com
Wed May 26 18:19:04 CEST 2021


@janosbrodbeck commented on this pull request.



>  
+    if (IS_ACTIVE(CONFIG_GCOAP_ENABLE_DTLS)) {
+#if IS_ACTIVE(CONFIG_GCOAP_ENABLE_DTLS)
+        sock_dtls_init();
+        if (sock_dtls_create(&_sock_dtls, &_sock_udp,
+                            CREDMAN_TAG_EMPTY,
+                            SOCK_DTLS_1_2, SOCK_DTLS_SERVER) < 0) {
+            puts("gcoap: error creating DTLS sock");

Done.

-- 
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/15549#discussion_r639887988
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210526/6d607d41/attachment.htm>


More information about the notifications mailing list