Essential Insights for Embedded Engineers: Protocol Design is More Than Just Connectivity

As embedded engineers, we deal with “protocols” almost every day. From reading sensor data to coordinating multiple devices, any communication between devices relies on protocols. Many people think that protocol design is simple, merely involving the creation of a message format. However, in real projects, even simple scenarios often lead to issues like “devices cannot … Read more

The Lightweight Communication Protocol Weapon in Embedded Systems!

The Lightweight Communication Protocol Weapon in Embedded Systems!

In embedded development, reliable communication between devices has always been a challenge. Today, we will share an excellent open-source project—LwPKT, and see how it solves complex communication protocol issues with less than 1000 lines of code. 1. Pain Points of Embedded Communication In embedded development, we often encounter the following issues: Memory Constraints: MCUs have … Read more

Comprehensive Analysis of Bluetooth Configuration Process: From Entering Configuration Mode to Business Implementation

Comprehensive Analysis of Bluetooth Configuration Process: From Entering Configuration Mode to Business Implementation

In the development of smart devices, Bluetooth configuration is a very common and critical step. This article will comprehensively outline the process and key points of Bluetooth configuration, starting from entering configuration mode to connecting the device to the network and entering business operations, explained step by step. Table of Contents 1. Preliminary Notes on … Read more

Key Points for Designing Compatibility in Embedded Software!

Key Points for Designing Compatibility in Embedded Software!

In the process of embedded development, if compatibility design is not taken into account, it may lead to: Loss of functionality after software upgrades Protocol changes causing communication issues between old and new versions Data structure changes leading to system crashes APP and device version mismatches causing functional anomalies Today, I will share the five … Read more

How to Resolve LoRa Multi-Node Conflicts?

How to Resolve LoRa Multi-Node Conflicts?

When we are working on wireless sensors and device networking, we often use wireless transmission methods such as 433M ASK and LoRa. When multiple nodes use the same frequency and transmission parameters, such as spreading factor, at the same time to send data, packet collisions or co-frequency interference can occur, which prevents the gateway from … Read more

A C/C++ Embedded Communication Protocol for Multi-Device Communication

A C/C++ Embedded Communication Protocol for Multi-Device Communication

SACP (Snapmaker Advanced Communication Protocol) is the data communication protocol for Snapmaker devices, used for data transmission between the controller, PC (Host), and HMI (Human-Machine Interface). From the design philosophy of this protocol, it can meet the following basic goals: Reliability: Packet header CRC8 check + Checksum data integrity verification Flexibility: Supports request/response mechanism (SACP_ATTR_REQ … Read more