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

Martine Lenders notifications at github.com
Wed Jul 24 17:37:46 CEST 2019


`DTLS_PSK` and `DTLS_ECC` should be exposed to the doc somewhere. And maybe renamed `SOCK_DTLS_PSK`/`SOCK_DTLS_ECC`. How about adding

```C
#ifdef DOXYGEN
#define SOCK_DTLS_PSK (0) /**< PSK mode */
#define SOCK_DTLS_ECC (0) /**< ECC mode */
#endif
```

or something similar to `net/sock/dtls.h`? Also, it's not clear to me, if the two are mutually exclusive, if yes it might be better if having a `SOCK_DTLS_MODE` instead that is set to an enumerated list of possible values wouldn't be better.

-- 
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#issuecomment-514684865
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190724/a7ce119e/attachment-0001.htm>


More information about the notifications mailing list