Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSerialPort difficulties
Forum Updated to NodeBB v4.3 + New Features

QSerialPort difficulties

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 624 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • LaurencebL Offline
    LaurencebL Offline
    Laurenceb
    wrote on last edited by
    #1

    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)

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved