Custom Embedded Protocols Should Follow TLV Format

Custom Embedded Protocols Should Follow TLV Format

In embedded software development, it is common to see friends defining custom protocols, mainly due to resource constraints and the relatively specialized functionality. Subsequent maintenance is also much simpler. However, at a certain stage or scale of the project, one must consider issues such as scalability and compatibility, leading to a variety of protocol designs. … Read more

Serialization of Embedded Communication Protocols

Serialization of Embedded Communication Protocols

Communication protocols can be understood as the rules and agreements established for information exchange between two nodes to work together, such as defining byte order, field types, and the compression or encryption algorithms used. Common protocols include TCP, UDP, HTTP, SIP, etc. Protocols have both procedural specifications and encoding specifications. The procedures include call flows … Read more

Flexible Communication Protocols in Embedded Software

Flexible Communication Protocols in Embedded Software

In embedded development, it is common to define custom protocol formats, such as for communication between boards or between client and server. There can be many types of custom protocol formats. In this article, we will introduce a commonly used, practical, and highly flexible protocol format—ITLV format. 01 【What Is ITLV Format?】 You may have … Read more