Software Distribution and Management Over the Air
Updated the root certificate used in some of the examples. Due to human error, the certificate in the previous release candidate was stored in the wrong format.
THIS ONLY AFFECTS THE EXAMPLES USING SPIFFS! /data/cert/iasRootCa.cer
It seems we are getting closer to a final release of 2.1.0
Improvements
Additions
Updated examples #178 #179 #183 Multiple small changes to make the examples more in line with the last library updates. (ntp time, callbacks, latest root cert etc.)
New loader sketch Added the DirectLoader sketch for adding devices to IOTAppStory.com
Breaking #180 #181 The EEPROM layout used by the addField() function has slightly changed. This was wrong all along! And caused issues for developers adding more fields later on. This "Fix" will break backwards compatibility with your previous stored fields. So we made the eepFieldsConvertOldToNew() function to help you convert the old to the new EEPROM layout.
You need to run this in the onFirstBoot callback. And no worries! It will only run if it detects the old EEPROM layout.
IAS.onFirstBoot( { IAS.eepFieldsConvertOldToNew(); });
If you need to / want to keep running the "old style" you can change this in the config.h file: #define EEPROM_STORAGE_STYLE EEP_NEW // EEP_OLD / EEP_NEW
Bugfixes
Update
Additions
Improved
Breaking Set default for HTTPS_8266_TYPE to CERTIFICATE #147 In previous releases the default was FINGERPRINT This means you will have to add an certificate to existing projects. This can be done in config mode. Or by sending an OTA spiffs update with the certificate in the "certs" folder before updating the sketch to RC3.
Bugfixes
Other changes
The above changes break backwards compatibility with previously stored values in EEPROM. (WiFi, device registration, added fields....) If you do not mind re adding these just update. Otherwise have a look at the libraryUpgrader sketch mentioned below.
FNGPRINT & SPIFFS fixes #119
We have completely rewritten the OTA update portion of the library and are ready to update a whole lot more devices in the future. In this release we start supporting Nextion displays. And expect to support the Arduino MKR samd based boards from 2.2.0
Small updates & fixes