-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
2.4.0 will not automatically reconnect #4161
Comments
i noticed it doesnt reconnect as well, have to call wifi begin again or reboot ESP.. didnt have this issue before 2.4 |
Would you agree this is duplicate of #4101 ? |
Thanks for really fast response.
Yes, I agree this appears to be the same issue.
Unfortunately I do not understand how to use the git versions, I can only
get the stable versions to work via the Arduino IDE on my macOS system. I
found the directions at https://github.com/esp8266/Arduino#using-git-version
but it is unclear what is meant by "Go to Arduino directory". I tried
following the remaining steps using these *hardware* directories:
- /Applications/Arduino.app/Contents/Java/hardware
- ~/Library//Arduino15/packages/esp8266/hardware
but if I use either of these the IDE no longer lists any esp8266 boards
after restarting. Sorry.
…On Sun, Jan 14, 2018 at 3:52 PM, david gauchard ***@***.***> wrote:
Would you agree this is duplicate of #4101
<#4101> ?
If so, try latest git master version of core.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4161 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALf8ZNIYTgEQmL1zCMI_bH_B9bhy0wztks5tKoVAgaJpZM4RdU2o>
.
|
You can also try and use lwip v1.4 in Tools>Menu instead. Sorry I forgot to mention that as in #4166. |
Solved. See 4166. Many thanks. |
https://www.arduino.cc/en/Reference/WiFiStatus
Saludos |
The following sketch would automatically reconnect using 2.3.0 but in 2.4.0 it never does. To test:
Thank you.
`
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <SPI.h>
#include <ESP8266WiFi.h>
#include <WiFiServer.h>
#include <WiFiClient.h>
#include <WiFiUdp.h>
char ssid[] = "xxx";
char pw[] = "yyy";
void setup()
{
Serial.begin(115200);
}
void loop()
{
prWiFiStatus(WiFi.status());
}
void prWiFiStatus (int s)
{
#define VALCASE(x) case x: Serial.println(#x); break;
}
`
The text was updated successfully, but these errors were encountered: