DOKK / manpages / debian 12 / plc-utils-extra / ttycat.1.en
ttycat(1) Qualcomm Atheros Open Powerline Toolkit ttycat(1)

ttycat - Serial Line Output Utility

ttycat [options] [file] [file] [>stdout]

ttycat [options] [<stdin] [>stdout]

Copy one or more files to a serial device. This program is similar to traditional cat utility but expects stdout to be a serial tty device. It will configure stdout before writing and will restore the original configuration afterwards. It can be used to send data to the local Atheros UART-enabled powerline device. If the remote powerline device is not UART-enabled, use program edru to capture and display arriving at the remote host and program edsu to send files in the opposite direction.

This program is part of the Qualcomm Atheros Powerline Toolkit. See the AMP man page for an overview and installation instructions.

This program only supports the Linux and MacOSX platforms, at present.

The serial baud rate. Supported baud rates are 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 500000 and 921600.

-?,--help
Print program help summary on stdout. This option takes precedence over other options on the command line.

-?,--version
Print program version information on stdout. This option takes precedence over other options on the command line. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of the Linux Toolkit you are using.

The name of an input file. No assumptions are made about the file based on the filename or extension. Input files are not modified.

The name of a serial output device. A error will occur if the device is not a true tty device according as determined by the isatty function. Depending on the amount of input data and the baud rate, serial output may take several seconds or several minutes.

The following command copies files abc.txt and def.bin to stdout which must be an active serial device or an error will occur.


# ttycat abc.txt def.bin > /dev/ttyUSB1

amp(1), edru(1), edsu(1), int6kuart(1),


Charles Maier

November 2013 open-plc-utils-0.0.3