esp8266-react
esp8266-react copied to clipboard
assert lengths for AP factory settings
This adds a bit of protection against improper factory AP settings.
The issue is that even when these settings are invalid, they are still stored into flash memory. This means that the access point will not be visible until I wipe the flash clean.
It took me a few hours to debug why the software AP just won't come up... Hope this commit can spare others from jumping into the same hole.