6 releases

new 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

#270 in Network programming

Download history 1209/week @ 2024-08-21 1116/week @ 2024-08-28 1044/week @ 2024-09-04 1669/week @ 2024-09-11 1850/week @ 2024-09-18 2610/week @ 2024-09-25 2689/week @ 2024-10-02 4146/week @ 2024-10-09 4899/week @ 2024-10-16 6344/week @ 2024-10-23 3677/week @ 2024-10-30 5654/week @ 2024-11-06 6531/week @ 2024-11-13 7425/week @ 2024-11-20 6568/week @ 2024-11-27 6722/week @ 2024-12-04

28,298 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–17MB
~159K SLoC