Skip to content

Wifi Client is not connected but wifi.status() ==3 #5239

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
arnold-b opened this issue Oct 13, 2018 · 2 comments
Closed

Wifi Client is not connected but wifi.status() ==3 #5239

arnold-b opened this issue Oct 13, 2018 · 2 comments
Assignees

Comments

@arnold-b
Copy link

Hello,

the Situation is i try to connect to wifi SSID wodewanluo.
After a few tries. ESP said suddenly its connected, even the SSID don´t exist.
wifiState ist a state counter to change between different wifi config´s

TimerEvent::wifiState 1 Wifi.status 3
Mode: STA
PHY mode: N
Channel: 11
AP id: 0
Status: 5
Auto connect: 1
SSID (10): wodewanluo
Passphrase (10): xxxx
BSSID set: 0

TimerEvent::Ticker 335
TimerEvent::Ticker 336
TimerEvent::Ticker 337
TimerEvent::Ticker 338
TimerEvent::Ticker 339
TimerEvent::wifiState 1 Wifi.status 3
Mode: STA
PHY mode: N
Channel: 11
AP id: 0
Status: 5
Auto connect: 1

@arnold-b
Copy link
Author

Serial.println(WiFi.getMode()) = 1 => WIFI_STA
Serial.println(WiFi.isConnected()); =0
Serial.println(wifi_station_get_connect_status()); = 1
Serial.println(wifi_station_disconnect()); 1

Finaly its now in AP mode because he created the Wifi AP and i can access it.
But the Mode shows STA
isConnected shows falls but WiFi.status shows 3 (connected).

@d-a-v
Copy link
Collaborator

d-a-v commented Mar 31, 2021

Closing as duplicate #7432, let's follow-up there !

@d-a-v d-a-v closed this as completed Mar 31, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants