Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.8
-
a88ecda86028228174a1ec4e53df235ebac33dcc (qt/qtserialbus/dev)
Description
In case of bus errors, e.g. bitrate conflicts, the CAN node generating bus errors goes through different error levels:
- error active - controller is full working
- bus light
- bus heavy
- bus off - controller does not participate on bus communication
Some CAN controllers automatically recover from bus off, some can be force to (SocketCAN provides an configuration to recover e.g. after 100 milliseconds).
But for some, a CAN controller hardware reset has to be forced by the backend API.
For the backends providing such functions, a QCanBusDevice method should be added, e.g. hardwareReset();
Attachments
Issue Links
- relates to
-
QTBUG-66143 Provide a means to flush the buffered frames in a QCanBusDevice
-
- Closed
-
For Gerrit Dashboard: QTBUG-54943 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
182201,12 | Add QCanBusDevice::resetController() for CAN controller reset | dev | qt/qtserialbus | Status: MERGED | -2 | 0 |