Re: DTLS over CoAP for the Zephyr project
Yes, applying `overlay-802154.conf` will make the sample use Zephyr’s native 6lowpan stack. Applying ` overlay-ot.conf` will make the sample use OpenThread, which implements it’s own 6lowpan layer. You can also combine two overlays – `-DOVERLAY_CONFIG=”overlay-802154.conf overlay-tls.conf”` to run DTLS over 802.15.4 6lowpan. Combining DTLS with OpenThread is not supported at this moment.
Certificates are also supported with DTLS sockets – echo_client/echo_server use them to secure DTLS connection. The lwm2m_client though indeed uses PSK.
nrf52840_pca10056 has a hardware crypto acceleration module – CryptoCell 310, which is capable of accelerating ECC operations (we use it for example in “vanilla” OpenThread repository). We have some support for it in our Zephyr based SDK (https://github.com/NordicPlayground/fw-nrfconnect-nrf/), sadly we haven’t integrated and tested it with networking samples yet.
From: users@... [mailto:users@...] On Behalf Of Nikos Karamolegkos via Lists.Zephyrproject.Org
Sent: Thursday, July 25, 2019 12:12
Subject: Re: [Zephyr-users] DTLS over CoAP for the Zephyr project
Once again thank you for your detailed answer. Therefore, If I apply the "overlay-802154.conf" overlay config then I will have the 6lowpan stack?