Hot answers tagged

13 votes
Accepted

Is CoAP still used for IoT devices?

The reason that you find few implementations is most likely because CoAP is a relatively young protocol. It was first proposed in 2010, and the current version dates from 2014: RFC 7252. For ...
Eirik M's user avatar
  • 351
12 votes

Are there any devices with open-source protocols over Wi-Fi?

The IKEA Trådfri lighting system is all CoAP based, you can find my write up on the protocol here Belkin WeMo devices are all uPnP and SOAP controlled as well so another open/self describing protocol
hardillb's user avatar
  • 12.4k
8 votes
Accepted

Does CoAP depend on IEEE 802.15.4?

No, CoAP is an application layer protocol it's not dependent Basically that's the beauty behind the OSI layers. If correctly implemented you can mostly stack them however you want. As with every ...
Helmar's user avatar
  • 8,250
7 votes
Accepted

Usage of Constrained Application Protocol (CoAP) in eastern european countries/russia and china

I'm not sure, if this is a answer or should be a comment, but though I don't have enough reputation to comment ... End of last year there have been some news about the (mis?) usage of CoAP. Message ...
Achim Kraus's user avatar
7 votes
Accepted

Does CoAP have a lower footprint than MQTT?

CoAP and MQTT have both equal RAM usage, measured in 10kbits [1]. Difference is in cpu and network usage: [2] Every client supports TCP and holds a connection open to the broker. So, CoAP has ...
mico's user avatar
  • 4,301
5 votes

What is the library to be used to implement CoAP in ESP8266?

There are no standards only RFCs for CoAP; all of them are accessible on the web: RFC 7228 - Terminology for Constrained-Node Networks, May 2014 RFC 7252 - The Constrained Application Protocol (CoAP),...
Bence Kaulics's user avatar
5 votes

Non-IP device Communication Protocols

The protocols you mentioned are application layer protocols and they run over TCP or UPD, you can not use an application layer without IP. But you can use an implementation of MQTT for Sensors called ...
Anas Naguib's user avatar
4 votes

Usage of Constrained Application Protocol (CoAP) in eastern european countries/russia and china

In addition to Achim's comment (and with the same uncertainty as to whether that'd be an answer or a comment), you may want to consider the following: A single installation rolling out, MQTT, would ...
chrysn's user avatar
  • 141
4 votes

How to convert messages between CoAP and MQTT protocols?

You would need a 'gateway' that can translate from CoAP to MQTT (and vice versa). Various examples exist, such as: emq-coap which allows CoAP clients to communicate with an instance of the EMQ MQTT ...
Aurora0001's user avatar
  • 18.1k
2 votes

Does CoAP have a lower footprint than MQTT?

One of the answers above says that CoAP uses UDP and hence does not guarantee data delivery. This is not completely true. CoAP has a non-confirmed mode and a confirmed mode of sending messages. In ...
kalyanswaroop's user avatar
1 vote

LWM2M Bootstrap Factory versus Client

I am no further forward on this part of the question "Questions re Factory Bootstrap" But answer to this "questions re Client Initiated Bootstrap" can be found here I think. Why ...
scott_lotus's user avatar
1 vote

Scalability: CoAP vs. MQTT-SN

I don't think, there is a easy answer, nor a fair one. One aspect of scaling maybe the distinguish between "hot" and "cold" data (say "hot" you must always fetch from the single fresh source (hardly ...
Achim Kraus's user avatar
1 vote

CoAP protocol using californium java library

Californium is designed to process many request simultaneously. Therefore it uses callbacks (CoapResource). May be I missunderstood your intention of the question. For me "all in main" sounds as an ...
Achim Kraus's user avatar
1 vote

What is the library to be used to implement CoAP in ESP8266?

I think you were looking for this. I use this library for my arduino projects on a Wemos esp8266 based board. https://github.com/automote/ESP-CoAP
Ebleme's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible