Can't connect WiFi after restart
Re: Can't connect WiFi after restart
I'm not sure what you mean... You can't use ADC and Wifi at the same time. You can certainly use the GPIO pins you list (some need a specific value at boot).
Re: Can't connect WiFi after restart
Any real solution or workaround for this issue?
Any details on why it happens?
Any ideas on what GPIO pin may affect the WiFi connection?
Any details on why it happens?
Any ideas on what GPIO pin may affect the WiFi connection?
Re: Can't connect WiFi after restart
Sorry, my previous comment was imprecise: you cannot use ADC2 at the same time as Wifi. You can use ADC1. This is a limitation of the ESP-IDF Wifi code: ADC2 gets used internally for Wifi calibration type of purposes, see https://docs.espressif.com/projects/esp ... s/adc.html
Re: Can't connect WiFi after restart
I just had the same problem when trying to use the Async MQTT client.
When connecting to the Wifi for the first time manually in boot.py it worked fine, but when the MQTT client was trying to
reconnect to a broker that had been gone I got the error
I found the problem after 30 minutes that I will never get back:
when copy-pasting the Wifi SSID I pasted it as Wifi password, too.
When connecting to the Wifi for the first time manually in boot.py it worked fine, but when the MQTT client was trying to
reconnect to a broker that had been gone I got the error
Code: Select all
wifi: STA_DISCONNECTED, reason:15 (4WAY_HANDSHAKE_TIMEOUT)
wifi: STA_DISCONNECTED, reason:205 (CONNECTION_FAIL)
when copy-pasting the Wifi SSID I pasted it as Wifi password, too.