readyRead() signal is working strange
Unsolved
Qt for MCUs
-
-
You need to make sure that your main thread is idle when the signal is triggered.
Firstly, exclude qt lib version bugs.
Then, peel off serial port read and write code, and you should decouple code.
In general, for such questions can only provide experience and possibilities. The rest is still have to rely on yourself. -
I have just tested a simple terminal with terminal 1.9b via com0com - it worked in both directions on my work, and....
It is working the same strange way on my personal PC! I can simply send bytes via my QT software and I cannot receive anything via it until I send a new parcel again.
So it is something on the PC... -
@IRBaboon If your PC have no obvious lagging, my issue is an error direction. Here are some ideas you can try:
- read help doc seriously or test one other poeple's credible demo on your devie, is it possible to call it incorrectly?(for serial device, It is difficult for others to run your demo)
- try the lastest verion of QT