ttysend - Serial Line Rate Tester (Send)
ttysend [options] [<stdin]
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.
This program does not yet support Windows platforms.
- -f file
- 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.
- -l file
- The serial port file to send data to. The default is /dev/ttyS0.
- -s speed
- 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.
- -t time
- 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.
amp(1), int6kuart(1),
ttyrecv(1)