6 releases

0.3.1 Dec 11, 2024
0.3.0 Dec 10, 2024
0.2.3 Feb 28, 2024
0.2.1 Jan 13, 2023
0.1.0 Aug 3, 2022

#285 in Network programming

Download history 6331/week @ 2024-10-24 3666/week @ 2024-10-31 5799/week @ 2024-11-07 6944/week @ 2024-11-14 7053/week @ 2024-11-21 7092/week @ 2024-11-28 9202/week @ 2024-12-05 9334/week @ 2024-12-12 4640/week @ 2024-12-19 2294/week @ 2024-12-26 5279/week @ 2025-01-02 6989/week @ 2025-01-09 8094/week @ 2025-01-16 7834/week @ 2025-01-23 7658/week @ 2025-01-30 7760/week @ 2025-02-06

33,394 downloads per month
Used in 4 crates (via zenoh-link-serial)

EPL-2.0 OR Apache-2.0

27KB
454 lines

Zenoh Serial

This repo contains the Zenoh Frame format over serial (RS232-like) transports.

Build it

You need rust and Cargo, look on the rust website how to install it.

$ cd ~
$ git clone https://github.com/ZettaScaleLabs/z-serial
$ cd z-serial
$ cargo build --release

How to test it

Open two terminals, on the first one start the echo server:

$ cd ~/z-serial
$ ./target/release/examples/serial-echo <serial device> -s -b <baud rate>
...

On the second one start the client

$ cd ~/z-serial
./target/release/examples/serial-echo <serial device>  -i <send interval> -b <baud rate>

Dependencies

~5–14MB
~157K SLoC