Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Internet of Things

You're reading from  Mastering Internet of Things

Product type Book
Published in Mar 2018
Publisher Packt
ISBN-13 9781788397483
Pages 410 pages
Edition 1st Edition
Languages
Author (1):
Peter Waher Peter Waher
Profile icon Peter Waher

Table of Contents (24) Chapters

Title Page
Copyright and Credits
Dedication
Packt Upsell
Contributors
Preface
1. Preparing Our First Raspberry Pi Project 2. Creating a Sensor to Measure Ambient Light 3. Creating an Actuator for Controlling Illumination 4. Publishing Information Using MQTT 5. Publishing Data Using HTTP 6. Creating Web Pages for Your Devices 7. Communicating More Efficiently Using CoAP 8. Interoperability 9. Social Interaction with Your Devices Using XMPP 10. The Controller 11. Product Life Cycle 12. Concentrators and Bridges 13. Using an Internet of Things Service Platform 14. IoT Harmonization 15. Security for the Internet of Things 16. Privacy 1. Other Books You May Enjoy Index

Introducing the MQTT protocol


One of the most popular protocols to use for Machine-to-Machine (M2M) communication, and the Internet of Things (IoT), is the MQ Telemetry Transport (MQTT) protocol. The MQ refers to IBM's MQ series product line, even though MQTT was not part of that series in the beginning. Since its inception in 1999, the MQTT protocol is implemented in a large array of tools, servers, and libraries in many different languages.

MQTT has drawn interest for various reasons. It is very simple and easy to use, and it is TCP/IP-based. It also includes a new communication pattern that has become popular for efficient distribution of data to multiple consumers: the Publish/Subscribepattern. That pattern allowed for efficient syndication of news and has become a great tool for efficiently distributing other kinds of information as well, such as sensor data.

Most IP communication patterns before this were focused on either direct asynchronous messaging or the request/response pattern...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}