App 2.33.0: set the drive mode from Settings, only in P at a standstill

The owner lifted the read-only rule for the drive mode alone. Settings
has Eco, Normal, Sport, Snow and Custom; the lit button is what the car
reports. A tap reads gear and speed fresh and writes only in P at 0 km/h
(DriveModeWrite, unit-tested; unreadable is a refusal), through a CPM-only
write behind EVHardware's standstill gate, then reads the mode back and
says what the car reports. The wide layout's charging price joined the
battery card so the page still fits. Not tried on the car.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LhzAVaUyqcw5PkGjz4mWW6
This commit is contained in:
2026-10-25 20:02:53 +01:00
co-authored by Claude Opus 5.5
parent 703bdfd2a3
commit ce2ebd7f58
15 changed files with 268 additions and 12 deletions
+16
View File
@@ -302,6 +302,22 @@
<!-- Call log -->
<string name="label_call_log">Recent uploads</string>
<string name="label_drive_mode">DRIVE MODE</string>
<string name="drive_mode_eco">Eco</string>
<string name="drive_mode_normal">Normal</string>
<string name="drive_mode_sport">Sport</string>
<string name="drive_mode_snow">Snow</string>
<string name="drive_mode_custom">Custom</string>
<string name="drive_mode_hint">Changes only in P, at a standstill</string>
<string name="drive_mode_setting">Setting %1$s…</string>
<string name="drive_mode_applied">%1$s set: the car reports it now.</string>
<string name="drive_mode_not_applied">%1$s not applied: the car still reports %2$s.</string>
<string name="drive_mode_unread_back">%1$s sent, but the car\'s mode could not be read back.</string>
<string name="drive_mode_write_failed">%1$s not set: the car did not accept the change.</string>
<string name="drive_mode_not_in_p">Not changed: shift to P first.</string>
<string name="drive_mode_moving">Not changed: only at a standstill.</string>
<string name="drive_mode_unreadable">Not changed: speed or gear unreadable.</string>
<string name="drive_mode_unknown">an unknown mode (%1$s)</string>
<string name="label_signal_recorder">Signal recorder</string>
<string name="signal_recorder_hint">Records every value the head unit offers for 3 minutes, plus the steering-wheel keys it reports, and lists what changed, the rarest first. To find a signal: start it, note the times you switch the feature on and off or change it, and look for the values that changed then. With a USB stick plugged in, the whole recording is saved on it too (Android/data/…/files).</string>
<string name="btn_signal_record">Record 3 minutes</string>