LBLonely Binary Learn
ESP32TinkerBlockProductsFundamentalsTools
Shop
MQTT
The post office3
§All 3 in brief01Why a post office02Topics03Subscribing
Sorting and keeping2
§All 2 in brief04Wildcards05Retained messages
Delivery2
§All 2 in brief06QoS 0 and 107QoS 2, and each hop
Staying connected3
§All 3 in brief08Keepalive09Last will10Postcards and strangers
All fundamentals →
Fundamentals/MQTT/Delivery
Chapter · MQTT

Delivery

Ordinary letters, registered mail and signed-for mail: QoS 0, 1 and 2, and why each hop has its own.

2 articlesabout 8 minutesNo board required
  1. 06QoS 0 and 14 minQoS 0 is an ordinary letter — posted, and never heard of again if the connection drops with it. QoS 1 is registered mail, posted again until a receipt comes back, so it arrives at least once, and sometimes twice.
  2. 07QoS 2, and each hop4 minQoS 2 delivers exactly once and pays four packets for it, where QoS 0 pays one. And QoS is agreed hop by hop — a subscriber gets the lower of the level a message was posted at and the level it asked for.

Start at 06 and read down — the order is the order things get easier in. Or take the one with your part in it; every article stands on its own, and links back to whatever it needs.

← Previous chapterSorting and keeping2 articlesNext chapter →Staying connected3 articles
Lonely Binary Learn · Sydney, AustraliaHomeBlocksManualsESP32-S3 bookCompare chipsDownloadsProduct codesSearchCommunityRSSFluxgridShop