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,200 points
528 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,200 points
129 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
68 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,590 points
325 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
112 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
944 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,200 points
527 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,200 points
189 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,150 points
343 views