Add diag console probe (OBD-II mode 01/09 on 0x7DF); wiki: diagnostic polling, two sources

Firmware:
- CANDriver::transmit(): the single sanctioned transmit path (single-shot,
  echoed as CANTX lines, TX_FAILED alert counted); CAN-task warnings now take
  the serial lock
- DiagProbe module: `diag pids` supported-PID bitmap scan, `diag pid <hex>`,
  `diag vin`, `diag ecu`, `diag status`; ISO-TP reassembly with flow control;
  one request in flight, refused for 3 s after any foreign tester frame
- Console dispatch chained via Tunables::setExtraCommandHandler()
- CLAUDE.md and docs/UART_PROTOCOL.md updated

Wiki:
- New page obd-diagnostic-polling (broadcast vs polled, 0x6F1->0x612 addressing,
  Route A generic OBD PID table, Route B, test-day procedure, firmware probe)
- New sources: google-ai-dde7m57-pids (clipping, unverified, 0x612 direction
  contradicted), dwr-335d-torque-pids (thread + raw/BMW 335d.csv decoded)
- Clippings/ folder added to the schema (Obsidian Web Clipper, treated as raw/)
- bmw-m57n-engine, can-bus-integration, open-questions, index, log updated
This commit is contained in:
2026-09-21 19:51:49 +02:00
parent f60bdac268
commit 974082cb3e
21 changed files with 1357 additions and 24 deletions
+3 -1
View File
@@ -114,7 +114,9 @@ cfg reset
`set` values are saved to NVS and pushed to B immediately. `override` is pushed but not saved on either side.
The same tunables are editable on A's touchscreen: Home → swipe right → Driveline → swipe right → **Gauge Tuning** (−/+ per field, enable switches, override sliders).
The same tunables are editable on A's touchscreen: Driveline → swipe right → **Gauge Tuning** (−/+ per field, enable switches, override sliders); the Driveline button returns.
The same console also carries the OBD-II diagnostic probe (`diag pids | pid <hex> | vin | ecu | status | help`), which is unrelated to the link: it transmits on the vehicle CAN bus. See `wiki/pages/obd-diagnostic-polling.md`.
---