Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70766

Allow reading the CAN bus status from a CAN bus device

    XMLWordPrintable

Details

    • All
    • f83587a9978bd212d7cd64a8d68330a8b97572db (qt/qtserialbus/dev)

    Description

      The CAN bus status has four main levels:

      • Error active (fully functional)
      • Error warning
      • Error passive (no longer sending)
      • Bus off (no longer on bus)

      One way to get bus status changes is by using the status frames, but sometimes it's easier to just query the current bus status from the backend.

      Adding this function will most likely require adding a virtual function QCanBusDevice::busStatus() and is therefore not binary compatible so would have to wait for Qt6.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              aha_1980 André Hartmann
              aha_1980 André Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes