Serial Data Transmission

When I send data b/t two computers over a serial line the data arrives but
is really garbled up is there anyway to fix this? Is there a cast or do you
have to use a special read or write function? I am currently using a
straight foward read() and write() which take the fd, buffer, and size.

kweisser@udel.edu
Kevin Weisser

things I’d check

  1. That the serial cable is really working
  2. Correct baudrate and all the termios structure flags ← this is really
    important
  3. If one of your computers is a windows one, make sure your serial
    port settings are consistent with those you specify in ur QNX app

If everything fails go to :
http://www.easysw.com/~mike/serial/serial.html

Hugo

“Kevin Weisser” <kweisser@udel.edu> wrote in message
news:ado3mk$b3p$1@inn.qnx.com

When I send data b/t two computers over a serial line the data arrives but
is really garbled up is there anyway to fix this? Is there a cast or do
you
have to use a special read or write function? I am currently using a
straight foward read() and write() which take the fd, buffer, and size.

kweisser@udel.edu
Kevin Weisser