Releases: jbaumann/H32_Basic
Support for static IP, a veto mechanism for WiFi, and fix for RTC handling
New/Added
Added support for entering a static IP, gateway, subnet and DNS server.
Added support for a veto mechanism that allows an extension to turn off WiFi alltogether.
Changed/Enhancements
None.
Fixed Bugs
The handling of the RTC led to a time lag due to a high number of unnecessary interaction. Andrew Hopper provided a fix that ensures the RTC is no longer slowed down.
Support for the Rev3 Fuel Gauge and changed AHTxx library
New/Added
Added support for the fuel gauge.
Changed/Enhancements
Changed the library for the AHTxx from Adafruit to enjoyneering because of incompatibilities between the Adafruit library and AHT20.
Fixed Bugs
None.
New User Extension and RTC Communication Fix
New/Added
A new user extension for a simple LoRa communication has been added. This can directly be used with an installed LoRa module on the H32, or it can be used as an example to roll your own user extensions (see directory Extensions).
Changed/Enhancements
Added an additional RTC alarm on startup for the edge case of the power dropping too much when turning on WiFi.
Added a check that restarts the ESP if RTC communication cannot be established. This takes care of (mostly theoretical) issues with the I2C communication protocol.
Changed return value of all methods of the Extension class to boolean, signalling success or failure.
Added methods api_call() and api_call_no_wifi() to the Extension class to allow independent sending of data.
Added method veto_backoff() to keep the backoff at the current value. This is needed to signal successful sending of data even if no WiFi connection has been established.
Fixed Bugs
Fixed two bugs in the PCF library, first, setting the month according to UNIX standard instead of the definition used by the PCF chip, second, setting the year according to UNIX standard instead of the definition used by the PCF chip. Now the RTC behaves correctly.
Ensure that the RTC is running correctly by setting the time before setting the alarm.
RTC full reset
New/Added
Nothing.
Changed/Enhancements
Nothing.
Fixed Bugs
Added an explicit reset to the time setting routine. Whenever you now set the time to the current NTP time in the portal mode, the RTC chip is fully reset.
First Public Release
Feature-complete first public release of the H32_Basic firmware