Unsolved QSerialPort difficulties
-
Hi, I am developing an application to plot data recorded using a datalogging system and streamed over bluetooth. The full code is here
https://github.com/Laurenceb/Display_gui
I've never worked on a c++ project before, so some of the code is somewhat poor.
Anyway, my problem is with QSerialPort, I'm getting error 9 (I/O error) after a few seconds. I've managed to record what happens before then using a logic analyser.https://ibin.co/2pWb17j8DhRe.png
The bottom trace shows the transmitted packets, shortly following the point when the connection is made they are regular at 300ms intervals, they then become erratic leading up the the point when the error occurs. I've timestamped the write operations to the port and they are regular up to the point when the error occurs.
Has anyone got any ideas what could be causing my problems? (this is an rfcomm device on linux)
-
I am not a telepathist, but if you use Ubuntu, then try to update a kernel, see:
- https://bugreports.qt.io/browse/QTBUG-48499
- https://bugreports.qt.io/browse/QTBUG-48304
- https://bugreports.qt.io/browse/QTBUG-48561
- https://bugreports.qt.io/browse/QTBUG-49296
and etc.