About Screen
My favourite screen to show in the car :)
Version Info
The about screen reports some version information:
AboutLabel("HMI: ${configurationStorage.versionConfig[HmiVersion.hmiHash]}")
AboutLabel("OS : ${configurationStorage.versionConfig[HmiVersion.sdHash]}")
AboutLabel("Firmware : ${
configurationStorage
.fwVersionAsFlow()
.collectAsState(
initial = configurationStorage
.versionConfig[HmiVersion.fwHash]
).value
}")
- HMI: The git hash of the
e39-rpi
project - OS: The git hash of the system image
- Firmware: The hash of the Pi Pico firmware. It’s fetched from the pico itself at run-time. The Pico stores the hash as a string in its configuration object. When the HMI about screen opens, it sends a ConfigRequest, which then gets a reply from the Pico, which updates the value seen here.