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

#260 in Network programming

Download history 8057/week @ 2024-11-30 10291/week @ 2024-12-07 8205/week @ 2024-12-14 2704/week @ 2024-12-21 2971/week @ 2024-12-28 5957/week @ 2025-01-04 8107/week @ 2025-01-11 7603/week @ 2025-01-18 7669/week @ 2025-01-25 7458/week @ 2025-02-01 7955/week @ 2025-02-08 6644/week @ 2025-02-15 7978/week @ 2025-02-22 9047/week @ 2025-03-01 9334/week @ 2025-03-08 8679/week @ 2025-03-15

36,647 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