Communication Protocol Design Principles for Embedded Devices

Communication Protocol Design Principles for Embedded Devices

Embedded devices need to set parameters during operation, which is often accomplished by a PC. A communication protocol must be designed for both parties, with three representative protocols as follows: As can be seen from the table above, embedded devices generally have limited memory and computational performance, so fixed binary is the preferred communication protocol. … Read more

Key Considerations for Embedded Communication Protocols

Key Considerations for Embedded Communication Protocols

Follow+Star Public Account, don’t miss out on exciting content Source | Internet Embedded development often requires communication in various scenarios, making communication protocols essential. The three representative communication protocols are as follows: As can be seen from the table above, embedded devices generally have limited memory and computing performance, so fixed binary is the preferred … Read more

What to Consider for Embedded Communication Protocols?

What to Consider for Embedded Communication Protocols?

Embedded development often requires communication in many scenarios, making communication protocols essential. The three representative communication protocols are as follows: As seen in the table above, embedded devices generally have limited memory and computational performance, so fixed binary is the preferred communication protocol. 1. Simplicity Ensure that the protocol is a simple solution; obscure and … Read more

Enhancements in HaoCurve: Image Manipulation and More

Enhancements in HaoCurve: Image Manipulation and More

The HaoCurve tool has been developed for 6 years, and its user base is growing. Every year, many friends provide various suggestions for HaoCurve, leading to an annual increase in the codebase, which has now become so large that it causes lag even when wrapping lines. This isn’t a major problem; the most troublesome part … Read more

Deep Dive Into Classes and Objects in C++

Deep Dive Into Classes and Objects in C++

Everyone, it’s time to learn again! Today! What spiritual food are we bringing? It’s classes! A class is a collection of objects that have the same attributes and operations, providing a unified abstract description for all objects belonging to that class. It includes two main parts: attributes (data variables) and operations (member functions). In short, … Read more

Cultivating Embedded C/C++ Programming Skills

Cultivating Embedded C/C++ Programming Skills

Follow “Embedded Miscellany“, and choose “Star Official Account” to progress together! Source: CSDN What makes a good programmer? Is it knowing many technical details? Or understanding low-level programming? Or being fast at coding? I think none of these. For some technical details and low-level technologies, you can find them in help documents or by researching. … Read more

Embedded C/C++ Specialized Test Questions

Embedded C/C++ Specialized Test Questions

1. In linux+gcc, which of the following statements about the code is incorrect?____. std::string& test_str() { std::string str=”test”; return str; } int main() { std::string& str_ref=test_str(); std::cout<<str_ref<<std::endl;< p=”” style=”margin-right: auto; margin-left: auto;”></str_ref<<std::endl;<> return 0; } A Compilation warning B Returns a reference to a local variable, runtime unknown error C Compiles and runs normally D … Read more

Detailed Explanation of CMakeLists.txt

Detailed Explanation of CMakeLists.txt

In the previous article, “Introduction to CMake Build Tool for ESP32,” we introduced the most basic usage of CMake with a “Hello World” program. Today, we will provide a detailed explanation of the CMakeLists.txt file. CMakeLists.txt The CMakeLists.txt file is the core configuration file for the CMake build tool. It contains a series of instructions … Read more

Overview of CMake Project Build Process

Overview of CMake Project Build Process

One-Click Three Connections,Continuous Valuable Content! Introduction Guite Embedded focuses on sharing knowledge about embedded software and hardware. 1 First Build – First, execute CMake in the project root directory to generate the Makefile or other build tool files required for the build system. This is typically done by running a command like `cmake /path/to/source`. – … Read more

Introduction to CMake: Easily Build C++ Projects

Introduction to CMake: Easily Build C++ Projects

In C++ project development, the build process can often be cumbersome, especially in cross-platform development. Today, I would like to introduce a powerful build tool—CMake. 1. What is CMake CMake is a cross-platform automated build tool widely used in C++ projects. It is primarily used to manage the software compilation process by controlling the compilation … Read more