Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
973 stars 229 forks source link

E (7051) wifi: esp_wifi_scan_start 1245 wifi not start #376

Open trombose009 opened 3 years ago

trombose009 commented 3 years ago

Hi

in my case, the esp32 can not connect to wifi (anymore). A few months ago, I did not have that problem. Now, if I upload my sketch, everything is fine but just the connection to the wifi sucks. I tried it with two different ESP32 from different manufactures. Everytime the same :(

D: Connect to WiFi E (7051) wifi: esp_wifi_scan_start 1245 wifi not start E (7051) wifi: esp_wifi_disconnect 1153 wifi not start E (7051) wifi: esp_wifi_scan_start 1245 wifi not start D: WiFi Failed! Trying to setup AP with name ESP32Radio and password ESP32Radio. D: IP = 192.168.4.1

trombose009 commented 3 years ago

ok, my workaround is to comment out following lines:

//WiFi.disconnect(true) ; // After restart the router could //WiFi.softAPdisconnect(true) ; // still keep the old connection

after doing that, It connects tio the wifi without throwing that error