MQTT is now officially a standard. This slide deck shows why the Internet of Things is special and why MQTT is one solution to communication between devices. There are a lot of Java code sample for getting started quickly.
30. Things
• constrained ressources
• unreliable network connection
• no power - only battery
• “out-in-the-field”
https://flic.kr/p/dA2SMG + made transparent
32. 2020
20,000,000,000 things
250 newbies every second
every person owns ≈ 7 devices
http://blogs.cisco.com/news/cisco-connections-counter/!
http://www.cisco.com/web/about/ac79/docs/innov/IoT_IBSG_0411FINAL.pdf
36. Things want
• Small & simple protocols
• Little overhead
• Avoid duplicate messages
• Not care about data consumers
https://flic.kr/p/dA2SMG + made transparent
42. subscribe At the end of the talk we
will have this working, live
temperature
sensor
MQTT-Broker
laptop
mobile device
publish: “21°C“
subscribe
publish: “21°C“
publish: “21°C“
43. MQTT Pub/Sub
• Open TCP Connection
• Binary
• Data-agnostic
• Real Push
• All “online” clients
• Topics with wildcards
45. History
Arlen Nipper &
Andy Stanford-Clark
invent MQTT
royalty
free
OASIS TC
formed
MQTT
Standard
1999 2010 2013 2014
46.
47. • Open Source
Eclipse Paho
• “Reference Implementation”
• Many languages: Java, Javascript,
Lua, C, C++, Go, Python
• Active Community
+ other clients
48. MQTT Client
• Client ID
• Know the broker (host, port)
• Can do both: subscribe & publish
74. dc-square
Create building blocks for the IoT
Develop the Broker
Custom Plugin Development
Consulting for MQTT & IoT
More about MQTT & HiveMQ:
www.hivemq.com/blog
@HiveMQ
@dcsquare
76. Credits
All rights for IT Crowd video (YouTube) & photo
belong to Channel4
!
Raspberry Pi by inrepose from Flickr
!
“we are all makers” rights belong to MakerMedia
!
Client/Server Image from University of Regina
!
Other photos are from depositphotos.com