MobiFlight-Connector
MobiFlight-Connector copied to clipboard
provide a mechanism for checking / updating mfmc device configs for known panels
Wrote this down so I dont forget.
Is your feature request related to a problem? Please describe. Community / partner devices can ship a mfproject file and also a .mfmc file for the matching device / pin config, so users can reset a board and restore it to default settings within MobiFlight Connector.
Currently there is no way to check that a given mfmc file is uploaded to the board, for example if the layout/names of devices or pins change afterwards and the mfproj expects updated device names for example. This would mean manually uploading a mfmc by the user.
Describe the solution you'd like I wonder if we could
- store a checksum or a version number in the eeprom,
- have a convention for mfproj file to require a certain version of mfmc layout,
- implement some kind of a check that the config matches the device layout on the board
- offer to update the default config mfmc if it is not up to date