#remote #serial #cross #usb #tokio

app remote_serial

remote connect to serial

2 stable releases

1.0.9 Apr 23, 2021
1.0.7 Apr 16, 2021

#37 in #cross

MIT license

22KB
425 lines

remote uart

Crates.io MIT licensed Build Status Size Crates.io GitHub release (latest by date) GitHub tag (latest by date)

Install

cargo install remote_serial

build with xargo

cargo install xargo
xargo +nightly build --target x86_64-unknown-linux-gnu --release

run

help

$ remote_serial -h
remote_serial 1.0.9

USAGE:
    remote_serial [FLAGS] [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -t, --trace      Trun on trace
    -V, --version    Prints version information

OPTIONS:
    -b, --baud <baud>            Baud rate to use [default: 115200]
    -d, --device <device>        Filter based on name of device
    -o, --output <output>        save serial output to a file
    -c, --password <password>    server password [default: 32485967]
    -p, --port <port>            current server port [default: 6258]
    -s, --server <server>        remote server ip:port

server

remote_serial -d /dev/ttyACM0 # for unix
remote_serial -d COM6 # for windows

client

remote_serial -s ip:port

Dependencies

~13MB
~220K SLoC