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,160 points
2,143 views

1 answer to this question.

+1 vote

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
after ./configure ....

I had to insert "make" command otherwise coap-server not found

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,160 points
918 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,280 points
572 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, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
1,414 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,270 points
666 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,130 points
2,598 views
0 votes
1 answer

Differenciation between HTTP and COAP?

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

answered Sep 6, 2018 in IoT (Internet of Things) by Annie97
• 2,160 points
2,249 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,160 points
938 views
0 votes
1 answer

Difference between IoTivity and AllJoyn?

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

answered Sep 6, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,231 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP