The [http://pyserial.sourceforge.net/|py-serial] module is required. This is not provided with the OS/X default python install. After download, to build an install, run "sudo python ./setup.py install" from the Terminal, within the source code directory.

# Catserial

This dumps a serial stream directly to the console. No special handling is enabled for extended characters. WYSIWYG. The first argument is the device file to open. I use this for "printf" style debugging over the TTL serial line.


python ./catserial /dev/tty.usbserial-....

# Slipserial

This reads an OSC-SLIP stream and relays SLIP_END delimited packets to/from the network. Arguments are device file, relay transmit port (optional, default 3145), and relay receive port (optional, default 3146).


python ./slipserial /dev/tty.usbmodem-... [port-out] [port-in]

Measurements indicate that relaying the data through the network stack introduces 4-8 msec of additional latency.