Skip to content
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

fix issue 1081 and 1086 Wifi connection error when using STATIC IP settings #1129

Merged
merged 1 commit into from
Mar 4, 2018

Conversation

baggior
Copy link
Contributor

@baggior baggior commented Feb 20, 2018

fixes
#1081
#1086

(to be merged into master as soon as possible please)

@me-no-dev me-no-dev merged commit bb8b255 into espressif:master Mar 4, 2018
@me-no-dev
Copy link
Member

merged!

@EBZ-Krisemendt
Copy link

unfortunatly i still don't get "WiFi.status() == WL_CONNECTED"

Log-Output is:

Status: 6
Connecting WLAN ........
[D][WiFiGeneric.cpp:293] _eventCallback(): Event: 7 - STA_GOT_IP
[D][WiFiGeneric.cpp:293] _eventCallback(): Event: 7 - STA_GOT_IP
....................... Done
Status: 6

partial code:
#define TIMEOUT 10 // also tested with 25sec, still not working
while (WiFi.status() != WL_CONNECTED) {
delay(500);
#ifdef DEVMODE
Serial.print(".");
#endif
cnt++;
if(cnt > TIMEOUT){
break;
}
}

my hostapd-driven accesspoint is showing the connection, tho. and the esp32 is "pingable" afterwards

@JacoFourie
Copy link

JacoFourie commented Mar 27, 2018

I still get this error. WL_CONNECTED does not show connected when using a static IP.
I still have the if in my core code. I did run the GIT update.

Curclamas pushed a commit to Curclamas/arduino-esp32 that referenced this pull request Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants