Closed kalindud closed 4 years ago
Sounds like it's failing to write the configuration to flash...that "No configuration found" error comes from the wifi_config_station_connect() function when it fails to retrieve the SSID/Password from the flash system.. that's why the LED example works - it's not using wifi_config to store/retrieve configuration from flash...
This is very odd. What exact device are you using? Which firmware and how have you built? Since wifi_config uses sysparams to store config and sysparams detect flash size in runtime, I suspect that sysparams properly initialized it's sectors, but then some other code (esp-homekit?) have erased them and now sysparams do not work.
You are correct..... It was a problem with sys params. I was using a custom firmware for the device. and it worked after I erased the device completely before flashing the firmware.. Thanks for the support!!!!
HI, Im using a ESP-12F Module to try out a Sonoff_basic device. When the device boots, it creates the AP for config. But as soon as I enter the password for the SSID, it says:
!!! wifi_config: No configuration found
and continues to scan for networks, and opens the AP again.
EDIT: The output says "no buf for probe, ie len 0" when trying to join the AP.
Why is this happening? I tried flashing the LED.C to the same device (Which has hard-coded SSID and PASSWORD), and it works fine.
Thank you!