Skip to content

[FEATURE] biniry protocols #18711

@ilia19911

Description

@ilia19911

Is your feature request related to a problem? Please describe.

Hi. I have a general question about binary protocols. I often run into the same problems when implementing them on embedded boards (UART, Ethernet, custom transports). Each time I end up writing a parser for something like [prefix][length][data][crc]. To avoid repeating this, I created a reusable template-based library with tests. It supports configurable field sequences and streaming parsing (both full and partial packets). You can find it here: https://github.com/iahve-space/protolib . Could this be useful as a reference or solution for others, and potentially as an example in NuttX apps?

Describe the solution you'd like

Could this be useful as a reference or solution for others, and potentially as an example in NuttX apps?

Describe alternatives you've considered

No response

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions