0.1.0 |
|
---|
#208 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.5–8.5MB
~75K SLoC