Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
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.