Simulated interface now tracks current firmware versions and supports in-sim firmware updates - #33
Draft
peterhollender with Copilot wants to merge 6 commits into
Draft
Simulated interface now tracks current firmware versions and supports in-sim firmware updates#33peterhollender with Copilot wants to merge 6 commits into
peterhollender with Copilot wants to merge 6 commits into
Conversation
Co-authored-by: peterhollender <6217005+peterhollender@users.noreply.github.com>
Co-authored-by: peterhollender <6217005+peterhollender@users.noreply.github.com>
Co-authored-by: peterhollender <6217005+peterhollender@users.noreply.github.com>
Co-authored-by: peterhollender <6217005+peterhollender@users.noreply.github.com>
Co-authored-by: peterhollender <6217005+peterhollender@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update simulated interface to retrieve latest firmware version
Simulated interface now tracks current firmware versions and supports in-sim firmware updates
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The simulator was returning stale hard-coded TX/HV firmware versions, which triggered false update-required warnings in app flows. This change aligns simulator version/reporting behavior with bundled firmware artifacts and enables firmware update paths to mutate simulated device state.
Dynamic firmware defaults (no hard-coded stale versions)
SimulatedTxDeviceandSimulatedHVControllernow default to latest bundled versions fromopenlifu_sdk.util.firmware.fw_vernow initializes from that resolved version.Version override support at construction
SimulatedLIFUInterfaceaccepts:firmware_version(shared default)tx_firmware_versionhv_firmware_versionSimulated firmware update behavior
firmware_version=...→ force explicit targetpackage_file=...→ parse target version from image metadataread_config(...).json_data["fw_ver"]and refreshupdated.Public firmware utility surface
get_firmware_version(path)inopenlifu_sdk.util.firmwareto avoid cross-module private helper use.Focused simulator firmware tests