Got it

IoT: What is CoAP

Latest reply: Jan 26, 2022 05:39:50 819 12 7 0 0

Hi, dear!

Good day to you!

Today I will share with you what is CoAP.


What is CoAP

CoAP, the full name is Constrained Application Protocol, is designed for resource-constrained devices (such as sensor nodes) and networks (such as NB-loT and LoRa).

CoAP is developed from HTTP. CoAP also works in request/response mode. The client initiates a request and the server responds. Compared with HTTP, CoAP considers both the optimization of data packet length and reliable communication.


CoAP


Features of CoAP

  • The header is compressed, the packet format is simple, and the message can be very short. The smallest CoAP message has only four bytes. The transport layer uses the UDP protocol to reduce network overheads, and COAP supports multicast.

  • To compensate for the unreliability of UDP transmission, CoAP has a message retransmission mechanism.

  • CoAP does not support persistent connection and does not have heartbeat messages. When there is no service, the device does not need to send messages to external systems. 

  • Poor real-time performance: The device needs to be woken up before performing services.



Summer

Compared with MQTT, CoAP does not need to maintain a persistent connection and does not need to send heartbeat messages. Therefore, CoAP is more suitable for devices that require the sleep/wake mechanism in IoT scenarios. The device can stay in hibernation mode for long periods of time, saving battery power, and a single battery can last 10 years or more. Currently, solutions such as smart water meters, smart electricity meters, smart agriculture, and smart parking use the CoAP protocol.


Thanks for reading!

Good summary
View more
  • x
  • convention:

Constrained Application Protocol (CoAP)
View more
  • x
  • convention:

Constrained Application Protocol (CoAP) is a specialized web transfer protocol for use with constrained nodes and constrained networks in the Internet of Things. CoAP is designed to enable simple, constrained devices to join the IoT even through constrained networks with low bandwidth and low availability. It is generally used for machine-to-machine (M2M) applications such as smart energy and building automation.
View more

Rating

Number of participants 1HiCoins +2 Collapse Reasons
Y_T_Z Y_T_Z + 2

View All scores

  • x
  • convention:

Y_T_Z
Y_T_Z Created Aug 27, 2021 01:47:56 (0) (0)
 
Learn to learn, increase our knowledge
View more
  • x
  • convention:

Y_T_Z
Y_T_Z Created Aug 27, 2021 01:48:11 (0) (0)
thanks for your reading  
Good Explanation !!
View more
  • x
  • convention:

Thank you
View more
  • x
  • convention:

Thanks for good article!
View more
  • x
  • convention:

Zonger
Moderator Created Jan 25, 2022 12:32:42

CoAP is a simplified version of HTTP for IoT or WSNs and as it is simpler than HTTP, it will have lower latency and draw less power.
View more
  • x
  • convention:

Good one
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.