Learning MQTT Protocol: 006 – Subscribe Topic and Corresponding Messages (SUBSCRIBE, SUBACK, UNSUBSCRIBE, UNSUBACK)

Learning MQTT Protocol: 006 - Subscribe Topic and Corresponding Messages (SUBSCRIBE, SUBACK, UNSUBSCRIBE, UNSUBACK)

Background Previously, we discussed how to publish messages and their corresponding packets; now let’s look at how the packets for subscribing to a topic are structured. SUBSCRIBE – Subscribe to a Topic The client sends a SUBSCRIBE packet to the server to create one or more subscriptions. Each subscription registers one or more topics of … Read more

Creating a Seamless Communication Terminal Based on MQTT

Creating a Seamless Communication Terminal Based on MQTT

Author:Nanhai District Dali Town Junior High School, Foshan City, Guangdong Province Zhang Quan, Ling Yujie, Xie Hanzhe This article is sourced from “Invention and Innovation” May 2023 Junior High School Edition We found that homeroom teachers and subject teachers have many repetitive and mechanical tasks, such as: every day the homeroom teacher conveys messages from … Read more

Why HTTP Is Not Suitable as an IoT Protocol?

Why HTTP Is Not Suitable as an IoT Protocol?

Data packets sent by IoT smart devices must be encapsulated by the corresponding protocol at each layer. With the rapid development of Internet of Things (IoT) technology, most smart devices’ communication modules support various network communication protocols such as TCP, UDP, MQTT, CoAP, HTTP, and LwM2M, which include both transport layer and application layer protocols, … Read more

Open Source Cloud-Native Distributed MQTT Broker Server

Open Source Cloud-Native Distributed MQTT Broker Server

Distributed MQTT Broker Server The distributed MQTT Broker server is a message broker based on the publish/subscribe model. It supports load balancing and data synchronization across multiple nodes to provide high availability and scalability for MQTT messaging services. Here is a detailed explanation of the distributed MQTT Broker server: 1. Definition and Functionality Definition: The … Read more

MQTT: The Nervous System of IoT

MQTT: The Nervous System of IoT

Let’s dive into MQTT, how to ensure its security, and examples of the protocol to see how it has rapidly gained popularity in the IoT field. In today’s world, there are billions of smart devices. Imagine if these devices were all interconnected and could communicate with each other like their users, forming a global network. … Read more

Learning MQTT Protocol: Structure of Communication Packets

Learning MQTT Protocol: Structure of Communication Packets

MQTT Packet Structure In the MQTT protocol, an MQTT packet consists of three parts: Fixed Header, Variable Header, and Payload. (1) Fixed Header. Present in all MQTT packets, indicating the packet type and group class identifier. (2) Variable Header. Present in some MQTT packets, the packet type determines whether the variable header exists and its … Read more

Introduction to MQTT Protocol Concepts

Introduction to MQTT Protocol Concepts

Background From this chapter onwards, unless otherwise specified, the version of MQTT referred to in this article is 3.1.1. The MQTT protocol is one of the commonly used protocols in the Internet of Things, known as a “lightweight IoT messaging protocol”. MQTT and HTTP both belong to the seventh layer (application layer). For friends who … Read more

IoT Security Series | MQTT Protocol Security

IoT Security Series | MQTT Protocol Security

1. Introduction MQTT, which stands for Message Queuing Telemetry Transport, is an ISO standard (ISO/IEC PRF 20922) based on the publish/subscribe paradigm. It was released by IBM. Due to its lightweight, simple, open, and easy-to-implement characteristics, it is very suitable for IoT scenarios that require low power consumption and limited network bandwidth, such as remote … Read more

Beginner Friendly | Quick Steps to Achieve MQTT Communication with Cloud Platform

Beginner Friendly | Quick Steps to Achieve MQTT Communication with Cloud Platform

Introduction to MQTT The MQTT protocol is currently the most popular Internet of Things protocol in the world, bar none. It provides devices with a stable, reliable, and easy-to-use communication foundation. As of now, there are over a hundred million devices connected via the MQTT protocol, widely used in fields such as IoT and M2M. … Read more

Detailed Explanation of TCP/IP Protocol

Detailed Explanation of TCP/IP Protocol

Click the blue text aboveto follow us. Resource Release Huawei Certification Beginner to Advanced Practical Course ↓ Scan to watch the practical video ↓ 1. Protocol Layering The TCP/IP protocol uses encapsulation and multiplexing strategies in packet design. Encapsulation means that during the data sending process in the application layer, each layer adds some header … Read more