MQTT Protocol in IoT (Part 1) – Basic Concepts and Devices

Introduction: This article is based on practical experience, and for foundational concepts like MQTT, it is recommended to search online for more information. Recommended Resources:mica-mqtt documentation 1. Brief Introduction to MQTT   As a mainstream protocol in today’s Internet of Things (IoT), MQTT has a wide range of applications. If you want to understand or even … Read more

MQTT Communication – Establishing an MQTT Connection

MQTT Communication - Establishing an MQTT Connection

MQTT is an application layer protocol. After the client and server establish a network connection (usually TCP/IP), the client sends a CONNECT message to the server to request the establishment of an MQTT connection, and the server replies with a CONNACK message to accept or reject the connection. The connection process is as follows: __CONNECT … Read more