You don't need a separate thread. You can check the port in the main thread. Timers are a bit heavy, so it might be better to use timerEvent() if you experience efficiency problems.
You don't need a separate thread. You can check the port in the main thread. Timers are a bit heavy, so it might be better to use timerEvent() if you experience efficiency problems.
It is possible to do only by polling based on timer and check if data available.
Or you can make reasonable SIGNAL api yourself to hide polling
Hi,
I know that I can use a Timer but I want to know if using QextSerialPort 1.2 Alpha, the signal "readyRead" works !!!
If it works I don't need to use a Timer or a Thread, because it will call the properly SLOT when data arrives.
So, anyone have tested it?
Thanks,
Òscar Llarch i Galán
I didn't manage to get it to work properly... Maybe that's why it's alpha![]()
Bookmarks