LearnSCADABooks
All books
Cover of Inside the Broker

Inside the Broker

Building a Study Broker and Edge Node to Master MQTT and Sparkplug B

Coming soon

Build a study MQTT broker and a Sparkplug B edge node in Python, and learn MQTT 3.1.1 and Sparkplug B from the inside out: packet types, the remaining-length encoding, CONNACK codes, keepalive, the will message, Sparkplug B topics and message types, and the sequence rules that keep a host and an edge node in step.

Every listing printed in the book is tested code. Standard library Python 3.11 or later, with no broker to install. Companion code is at github.com/cbvance/InsideTheBroker.

Author
Charles Vance
Category
Networking and Protocols