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
Learning IoT with Particle Photon and Electron

You're reading from  Learning IoT with Particle Photon and Electron

Product type Book
Published in Sep 2016
Publisher
ISBN-13 9781785885297
Pages 136 pages
Edition 1st Edition
Languages
Authors (3):
Rashid Khan Rashid Khan
Profile icon Rashid Khan
Kajari Ghoshdastidar Kajari Ghoshdastidar
Profile icon Kajari Ghoshdastidar
Ajith Vasudevan Ajith Vasudevan
Profile icon Ajith Vasudevan
View More author details

Alternate protocols for IoT


IoT devices are constrained in terms of computing and memory resources, and Particle devices are no exception. The REST architecture has been used extensively on the web for communication between clients and servers. Using the same architecture for IoT or resource-constrained devices is not very optimal. It leads to packet losses or memory being full, which result in unwanted behavior. The REST implementation is also process intensive for the IoT devices, thereby putting a heavy load on these tiny devices.

To overcome these issues, new protocols and architecture have been designed. We will be presenting briefly some of these new protocols, which are better suited for IoT.

MQTT

The first protocol we look at is called MQ Telemetry Transport (MQTT) (http://www.mqtt.org). Historically, the "MQ" in MQTT came from IBM's MQ Series message queuing (https://en.wikipedia.org/wiki/Message_queuing) product line.

MQTT is a publish-subscribe-based (https://en.wikipedia.org/wiki...

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 €14.99/month. Cancel anytime}