34 lines
792 B
Markdown
34 lines
792 B
Markdown
# dbc parser skeleton
|
|
|
|
A minimal DBC parser skeleton for the **FrameTap** project.
|
|
|
|
The purpose of this module is to read a DBC file and convert it into a simple internal representation that can later be:
|
|
|
|
- displayed as a tree
|
|
- connected to `Qt Model/View`
|
|
- used for signal selection
|
|
- extended toward runtime CAN frame decoding
|
|
|
|
---
|
|
|
|
## Overview
|
|
|
|
The architecture is intentionally simple:
|
|
|
|
1. `dbc_parser` reads a DBC file
|
|
2. parsed data is stored in `DbcDatabase`
|
|
3. `dbc_tree_builder` converts it into a `TreeNode` hierarchy
|
|
4. the resulting tree can later be adapted to `QAbstractItemModel`
|
|
|
|
This keeps the parser independent from Qt and makes it easier to test and evolve.
|
|
|
|
---
|
|
|
|
## Currently supported
|
|
|
|
### Frame definitions
|
|
|
|
Supported frame lines:
|
|
|
|
```text
|
|
BO_ 256 EngineData: 8 EEC1 |