CoAP is an application protocol designed for constrained devices, designed to easily translate to HTTP.
Questions tagged [coap]
224 questions
17
votes
2 answers
Is video streaming over IoT protocols feasible?
Can Video streaming (low bitrates like 50 Kbps ) could be done over IoT protocols like CoAP/MQTT with much better performances compared to HTTP/RTP or TCP/UDP streaming? Or underlying video streaming architecture does not help the use case using…

Main
- 1,804
- 3
- 20
- 28
12
votes
4 answers
What are the major differences between HTTP and COAP?
HTTP is mainly used for viewing web pages. Coap is a simplified version of HTTP for IoT or WSNs. Although COAP is based on UDP, it should have ACK messages to emulate TCP. Since COAP is simpler than HTTP, it will have lower latency and draw less…

John Doyle
- 898
- 2
- 9
- 22
10
votes
4 answers
Using gRPC as a IoT protocol instead of LWM2M/CoAP
I have been toying with the idea of using gRPC for 'IoT' type devices; not very constrained things like sensors; more like single board computer inbuilt devices like robots, drones and the like. What is needed a interface between device and…

Alex Punnen
- 5,287
- 3
- 59
- 71
9
votes
2 answers
CoAP and DTLS integration
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.

Puzzle
- 173
- 2
- 6
8
votes
1 answer
What is the size of CoAP packet?
I'm new for this technology, can somebody help me to know about some doubt?
Q-1. What is the size of CoAP packet?
(I know there is 4 byte fixed header, but what is the maximum size limit including header, option and payload?)
Q-2. Is there any…

Ankit
- 201
- 3
- 6
- 13
5
votes
2 answers
IoT device with CoAP and NAT Traversal
Context: Each customer can have 100-1000 IoT-devices behind NAT. We have multiple customers. The aim is to manage these devices from outside. Devices use CoAP protocol, which uses by default udp.
There are few constraints.
It is not possible to…

Sukar Lofer
- 53
- 4
5
votes
3 answers
Californium CoAP path parameters
I'm working on a CoAP application using Eclipse Californium and I need to pass parameters using the URL as we do in restful web services. Is it possible to do it in californium coap implementation, and if so please let me know how to do…

yasithlokuge
- 253
- 5
- 16
5
votes
2 answers
Is there a way to send CoAP commands using JavaScript?
I was just wondering if there was a way to send CoAP queries in the browser (using JavaScript?), but not using node.js.
Thanks!

Daryl Rodrigo
- 1,387
- 2
- 11
- 19
4
votes
2 answers
OneM2M coap client in node.js
I have to develop a node.js app which can interact with another oneM2M server.
In particular the node.js app need to exchange data using CoaP protocol, but I don't know how to do that in a oneM2M compliant manner.
I started my node.js project using…

vp-platform
- 601
- 6
- 17
4
votes
1 answer
To support Keep-alive functionality of CoAP
I'm checking that CoAP can support keep-alive functionality like HTTP. Can CoAP support keep-alive functionality? If yes, how to set it up?

Jang
- 150
- 1
- 2
- 10
4
votes
1 answer
CoAP Too many observers
I want to 'Observe' resources in a CoAP server. But What I've noticed is that after I register to observe a few resources in the server, an additional resources I try to 'Observe' throw a message saying 'Too Many Observers'
I'm using Copper…

Srihari S
- 111
- 1
- 2
- 10
4
votes
3 answers
MQTT and CoAP Sensors and Actuators
MQTT and CoAP are being promoted as standard protocols that allow connecting constrained devices to the Internet.
I'm interested in a list of sensors and actuators that support these two protocols either in a native way or through a mesh/gateway.

Younes
- 1,635
- 1
- 19
- 33
3
votes
2 answers
What differ CoAP and LwM2M?
I study about IoT protocol CoAP, MQTT, LwM2M.
I was able to know a little about CoAP and MQTT.
But I do not know what LwM2M is.
I do not know what's different from CoAP.
I just thought that LwM2M is not a protocol with some format but a system…

NWOWN
- 399
- 1
- 4
- 17
3
votes
1 answer
using express routing with non-http (coap)
I'm running a coap server, and as I've started adding routes, maintaining my own routing is a bit tedious so I thought I'd switch to express (which I already use for an http server).
Now, given that it uses basically the same format for…

GTF
- 8,031
- 5
- 36
- 59
3
votes
2 answers
Does DTLS require sessions to timeout?
I'm trying to figure out the most data-use efficient way to secure our CoAP API. DTLS seems to be the right way to do it, but looking at how much data the handshake requires (and making some uninformed assumptions about how often that needs to…

azdle
- 2,139
- 4
- 17
- 23