Tagged articles
4 articles
Page 1 of 1
360 Smart Cloud
360 Smart Cloud
Apr 15, 2021 · Backend Development

EMQX Project Overview and Detailed Code Walkthrough of Connection and Session Layers

This article introduces the open‑source EMQX MQTT broker, explains the MQTT protocol basics, and provides an in‑depth analysis of the broker's connection and session processes—including their state structures, message flows for connect, subscribe, unsubscribe, ping, disconnect, and QoS 0/1/2 publishing—supported by illustrative code snippets and diagrams.

EMQXErlangIoT
0 likes · 17 min read
EMQX Project Overview and Detailed Code Walkthrough of Connection and Session Layers