Details
-
Task
-
Resolution: Done
-
P2: Important
-
6.3.0
-
21
-
6a306d279 (dev)
-
Foundation Sprint 65, Foundation Sprint 66, Foundation Sprint 67, Foundation Sprint 68, Foundation Sprint 69, Foundation Sprint 70, Foundation Sprint 71
Description
Currently Qt CAN Bus API covers all aspects of connectivity and handling packets.
Users still need a support for a comfortable parsing of the payload data.
One of the most popular data formats is DBC. DBC is a format specification which describes how the payload data on the bus can be mapped to various data fields. In a simplified form, it is a kind of format for name-value pairs.
It would be helpful to have a component which would be able to take a description of a name-value pair data stream as input, and use it to automatically convert this input to value-types in Qt, for example a QMap or a QJsonArray, and create names mapped to named used the name-value pairs. There is an internal prototype once made for a customer request for this which this can base on. Morevoer, several other protocols mentioned in the epic Additional CAN Protocols
can be handled in a similar form, if we would request a user to write a name-value pair list for a given usecase. More information about DBC can be found here: https://www.csselectronics.com/pages/can-dbc-file-database-intro
Other protocols with similar context:
Attachments
Issue Links
- is required for
-
QTBUG-107075 Implement DBC file parser
-
- Closed
-
- relates to
-
QTBUG-59441 Add additional CAN bus protocols (on top of generic implementation)
-
- Open
-
For Gerrit Dashboard: QTBUG-98910 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
432159,1 | WIP: Long live QDbcFileParser | dev | qt/qtserialbus | Status: ABANDONED | -2 | 0 |
432498,28 | Introduce value classes for generic CAN bus parser | dev | qt/qtserialbus | Status: MERGED | +2 | 0 |
433018,40 | Long live QCanFrameProcessor | dev | qt/qtserialbus | Status: MERGED | +2 | 0 |
443783,11 | QCanFrameProcessor: update BE data handling | dev | qt/qtserialbus | Status: MERGED | +2 | 0 |
444469,2 | QCanFrameProcessor: rename errorDescription() -> errorString() | dev | qt/qtserialbus | Status: MERGED | +2 | 0 |
446016,3 | Extend CAN frame processor classes documentation and mark them experimental | dev | qt/qtserialbus | Status: MERGED | +2 | 0 |