MQTT vs SMQTT in IoT | Difference between MQTT and SMQTT
This page compares MQTT vs SMQTT and mentions difference between MQTT and SMQTT.
The figure-1 depicts MQTT protocol architecture.
Following are the features of MQTT protocol:
• MQTT is the short form of Message Queue Telemetry Transport.
• It consists of three components viz. publishers, broker and subscribers.
• It is based on publish/subscribe architecture.
• Publishers are like sensors or IoT devices which send their data or change in some information to the broker as per topic.
• Subscribers are like applications which subscribed with broker to receive change in parameters of a certain topic or sensory data.
• Refer MQTT vs HTTP>> for core features of MQTT protocol.
Refer MQTT Protocol>> for more information.
Following are the features of SMQTT protocol.
• It is extension to simple MQTT protocol.
• SMQTT stands for Secure Message Queue Telemetry Transport.
• It uses light weight attribute based encryption.
• It is session layer protocol.
• It has broadcast encryption feature which does encryption of one message and delivers the same to multiple nodes.
• Algorithm is divided into four parts viz. setup, encryption, publish and decryption.
• Like MQTT, it uses broker based subscribe and publish architecture.
• In the setup phase, subscribers and publishers register themselves with broker and obtain master secret key.
• Before publishing, data is being encrypted. The encrypted data is published by the broker. This is being received by the subscribers which perform decryption to perform decoding of the data with the same master key.
• Key generation algorithm is not standardized and depends on developers. Encryption algorithms depend on developers too.