ttysend - Serial Line Rate Tester (Send)
Contents
Credits
Nathaniel Houghton
open-plc-utils-0.0.3 November 2013 ttysend(1)
Description
Send data to a serial device. The primary purpose of this program is to send data over a serial port
that can then be received with the ttyrecv utility.
The ttysend program exits when either one of the following conditions are met:
1. The file specified on the command line (see -f) is sent in its entirety.
2. The send time specified on the command line (see -t) has elapsed.
This program is part of the Qualcomm Atheros Powerline Toolkit. See the AMP man page for an overview and
installation instructions.
Examples
None.
Name
ttysend - Serial Line Rate Tester (Send)
Options
-ffile
The file to send. If this option is not specified, the values 0x00 to 0xFF are sent in a loop.
Instead of a filename, a '-' may be specified. This is similar to the tar utility, and instructs
ttysend to read from standard input.
-lfile
The serial port file to send data to. The default is /dev/ttyS0.
-sspeed
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.
-ttime
Transmit for a maximum of time seconds. The default is 15 seconds.
-?,--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.
See Also
amp(1), int6kuart(1), ttyrecv(1)
Synopsis
ttysend [options] [<stdin]

Comments
This program does not yet support Windows platforms.