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.
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
u16prepended length or just using COBs too.