Abstract

The usage of Internet of Things has increased in the recent years allowing a new way of connecting devices together. Many transactions happen over the IoT calling for protocols to ensure the efficiency and management of the communication traffic. This paper examines 2 particular protocols, Message Queuing Telemetry Transport (MQTT) and Constrained application protocol (CoAP). The main differences between MQTT and CoAP that MQTT runs over TCP and CoAP runs over UDP. MQTT uses three level of QoS to ensure the message delivery while CoAP uses 4 types of transmission attempts which are confirmable, non-confirmable, acknowledgment, and rest. Through a set of experiments, we show that MQTT is more accurate when ensuring packet delivery. However, CoAP is better when it comes to performance when sending a limited number of messages.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.