You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IDF version (git rev-parse --short HEAD to get the commit id.): 89a3f25
Development Env: make
Operating System: Ubuntu 20.04
Power Supply: external 5V
Problem Description
I have 2 devices use esp8266 (ESP-12F module). Both of them running same firmware and connect to same wi-fi AP.
The application is simple touch switch: button, relay, connect wifi, connect mqtt and get control command from mobie app.
Two device running same firmware, working at the same time and monitoring same time on terminal.
The problem is that one of my device do not connect wi-fi AP and do not get IP address but other one work well.
I will attach log message bellow.
The Red-boundary (I will call as Red) is log message of device got error.
The Green-boundary(I will call as Green) is log message of device that work normally, connected wi-fi, get IP address.
I had check device list on router's web manager and saw that both device was allocated IP address. But the "Red" do not get event wi-fi connected like "Green".
Expected Behavior
After call esp_wifi_connect(); device connected to wifi AP and got IP address and print message lines:
I (3334) wifi:state: 0 -> 2 (b0)
I (3338) wifi:state: 2 -> 3 (0)
I (3346) wifi:state: 3 -> 5 (10)
I (3382) wifi:connected with Dungnt98 Test, aid = 3, channel 2, HT20, bssid = 14:eb:b6:bf:c7:13
Actual Behavior
After call esp_wifi_connect(); device do not get wifi connected and do not get IP address but all other task still work normally.
Steps to repropduce
I can not reproduce that error, because after 1 hour my device do connected to Wi-fi and work well.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Do not get IP address after call esp_wifi_connect()
Do not get IP address after call esp_wifi_connect() (GIT8266O-841)
Jan 2, 2024
Environment
git rev-parse --short HEAD
to get the commit id.):89a3f25
Problem Description
I have 2 devices use esp8266 (ESP-12F module). Both of them running same firmware and connect to same wi-fi AP.
The application is simple touch switch: button, relay, connect wifi, connect mqtt and get control command from mobie app.
Two device running same firmware, working at the same time and monitoring same time on terminal.
The problem is that one of my device do not connect wi-fi AP and do not get IP address but other one work well.
I will attach log message bellow.
The Red-boundary (I will call as Red) is log message of device got error.
The Green-boundary(I will call as Green) is log message of device that work normally, connected wi-fi, get IP address.
I had check device list on router's web manager and saw that both device was allocated IP address. But the "Red" do not get event wi-fi connected like "Green".
Expected Behavior
After call esp_wifi_connect(); device connected to wifi AP and got IP address and print message lines:
I (3334) wifi:state: 0 -> 2 (b0)
I (3338) wifi:state: 2 -> 3 (0)
I (3346) wifi:state: 3 -> 5 (10)
I (3382) wifi:connected with Dungnt98 Test, aid = 3, channel 2, HT20, bssid = 14:eb:b6:bf:c7:13
Actual Behavior
After call esp_wifi_connect(); device do not get wifi connected and do not get IP address but all other task still work normally.
Steps to repropduce
I can not reproduce that error, because after 1 hour my device do connected to Wi-fi and work well.
The text was updated successfully, but these errors were encountered: