Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MD5 checksum-based firmware updates #1663

Closed
mondalaci opened this issue Jan 2, 2022 · 0 comments · Fixed by #2079
Closed

MD5 checksum-based firmware updates #1663

mondalaci opened this issue Jan 2, 2022 · 0 comments · Fixed by #2079

Comments

@mondalaci
Copy link
Member

This is the Agent-side specification of checksum-based firmware updates. See the firmware-side specification.

Agent will be able to query two kinds of module checksums:

  • The actual checksums from the modules themselves
  • The bundled checksums. For any given firmware version these checksums are the same as the actual checksums, but stored in the master device (right keyboard half).

When displaying the version numbers on the firmware page, display the master version number as it is.

For the slave version numbers:

  • If the slave version number equals the master version number, display it as it is.
  • If the slave version number doesn't equal the master version number:
    • If the actual checksum and the bundled checksum don't match, display the slave firmware version.
    • If the actual checksum and the bundled checksum match, display the master version, and underline the version number with gray dots and show the following tooltip text when hovering over it: "This module runs firmware ${actualVersionNumber}, but based on its checksum, it's the same as firmware ${bundledModuleVersion}, hence it hasn't been updated. Unnecessary firmware updates might brick your UHK and modules in very rare circumstances, and make the firmware update process longer, so Agent only updates firmwares when justified."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant