Implementation and Comparison of M2M Protocols for Internet of Things

Document Type

Conference Proceeding


The backbone of Internet of Things (IoT) is the communication protocols which seamlessly integrate thousands of nodes and enable a light weight data transfer process. This research is to analyze the efficiency and applicability of different M2M protocols that are available for IoT communication. For the purpose of evaluating the protocols a Raspberry-Pi with Raspbian OS and a temperature sensor are used. Every environment of IoT need a protocol with different capabilities, which makes it really specific of what protocol has to be used for a given number of nodes, communication range, power requirements and reliability. Upon research on today's IoT development, the major protocols that fit every IoT environment are MQTT and CoAP. These protocols are light weight in terms of operation and data transfer hence make into the markets of IoT. This research will highlight the outcomes, anomalies and benefits of each of these protocols. Previously the existence of advanced protocols did not exist and that made huge IoT networks very difficult to maintain as the communication costs were very high. This analysis will help it make better understand the need of a lightweight protocol. There are many protocols that can be used in IoT such as XMPP, DDS, AMQP, HTTP, REST etc. The deeper understanding of these protocols and application requirements is necessary to properly select which protocol is most suitable for the application at hand. This research paper is to discuss and analyze the efficiency, usage and requirements of the two major protocols namely MQTT, CoAP.