hi there,
How do I check the connection status after entering wrong SSID and password when connecting to WiFi AP?
esp_wifi_connect () Should I check with the return value?
The return value of esp_wifi_connect () is always ESP_OK.
Can anyone help me?
esp32 wifi connection status
- iot-bits.com
- Posts: 25
- Joined: Wed Dec 21, 2016 6:14 am
- Location: India
- Contact:
Re: esp32 wifi connection status
Nah, the return value will not tell you the status.
You can use the Wi-Fi event callback and detect events there for taking suitable actions. You may want to check the Wi-Fi event handler and its documentation.
You can use the Wi-Fi event callback and detect events there for taking suitable actions. You may want to check the Wi-Fi event handler and its documentation.
- Pratik
Just another hobbyist and consultant
Just another hobbyist and consultant
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 78 guests