MQTT: Difference between revisions

From IoT with AME
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[IoT with AME|Home]]
[[IoT with AME|Home]]


=MQTT - A Protocol to Connect IoT Devices=
=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 server (MQTT broker) receives published messages and distributes them to subscribers by matching message topics with subscribed-to topics.
 
* 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)


* [[MQTT Encoding and Decoding]]
* [[MQTT FSM|Handshaking]] - a FSM (Finite State Machine) of the protocol at QoS 0, 1, 2
* [[MQTT Arduino Limits|Limits of the Arduino environment]] (like, conversational state)


[[IoT with AME|Home]]
[[IoT with AME|Home]]

Latest revision as of 11:52, 13 June 2018

Home

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 server (MQTT broker) receives published messages and distributes them to subscribers by matching message topics with subscribed-to topics.

Home