I have implementation of CoAP (libcoap), and implementation of DTLS (tinyDTLS). How can I make integration CoAP (libcoap) with DTLS (tinyDTLS)?
I will be grateful for the any advice.
I have implementation of CoAP (libcoap), and implementation of DTLS (tinyDTLS). How can I make integration CoAP (libcoap) with DTLS (tinyDTLS)?
I will be grateful for the any advice.
Unfortunately, I don't have enough reputation to place a comment, even though this is not an answer. Here is my attempt to do the exact same thing, using the client-server examples from both libcoap and tinydtls. Feel free to fork the code, and please sumbit a pull request if you figure out why my client and server don't finish their handshake.
This is now supported fully in libcoap; when you build it with its submodules:
(Tested with development
version 9184a75a21
; I added the--disable-doxygen
line at configuration as well because those tools aren't installed here.)