This repo contains the Zenoh Frame format over serial (RS232-like) transports.
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
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>