Reader small image

You're reading from  Building IoT Visualizations using Grafana

Product typeBook
Published inJul 2022
PublisherPackt
ISBN-139781803236124
Edition1st Edition
Right arrow
Author (1)
Rodrigo Juan Hernández
Rodrigo Juan Hernández
author image
Rodrigo Juan Hernández

Rodrigo Juan Hernández is an electronic engineer passionate about IoT even before it existed. He has been working on tech for more than 18 years until now. For several years he has been focusing on the IoT ecosystem. He is currently giving consultation about IoT systems to clients around the world. He also produces content online about IoT and related subjects and the content is available on his blog, Youtube channel, and social networks - mainly LinkedIn. He also writes for companies that need good quality content about their products and services. His main objective nowadays is helping others to understand and implement IoT solutions.
Read more about Rodrigo Juan Hernández

Right arrow

What is CoAP?

Constrained Application Protocol (CoAP), as its name implies, is tailored to run in constrained devices, such as microcontrollers.

Let’s see some characteristics:

  • It runs on UDP.
  • It has low header overhead and parsing complexity.
  • Its packets are much smaller than HTTP.
  • It has asynchronous message exchanges.
  • It allows UPD broadcast and multicast.
  • It has UIR and content-type support.
  • It uses methods like HTTP: GET, PUT, POST, and DELETE.
  • CoAP can interact with HTTP using proxies.
  • It has low resource and power consumption.

Although CoAP uses UDP, it allows requesting confirmation packets. Any request or response message can be tagged as confirmable or nonconfirmable. If the receiver gets a message tagged as confirmable, it will send an ack to the sender. On the other hand, if the message is tagged as nonconfirmable, it will not send any ACK message. CoAP packets are transported over UDP, so you can’t use SSL...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Building IoT Visualizations using Grafana
Published in: Jul 2022Publisher: PacktISBN-13: 9781803236124

Author (1)

author image
Rodrigo Juan Hernández

Rodrigo Juan Hernández is an electronic engineer passionate about IoT even before it existed. He has been working on tech for more than 18 years until now. For several years he has been focusing on the IoT ecosystem. He is currently giving consultation about IoT systems to clients around the world. He also produces content online about IoT and related subjects and the content is available on his blog, Youtube channel, and social networks - mainly LinkedIn. He also writes for companies that need good quality content about their products and services. His main objective nowadays is helping others to understand and implement IoT solutions.
Read more about Rodrigo Juan Hernández