Skip to content

feat: add LIN support to trace viewer and replay config UI#371

Open
lixiaoxie wants to merge 5 commits into
pr/simulate-linfrom
pr/lin-trace-ui
Open

feat: add LIN support to trace viewer and replay config UI#371
lixiaoxie wants to merge 5 commits into
pr/simulate-linfrom
pr/lin-trace-ui

Conversation

@lixiaoxie

Copy link
Copy Markdown
Collaborator

Add LIN frame support in trace viewer and replay configuration.

  • Add LIN frame handling in trace file IPC handler
  • Add LIN channel mapping in trace viewer UI
  • Add LIN device options in replay config
  • Add LDF signal decoding in detail panel
  • Add BLF LIN parsing tests (LINSystem_1.blf fixture)
  • Add LIN replay parsing tests (LinTest.asc fixture)
  • Update docs for LIN and BLF support

Stack: 3/4 — depends on #370

@lixiaoxie

Copy link
Copy Markdown
Collaborator Author

概述

在 Trace 查看器和 Replay 配置中添加 LIN 支持。

改动点

  • Trace 文件 IPC 处理器增加 LIN 帧处理
  • Trace 查看器 UI 增加 LIN 通道映射
  • Replay 配置增加 LIN 设备选项
  • Detail 面板增加 LDF 信号解码
  • 新增 BLF LIN 解析测试(LINSystem_1.blf,6496 帧)
  • 新增 LIN Replay 解析测试(LinTest.asc)
  • 更新相关文档

堆叠 PR:3/4,依赖 #370

lixiaoxie added 5 commits May 21, 2026 09:30
- Map LIN replay frames to LogData with idType='LIN' in ipc-trace-file-open
- Support LIN channel display and method='linBase'
- Add Bus column to trace viewer (CAN N / Lin N)
- Add LIN signal decoding in trace detail panel
- Add LIN device/channel support in channel-device mapping dialog
- Add Bus Type column and bus-type-filtered device dropdown in replayConfig
- Fix Bus/Channel/Device display consistency between replay and trace modes
- Fix LDF parser OPTION/SUBRULE Chevrotain bug
- Fix LDF node initial_NAD validation (required: false)
- Fix database dropdown overflow with max-height
- Add busType i18n translation key
- Add LinTest.asc test fixture with LIN message and error lines
- Add LIN-specific test cases for ASC reader parsing
- Extend existing replay tests for LIN frame support
- Update replay docs: support ASC+BLF, CAN+LIN, online+offline modes
- Update trace docs: add Bus column, update channel mapping for CAN/LIN
- Update both English and Chinese versions
- Add LINSystem_1.blf test fixture (6496 LIN frames)
- Add 4 BLF LIN test cases: frame reading, structure validation,
  timestamp ordering, frame ID range validation
- Fix DecodedSignal type mismatch (number → String conversion)
- Total: 15 tests all passing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant