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

libraryUpgrader & addField(...) enhancement #124

Merged
merged 2 commits into from
Jun 8, 2019
Merged

libraryUpgrader & addField(...) enhancement #124

merged 2 commits into from
Jun 8, 2019

Conversation

Onno-Dirkzwager
Copy link
Collaborator

No description provided.

This sketch is an example of how you can upgrade from the previous library(2.0.X) to the new 2.1.0 library EEPROM layout. If successful all the previous settings like Wifi, IAS device registration and added fields get "rewritten" to the new EEPROM layout. 

You can use this sketch as an intermediate update or add this code to your next firmware update. It's wise to test this locally first! Make sure to include the upgrade helper file in your sketch folder. And do NOT use presets!
Added code that overwrites previous fieldLabel, type and length when changed. Before the code was only looking at the field value...
@Onno-Dirkzwager Onno-Dirkzwager merged commit a8327cc into iotappstory:master Jun 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant