Crates.io | z-serial |
lib.rs | z-serial |
version | 0.3.1 |
source | src |
created_at | 2022-08-03 14:19:04.531993 |
updated_at | 2024-12-11 10:09:00.244807 |
description | Zenoh Serial Framing |
homepage | http://zenoh.io |
repository | https://github.com/ZettaScaleLabs/z-serial |
max_upload_size | |
id | 638103 |
size | 83,738 |
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>