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
28,298 downloads per month
Used in 4 crates
(via zenoh-link-serial)
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