Skip to content

Adds TCP broker supporting zero-delimited frames #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hannesweisbach
Copy link
Contributor

@hannesweisbach hannesweisbach commented Jun 26, 2025

This commits adds an implementation of a TCP-broker that observes the zero-byte frame delimiter of COBS-encoded Cyphal/Serial frames.

This commit addresses #300


I randomly stumbled upon #300 by accident. We at Neosat have a simple broker that does observe zero-delimited framing.
I cleaned it up a bit, added comments, etc.

I'm open to comments/change requests.

Open questions:

I'm not exactly sure where to put the file in the source tree.
How much/what tests would you require?

Edit: I forgot to bump the version number 😬 Would that be a minor or patch bump?

@coveralls
Copy link

coveralls commented Jun 27, 2025

Coverage Status

coverage: 94.341%. remained the same
when pulling 105c08c on hannesweisbach:broker
into 71eb3ae on OpenCyphal:master.

This commits adds an implementation of a TCP-broker that observes the zero-byte
frame delimiter of COBS-encoded Cyphal/Serial frames.

This commit addresses OpenCyphal#300

Signed-off-by: Hannes Weisbach <[email protected]>
Signed-off-by: Hannes Weisbach <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants