[CentOS] For you old-timers, an RS232 question about data rate confirmation.

Tue Sep 1 19:50:09 UTC 2009
Stephen Harris <lists at spuddy.org>

On Tue, Sep 01, 2009 at 03:38:23PM -0400, Barry L. Kline wrote:
> the end of the device.  I am able to confirm that it works fine with
> minicom, but I'd like to be able to have a program read/write the device
> with a largish file and give me a throughput rating.

Since you have loopback adapter connected you need to read/write from
the device at the same time.  So...  first attempt:
  cat </dev/ttyr00 > /dev/null &
  time cat large_file > /dev/ttyr00

Been a long time since I played with serial comms, but that'd be my first
attempt.

Second attempt would be to make a full serial connection to another machine
(port on the same machine?) and use "ckermit" to transfer a file.

-- 

rgds
Stephen