Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Problem accessing serial ports: (1 Item)
   
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.