maximkulkin / esp-wifi-config

Library to bootstrap WiFi-enabled accessories WiFi config
MIT License
54 stars 30 forks source link

Password is required, now password causes a crash #1

Closed renssies closed 6 years ago

renssies commented 6 years ago

Currently the code has no protection against not entering a password. for wifi_config_init. But having no password will cause the code to crash.

maximkulkin commented 6 years ago

Is it still a thing or solution was to erase flash?

renssies commented 6 years ago

No this is still a thing, even if you erase flash. It crashes on line 495.

maximkulkin commented 6 years ago

I will check that. As a workaround I suggest you use a password.

renssies commented 6 years ago

I did test it with a password and that does work

maximkulkin commented 6 years ago

Fixed compilation issues and tested passwordless setup. Also, you can find an example of using this lib in esp-homekit-demo repository.