HEADER-DRIVEN CODE GENERATION FOR ZERO-OVERHEAD BINARY COMMUNICATION IN RESOURCE-CONSTRAINED EMBEDDED SYSTEMS
This paper presents a tool that simplifies master–slave communication between resource-constrained embedded devices and HMI systems running on different operating systems, including Unix and Windows. It builds on earlier research into serialization methods, with a focus on execution performance, resource consumption, and the complexity of software development. The tool generates communication code from a shared definition of the data structures. As a result, no serialization metadata has to be transmitted, less data is exchanged, and both processing time and memory overhead are lower than with generic serialization frameworks such as MessagePack. Several microcontroller platforms and programming languages are supported, so a single protocol definition can serve different systems. The protocol can be extended by appending new fields to existing structures. The approach was implemented and tested in two embedded applications. The results show that generated binary protocols enable efficient communication on resource-constrained devices while making protocol development and maintenance easier.
Authors
- Bojan Milosavljević
- Predrag Sibinović
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24662472
- Primary Topic
- Embedded Systems and FPGA Design
- Type
- article
- Field-Weighted Citation Impact
- 0.00