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

QoS levels

QoS stands for Quality of Service. It is basically a standard for reliability and the successful delivery of each message in MQTT. It makes sure that our messages reach the destination even when a connection is unreliable, and overcomes the issue of data loss. There are three types of QoS as follows:

  • QoS=0: It just promises to send the message only, once but doesn't ensure its delivery and any retry in case of failure.
  • QoS=1: It promises that the message will be received by the recipient at least once. Until the sender receives acknowledgement from the recipient, it will keep on sending the message, which can result in duplicate messages.
  • QoS=2: It promises that message will be received by a recipient only once. It will make sure ...
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