0.1.0 |
|
---|
#198 in #serial
14KB
255 lines
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