You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3a933de
Browse filesBrowse the repository at this point in the historyBrowse files
feat(diagnostic): log read-backs around regen, Custom and climate writes
The parked on-vehicle tests for RI-006, CR-040 and CR-041 need a read before
and after each write, and today the log carries only the write and its
boolean result, so a test leaves no evidence of what the car did with it.
ReadBack logs [READBACK] INFO lines (EV_HW, EV_CUSTOM, EV_PROFILE tags) from
the existing readers: mapped regen level, CustomDrive positions and every
climate reader. Reads only. No write, value, order, delay or lock changes.
In ProfileApplier the reads sit before a block's first write and after its
last one, never between two writes; no wait was added there, so the
"after" lines are taken right after the existing final step. The dashboard
waits 500 ms (regen) and 300 ms (Custom) after its single write, off the UI.
A null or throwing read becomes text, and a call on the main thread (the
deferred Katman4 path) logs that it skipped.
EVHardware publishes no one-pedal reader and getRegenLevel() maps unknown
codes to MEDIUM; both are stated in the log line rather than worked around
in app code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ All notable changes to this project are documented here. Format follows
11
11
-**Custom drive mode settings (CR-040).** When a profile selects Custom, the editor offers power response (Eco / Normal / Sport), steering and brake-pedal feel (Comfort / Normal / Sport). They are written after the drive mode, only when the profile's mode is Custom, 150 ms apart and behind the standstill gate. On the dashboard, tapping Custom while the car is already in Custom opens the same three settings live. Available on SWI68, SWI165, SWI69, SWI131 and SWI132; not on SWI133. The value scales beyond the read/write codes recorded in RI-006 still need an on-vehicle confirmation.
12
12
-**Climate in profiles (CR-041).** An optional climate block on the comfort tab, unchecked by default: power, setpoint, AUTO, fan, A/C, recirculation and the two defrosters, the last three with an "Unchanged" choice. Climate off writes nothing else, and the fan is written only in manual mode, so a profile never knocks the unit out of AUTO. Climate is a comfort write, like seat heating, and is not speed-gated. Not offered on SWI133, which has no climate write path.
13
13
- Profiles saved before this release configure neither feature and behave exactly as before.
14
+
-**Read-back logging for the parked on-vehicle tests (RI-006, CR-040, CR-041).**`[READBACK]` INFO lines in the log console and diagnostic export record the car's state before and after the dashboard's regen and Custom writes (500 ms and 300 ms after), around a profile's drive/regen block, its Custom block and its climate plan. Reads only: no write, value, order, delay or lock changed, and a failed read is logged as text. One-pedal has no reader in EVHardware, so it is logged as such.
0 commit comments