Hi,
I wish to study security protocols in IoT and how the impact the
performance of constrained devices. My goal is to compare CoAP vs CoAPs
(secured with DTLS). Recently I stumbled upon libcoap and I've tested in my
Ubuntu the unsecured version
https://github.com/obgm/libcoap/tree/master
And the secured version (though it is seems really outdated)
https://github.com/obgm/libcoap/tree/dtls

I managed to run smoothly both examples following this tutorial
http://morschi.com/2017/04/04/using-dtls-enabled-coap-clients/

Capturing the traffic using wireshark listening on the loopback interface,
in the coap example it captured 2 packets the GET and the ACK with the
resource, in the coaps example it captured a multitude of packets bounded
to the handshake protocol.
Now I need to test in a constrained environment, I have some cc2538 motes,
and the goal is to test using RIOT pushing the code in the motes (1
client-mote and 1 server-mote) studying the performance.

So basically I'm asking how can I integrate libcoap in RIOT OS and
replicate the the above coap/coaps client-server example using RIOT (can't
find any libcoap examples inside RIOT/examples folder, though in RIOT/pkg
there is the libcoap app).

If libcoap is not fit for the task can you suggest other implementations of
CoAP client-server and CoAPs client-server? I'm really struggling to find
DTLS implementation of CoAP.

Thanks
_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to