IoT or Internet of Things is a rapidly emerging market of devices being connected to the Internet to exchange data.

What is MQTT?
MQTT stands for Message Queuing Telemetry Transport. It is a lightweight protocol designed for efficiently transporting messages between M2M or IoT devices. It uses a publish-subscribe model where devices publish information to a broker, and any number of clients can subscribe to them. For example, a temperature sensor device in the home could publish the temperature to a topic, for example /home/indoor/temperature. The air conditioning system could then subscribe to this temperature and switch on and off when the value exceeds programmed thresholds. It might also be desirable to have an indoor temperature display. This device could also subscribe to …