Skip to content

ZettaScaleLabs/z-serial

Repository files navigation

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>