#serial #devices #read #node #from-write #spipe

yanked serial_pipe

SerialPipe is a simple program that can be used to read from/write to a serial device node

0.1.0 Feb 16, 2022

#198 in #serial

BSD-2-Clause OR MIT

14KB
255 lines

License BSD-2-Clause License MIT AppVeyor CI docs.rs crates.io Download numbers dependency status

SerialPipe

Welcome to SerialPipe 🎉

SerialPipe is a simple program that can be used to read from/write to a serial device node.

Example

# Dump /dev/tty.usbmodem21201 @115200 to stdout
spipe /dev/tty.usbmodem21201

# Write "Testolope" to /dev/tty.usbmodem21201 @115200 and dump /dev/tty.usbmodem21201 @115200 to stdout
echo "Testolope" | spipe /dev/tty.usbmodem21201

# Dump /dev/tty.usbmodem21201 @9600 to stdout
spipe /dev/tty.usbmodem666 9600

Usage

spipe path-to-device-node [baudrate]

Dependencies

~2.6–4MB
~74K SLoC