-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SOFTAP_MODE auto-disconnect #506
Comments
Does it automatically reconnect? Is the issue that the connection gives up and stops re-connecting, or is this just a matter of a station leaving and re-joining after about 30 min? |
i think the client reconnect automatically to the wifi. ( when you enable ets_printf, you can see it ). But client need open a new socket connection. |
My first problem that the wifi disconnect/reconnect . It is normal ? |
A design that depends on a wifi connection staying up seems doomed, just not robust. Perhaps explore a design the caches the data on the device and allows it to be pulled or pushed in short exchanges. |
the wifi connection is not reliable even on a local network? To add more detail, the wifi client is less than a meter. esp8266 got dhcp server + 2 listen port (one for command and one for real time data). Only one client is connected. i will do some rework to manage some short disconnect and close the old socket when a new from same ip is created. |
It is probably riddled with bugs, sorry. There is not much we can do about them all, just work around the edges. We have made some good progress with the higher level layers, and there is more we can do. The softap mode appears to have more issues than the station mode. This might mean working with a somewhat flaky wifi layer, but if you design for robustness then it will probably help in other ways too, for example you might have a path to better power management, and be robust to working over longer distances in more congested environments etc. |
Damn , well i will try to do with it . Thank for your help. But maybe wifi binary layer are fixes. We can't add theses binary in official project for license reason. |
I have a problem since a while with the wifi.
When a client connects to the esp8266, after a certain time (approx 30 min (i will do more test about it)), the client is disconnected.
Did I miss an Lwip function to reset a watchdog or a timer? It is a bug of lwip ? i got the same problem before the lwip update.
The text was updated successfully, but these errors were encountered: