integrating CoAP and DTLS

0 votes

Hi,

I am implementing CoAP (libcoap), and  DTLS (tinyDTLS). How can I make integration of CoAP (libcoap) with DTLS (tinyDTLS)?

Thanks!

Sep 5, 2018 in IoT (Internet of Things) by Annie97
• 2,190 points
188 views

1 answer to this question.

0 votes

Tested with development version 9184a75a21;

$ git clone https://github.com/obgm/libcoap --recursive
$ cd libcoap
$ ./autogen.sh
$ ./configure --enable-dtls --with-tinydtls --disable-shared
$ cd examples
$ ./coap-server -A ::1 -k 1234 &
$ ./coap-client 'coaps://[::1]/' -k 1234 -u CoAP

This is a test server made with libcoap (see https://libcoap.net)
Copyright (C) 2010--2016 Olaf Bergmann <bergmann@tzi.org>

PS. I added the --disable-doxygen line at configuration as well because those tools aren't installed here.

answered Sep 5, 2018 by lady technopath

edited Sep 5, 2018 by Vardhan

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Why are oBIX and CoAP required together?

In IOT, CoAP is used as a ...READ MORE

answered Oct 9, 2018 in IoT (Internet of Things) by Annie97
• 2,190 points
65 views
0 votes
1 answer

Integrating IoT and Sensor Tags

If you are using raspberry pi, take ...READ MORE

answered Oct 15, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
30 views
0 votes
1 answer

Contiki-OS : CoAP protocol and CoRE link implementation

I don't think there's a standard way to ...READ MORE

answered Jan 21 in IoT (Internet of Things) by Upasana
• 8,530 points
107 views
0 votes
1 answer
0 votes
0 answers

Eclipse Californium CoAP wildcard as url path

I'm working on a CoAP app using ...READ MORE

Jul 19, 2018 in IoT (Internet of Things) by Matt
• 2,260 points
54 views
0 votes
1 answer

Sending CoAP requests using Python

It can be done using a library ...READ MORE

answered Aug 24, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
355 views
0 votes
1 answer

Differenciation between HTTP and COAP?

The industry plan is to improve HTTP ...READ MORE

answered Sep 5, 2018 in IoT (Internet of Things) by Annie97
• 2,190 points
77 views
0 votes
1 answer

MQTT and CoAP Sensors and Actuators

For CoAP: Every 6LowPAN sensor mote has ...READ MORE

answered Oct 1, 2018 in IoT (Internet of Things) by Annie97
• 2,190 points
91 views
0 votes
1 answer

Difference between IoTivity and AllJoyn?

Architecturally, IoTivity had four fundametal units: Discovery, ...READ MORE

answered Sep 5, 2018 in IoT (Internet of Things) by DataKing99
• 8,130 points
153 views