Essential Local MQTT Server for Testing

Essential Local MQTT Server for Testing

In embedded IoT development, the MQTT protocol has become the standard choice for communication between devices. Why do you need a local MQTT server? • Development Testing Isolation: Avoid impacting the production environment and provide a secure testing space. • Network Independence: Does not rely on external network connections, ensuring a stable development environment. • … Read more

Implementing MQTT Protocol in PLC: Designing a Lightweight Messaging System

Implementing MQTT Protocol in PLC: Designing a Lightweight Messaging System

Introduction In industrial automation, communication between devices is one of the core issues. Traditional PLC communication often uses protocols like Modbus, but with the rise of the Internet of Things (IoT), MQTT (Message Queuing Telemetry Transport) has gradually become a popular choice in the industrial field due to its lightweight, efficient, and cross-platform characteristics. Today, … Read more

A Brief Introduction to MQTT and Mosquitto

A Brief Introduction to MQTT and Mosquitto

Follow,Star Public Account to not miss exciting content Source: Embedded Miscellaneous Although my practical development experience with Linux is still limited, I am aware that there are several methods for inter-process communication: pipes, message queues, shared memory, sockets, etc. In a certain project, MQTT was used as the method for inter-process communication, which felt quite … Read more

Introduction to MQTT: Practical Implementation

Introduction to MQTT: Practical Implementation

Introduction to MQTT: Practical Implementation 1. Overview of MQTT MQTT (Message Queuing Telemetry Transport) is a lightweight and efficient messaging protocol based on a publish-subscribe model, particularly suitable for Internet of Things (IoT) scenarios. Its operation is based on several core concepts: Broker: The core component of MQTT, acting as a message relay, is responsible … Read more

Porting MQTT on ARM Linux (Paho, Mosquitto)

Porting MQTT on ARM Linux (Paho, Mosquitto)

Introduction Here we will do two things: 1) Compile the C version libraries of two open-source projects, paho.mqtt and mosquitto (the mosquitto library will not be used) 2) Compile the library that depends on paho.mqtt and write examples + mosquitto server. Host Platform: Ubuntu 16.04 ARM Platform: s5p6818 SSL: openssl-1.0.2t MQTT Client: paho.mqtt.c Now we … Read more

Understanding IoT and MQTT Protocol

Understanding IoT and MQTT Protocol

What is the Internet of Things Internet of Things (IoT) refers to a network system that utilizes various sensors, devices, and objects to achieve interconnection and control through internet technology. With the continuous improvement of basic communication infrastructure, especially with the advent of 5G, the threshold and cost for connecting everything will gradually penetrate more … Read more

Detailed Explanation and Application of MQTT IoT Protocol

Detailed Explanation and Application of MQTT IoT Protocol

Hello everyone, this article introduces the MQTT protocol and how to use the MQTT client and develop it in the OpenWrt system, along with relevant example code. Introduction to MQTT MQTT (Message Queuing Telemetry Transport) is a lightweight communication protocol designed for transmitting messages in low bandwidth and unstable network environments. It was originally developed … Read more

Using MQTT for Inter-Process Communication

Using MQTT for Inter-Process Communication

Introduction The previous article shared: “A Simple Understanding of MQTT and Mosquitto”, which only covered some concepts of MQTT and an introduction to Mosquitto. Then readers urged for more: In this article, we will share an example of using MQTT for inter-process communication. We will modify the comprehensive demo from the previous article “Examples of … Read more

A Comprehensive Guide to MQTT Protocol for Embedded Engineers

A Comprehensive Guide to MQTT Protocol for Embedded Engineers

MQTT is a lightweight messaging protocol widely used in the Internet of Things (IoT) and embedded systems. It adopts a publish/subscribe model, allowing devices to efficiently exchange messages. Below is a comprehensive explanation of the MQTT protocol’s application and implementation in embedded systems. Overview of MQTT Protocol · Lightweight: MQTT is designed for low overhead, … Read more