Crates.io | z-serial |
lib.rs | z-serial |
version | 0.2.3 |
source | src |
created_at | 2022-08-03 14:19:04.531993 |
updated_at | 2024-02-28 19:38:23.688246 |
description | Zenoh Serial Framing |
homepage | http://zenoh.io |
repository | https://github.com/ZettaScaleLabs/z-serial |
max_upload_size | |
id | 638103 |
size | 71,022 |
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>