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

#271 in Network programming

Download history 2064/week @ 2024-09-22 2733/week @ 2024-09-29 3834/week @ 2024-10-06 3944/week @ 2024-10-13 6757/week @ 2024-10-20 4488/week @ 2024-10-27 4876/week @ 2024-11-03 6064/week @ 2024-11-10 7364/week @ 2024-11-17 5686/week @ 2024-11-24 8509/week @ 2024-12-01 10095/week @ 2024-12-08 8080/week @ 2024-12-15 2668/week @ 2024-12-22 2946/week @ 2024-12-29 5826/week @ 2025-01-05

19,850 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–13MB
~156K SLoC