MQTT based Communication in IoT
Manandhar, Srijan (2017)
Tieto- ja sähkötekniikan tiedekunta – Faculty of Computing and Electrical Engineering
This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
There are many studies on simplifying the development and management of IoT applications. One of those research work is to use IoT devices as the RESTful resources or even IoT devices as application servers that can expose RESTful resources. However, REST style is not suitable for some network conditions. Hence, this document proposes to use MQTT in place of REST for accessing and managing the services provided by the IoT devices. As a result, IoT application development and management become possible in all network conditions. In this thesis, firstly REST-based implementation of IoT development and deployment platform is described. Then issues with this implementation are discussed, which is the motivation for using MQTT as the protocol for this platform. Then finally, MQTT based implementation is described with mapping of HTTP request-response used in REST-based implementation to MQTT style request-response.