MQTT: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[IoT with AME|Home]] | [[IoT with AME|Home]] | ||
=MQTT - A Protocol | =MQTT - A Protocol for Connecting IoT Devices= | ||
MQTT is a ''really'' simple protocol that connected devices can use to publish and receive messages. Messages have a topic and may contain an arbitrary payload. Devices never talk to each other directly. A MQTT brokers receives published messages and distributes them to subscribers by matching message topics with subscribed-to topics. | MQTT is a ''really'' simple protocol that connected devices can use to publish and receive messages. Messages have a topic and may contain an arbitrary payload. Devices never talk to each other directly. A MQTT brokers receives published messages and distributes them to subscribers by matching message topics with subscribed-to topics. | ||
* | * [[MQTT FSM|Handshaking]] - a FSM (Finite State Machine) of the protocol | ||
* most simple application (QoS 0) | * most simple application (QoS 0) | ||
* encoding and decoding | * encoding and decoding |
Revision as of 15:06, 3 July 2017
MQTT - A Protocol for Connecting IoT Devices
MQTT is a really simple protocol that connected devices can use to publish and receive messages. Messages have a topic and may contain an arbitrary payload. Devices never talk to each other directly. A MQTT brokers receives published messages and distributes them to subscribers by matching message topics with subscribed-to topics.
- Handshaking - a FSM (Finite State Machine) of the protocol
- most simple application (QoS 0)
- encoding and decoding
- more sophistication (QoS 1, 2), limits of the Arduino environment (like, conversational state)