Skip to content

Question for use in an application... #90

Description

@jadamcrain

Hi @jamesmunns. Loved your talk from RustNL. I'm prototyping a custom protocol for exchanging industrial (battery energy storage) over TCP and TLS.

The "firmware" side of this will run on capable embedded Linux IPCs, e.g.:

https://www.moxa.com/en/products/industrial-computing/arm-based-computers/uc-2200a-series

The first issue I'm looking at is implementing WireTx/WireRx on the host side. I only plan to run this on transports where you get an ordered stream like TCP. I've looked at the serial implementation and for inspiration and see how it uses COBS.

What do you think is the best solution for framing in this situation? I could see just using something like u16 prepended length or just using COBs too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Q2 '25 TriageItems tracked as part of https://github.com/jamesmunns/postcard/issues/241

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions