Skip to content

Version 2.3.0

Compare
Choose a tag to compare
@mairas mairas released this 09 Mar 11:17
· 531 commits to main since this release
8e8d2b1

What's Changed

  • WiFi connection logic improvements by @mairas in #579

This release is all about cleaning and hardening the WiFi connection logic in SensESP.

SensESP WiFi connection logic was a bit fragile and unnecessarily complex. Different connecting code was used depending on whether the WiFI AP was hard-coded or configured via WiFi Manager, and also reconnecting in case of lost WiFi was unreliable. This PR attempts to address those issues.

Major changes:

WiFi Manager configuration portal is only enabled if no previous configuration has been saved. Once SSID and password have been entered and verified to work, they will be used ever after (or at least until the device is reset).
If the WiFi AP is not available or the connection is lost, the device will keep attempting to reconnect until a connection has been established. WiFi Manager never gets launched, and these reconnection attempts are non-blocking (so the device is still operating normally, albeit without network).
WiFi Manager operates still in a blocking fashion, but since it's never launched during normal operation, this is less harmful than before.

Full Changelog: v2.2.1...v2.3.0