PDA

View Full Version : QExtSerialPort



baray98
9th September 2008, 20:35
background:
OS = windows

problem:

I was trying to connect a device thats spits out some data into my PC's com port, now I am wondering how can i detect if the data has arrived. I would like to emit like a readyRead signal everytime i sensed a data in my com port.

I was trying to look for this kinda scheme in QextSerialPort but it seems that they did not re-implement the original readyRead() signal ..

If you guys can help with "the detecting the packet of data on my COM port" problem I will really appreciate it.

baray98

wysota
9th September 2008, 20:46
Use a timer and periodically check bytesAvailable() for positive values.