wifi disconnect issue possible reason
Posted: Tue Dec 28, 2021 10:42 pm
If this has been covered somewhere else in the forum please let me know but it seems the forum works about as good as the ESP32s that I've been experimenting with. As is "close but no cigar". I've tried to use the ESP32 in numerous projects now and they all come to a screeching halt due to the wifi constantly dropping on the ESP32. I have boards from 5 different manufacturers and ever one of them does this. I tried again last night to implement the simple web server example on the latest board that I got in and in 2 hours the board had disconnected and tried to reconnect 14 times. There was no pattern to when it happened. It would stay connected for anywhere from 30 seconds up to just over 30 minutes then drop off again and try to reconnect. The reason codes given by the ESP32 were 7 and 203. 203 was not a lot of help based on the documentation. Looking at the router logs I was seeing multiple requests to the router along with matching "init" messages from the ESP32 in the serial monitor. The router kept acknowledging the ESP32 requests but the ESP32 didn't seem to realize it. I've never been able to determine what is going on so out of frustration (desperation?) I tried something that has had some surprising results. I have two routers running DD-WRT. One of them is a Linksys WRT3200ACM and the other is a
Linksys WRT54G/GL/GS. I changed the SSID and password on the ESP32 to connect to the WRT54G and it has been running now for over 10 hours without a single dropout and the webserver on the ESP32 responds every single time which it didn't do when it was connected to the WRT3200ACM. The 54G, naturally due to it's age, does not support N only B and G. This leads me to believe that Espressif may have an issue with their libraries for the handling of N since it is documented as supporting B/G/N. I plan to run other experiments if I can find some other routers that support N to see what happens. At least for now I have a stable and dependable connection for my ESP32 projects. Just need to figure out how to get N to work.
If anyone else has encountered this were you able to get it working and if so. how. If this is covered somewhere else in the forums could you provide the URL to the post since I can't get the site to do a response to an advanced search using the terms "wifi" and "disconnect".
Like I said earlier, I tried to search the forums but kept getting a '500' error after the site sat there for quite a while.
Linksys WRT54G/GL/GS. I changed the SSID and password on the ESP32 to connect to the WRT54G and it has been running now for over 10 hours without a single dropout and the webserver on the ESP32 responds every single time which it didn't do when it was connected to the WRT3200ACM. The 54G, naturally due to it's age, does not support N only B and G. This leads me to believe that Espressif may have an issue with their libraries for the handling of N since it is documented as supporting B/G/N. I plan to run other experiments if I can find some other routers that support N to see what happens. At least for now I have a stable and dependable connection for my ESP32 projects. Just need to figure out how to get N to work.
If anyone else has encountered this were you able to get it working and if so. how. If this is covered somewhere else in the forums could you provide the URL to the post since I can't get the site to do a response to an advanced search using the terms "wifi" and "disconnect".
Like I said earlier, I tried to search the forums but kept getting a '500' error after the site sat there for quite a while.