|
Cannot access serial port in QNX6.5.0
|
07/21/2013 9:16 PM
post103391
|
Cannot access serial port in QNX6.5.0
I am trying to read data from a serial port in QNX6.5.0. The port setting is as follows: - Baud rate of 115200 - 8 bits
- No parity - 1 stop bit
Initially I am able to retrieve the correct number of bytes from the port. However, after a few rounds of reading, I am
no longer able to do so. The program gives me -1 as the number of bytes read. My program is just a simple open file (/
dev/ser1) and read function. May I know does anyone face this problem before? Thanks
Regards,
|
|
|