Use CoAP over DTLS, with optional reliability.  
Use CoAP over DTLS, with optional reliability. 
Module. Specify USEMODULE += unicoap_driver_dtls in your application's Makefile.
Include these headers required for managing DTLS credentials. 
(D)TLS credentials management module definitions
 
DTLS session management module definition.
 
 Then, in your application, call sock_dtls_add_credential to add a DTLS credential.
- See also
 - unicoap_rfc7252_message_type_t
 
This is the dependency graph of this driver:
unicoap_driver_dtls
├── unicoap_driver_rfc7252_common
│   ├── unicoap_driver_rfc7252_common_messaging
│   └── unicoap_driver_rfc7252_common_pdu
├── unicoap_sock_support
│   ├── sock_async
│   ├── sock_async_event
│   ├── sock_aux_local
│   └── sock_util
├── ... (operating system networking modules)
.