Ong Di Yong(deleted)
|
Problem accessing serial ports
|
Ong Di Yong(deleted)
07/21/2013 8:59 PM
post103390
|
Problem accessing serial ports
Hi,
I am trying to read data from the serial ports with QNX6.5.0 installed. I have set the port to have a baud rate of
115200, 8 bits, no parity and with a stop bit of 1. I wrote a shot program just to open the serial port and read from it
(/dev/ser1). Initially, I was able to retrieve the correct number of bytes read. However after a few rounds of reading,
the number of bytes read becomes -1. May I know how can I resolve this problem? Thanks lots.
|
|
|