This presentation gives an introduction to MQTT and explains its features and use cases. Also included is a live demonstration, which shows how to use MQTT between a device and a web browser.
5. ✓ constrained ressources
✓ unreliable network connection
✓ low cost for hardware and data plan
✓ no power - only battery
✓ no home base (out-in-the-field)
Characteristics of Things
Yes, mobile networks are unreliable
7. Things want
✓ Slim & lightweight protocols
✓ Bidirectional communication
✓ Little overhead
✓ Not to think about duplicates
✓ Not to care about different data consumers
16. One to Many
Clients don’t know each other
Every client can be publisher & subscriber
Pub/Sub
MQTT Broker MQTT Client
MQTT Client
MQTT Client
PUBLISH
PUBLISH
PUBLISH
17. Core concept in MQTT
Routing is based on Topics
Component of each Publish/Subscribe message
Topics
myhome/groundfloor/livingroom/temperature
23. each client opens one connection
Push capability
even through firewalls
Open Connection
MQTT Broker MQTT Client
MQTT Client
MQTT Client
PUBLISH
PUBLISH
PUBLISH
48. Security
Network Level (VPN, …)
Transport Level (TLS, Client Cert Auth)
Application Level
Authentication Authorization Payload
for more see the MQTT Security Fundamentals