Skip to Content
Internet of Things with Raspberry Pi 3
book

Internet of Things with Raspberry Pi 3

by Maneesh Rao
April 2018
Intermediate to advanced
248 pages
5h 31m
English
Packt Publishing
Content preview from Internet of Things with Raspberry Pi 3

MQTT architecture

MQTT works on a publish/subscribe architecture. Publishing is like broadcasting data on a particular channel and subscribing is like listening or receiving the data from a particular channel or source. It is an event-driven communication protocol where messages are pushed to clients; they do not need to pull them from the server as in the HTTP protocol. Here, the central communication server is an MQTT Broker, as seen in Figure 3.8:

Figure 3.8

The central broker is responsible for dispatching all the messages between senders and receivers. The client/sender after establishing connection with broker publishes a message on ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Raspberry Pi

Learning Raspberry Pi

Samarth Shah, Serge Schneider
Raspberry Pi 3 Home Automation Projects

Raspberry Pi 3 Home Automation Projects

Shantanu Bhadoria, Ruben Oliva Ramos

Publisher Resources

ISBN: 9781788627405Supplemental Content