NodeManager icon indicating copy to clipboard operation
NodeManager copied to clipboard

Store NodeManager's version in EEPROM

Open user2684 opened this issue 7 years ago • 3 comments

user2684 avatar Feb 11 '18 15:02 user2684

I'm just curious why a static complied in variable isn't enough ? I'm new to this but just wondered. After all to upgrade you have to recompile anyway.

dudman8 avatar Feb 25 '18 20:02 dudman8

The idea behind this is to use this variable mainly during upgrades. E.g. if in a new version of NodeManager something changes in the way information is stored in the EEPROM, the code should notice it and perform an upgrade. Still a long term change.

user2684 avatar Feb 26 '18 09:02 user2684

Ah like to mark the version of EEprom data format... like a database structure needing upgrading when you also upgrade the software that uses the db. Thanks

dudman8 avatar Feb 26 '18 09:02 dudman8