-->
Page 1 of 1

Poor internet connection after a disconnect?

PostPosted: Wed Apr 05, 2017 10:06 am
by czar1na
I have a raspberry pi zero with an esp 8266 wifi module attached for internet. I followed this guide: http://hackaday.com/2015/12/09/raspberr ... ough-sdio/ I currently have the device connected to the wifi from my house's router.

If I try turning the router off, wait a bit, then turn the router back on, I'd like the ESP8266 to automatically re-establish connection.

To my surprise, without any special configuration, my ESP does seem to automatically re-establish a connection. However, this internet connection that the ESP re-establishes is very weak and unreliable, with very slow upload/download speeds compared to prior to the disconnect.

What should I do? I see a lot of posts about ESP8266/Arduino, but I am on a Pi, running the latest Debian (Raspbian Jessie).

Re: Poor internet connection after a disconnect?

PostPosted: Fri Apr 07, 2017 6:52 am
by mforcen
Maybe there is a problem with the memory allocation at ESP program. Look at the callback reconnect function of the source.
Otherwise, you could force Raspberry to send a reset to ESP when disconnected (in order to get a good connection again). If that doesn't work, it's a problem of thr rPi driver.