MQTT: Difference between revisions

From IoT with AME
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 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 MQTT brokers receives published messages and distributes them to subscribers by matching message topics with subscribed-to topics.


* finite state machine of the protocol
* [[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

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 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)


Home