Reader small image

You're reading from  Arduino Data Communications

Product typeBook
Published inNov 2023
PublisherPackt
ISBN-139781837632619
Edition1st Edition
Right arrow
Author (1)
Robert Thas John
Robert Thas John
author image
Robert Thas John

Robert Thas John is a data engineer with a career that spans two decades. He manages a team of data engineers, analysts, and machine learning engineers – roles that he has held in the past. He leads a number of efforts aimed at increasing the adoption of machine learning on embedded devices through various programs from Google Developers and ARM Ltd, which licenses the chips found in Arduinos and other microcontrollers. He started his career as a software engineer with work that has spanned various industries. His first experience with embedded systems was in programming payment terminals.
Read more about Robert Thas John

Right arrow

Working with MQTT

MQTT implements publish-subscribe machine-to-machine (M2M) communications in a lightweight manner. This makes it possible to communicate over limited bandwidth. It implements a broker, which you can think of as a stand-in for the post office. Brokers have topics, and endpoints publish messages into these topics. Other endpoints then subscribe to these topics and are notified when new messages are published.

MQTT brokers make it possible for IoT devices to communicate without knowing their addresses using topics. They also keep track of which clients are connected to the network using a keep-alive messaging system. MQTT has three key benefits:

  • Efficiency: The implementation uses the least amount of energy and data to send messages across
  • Reliability: The implementation has various quality-of-service levels that determine how messages are stored by the broker and either sent to clients or received by clients
  • Flexibility: The implementation lets developers...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Arduino Data Communications
Published in: Nov 2023Publisher: PacktISBN-13: 9781837632619

Author (1)

author image
Robert Thas John

Robert Thas John is a data engineer with a career that spans two decades. He manages a team of data engineers, analysts, and machine learning engineers – roles that he has held in the past. He leads a number of efforts aimed at increasing the adoption of machine learning on embedded devices through various programs from Google Developers and ARM Ltd, which licenses the chips found in Arduinos and other microcontrollers. He started his career as a software engineer with work that has spanned various industries. His first experience with embedded systems was in programming payment terminals.
Read more about Robert Thas John