How to get current WiFi Status
-
- Posts: 16
- Joined: Tue Aug 06, 2019 6:18 am
How to get current WiFi Status
How do I ascertain what mode WiFi is on: OFF, AP, AP-STA or STA
-
- Posts: 829
- Joined: Mon Jul 22, 2019 3:20 pm
-
- Posts: 16
- Joined: Tue Aug 06, 2019 6:18 am
Re: How to get current WiFi Status
What is WIFI_MODE_MAX & WIFI_MODE_NULL difference?lbernstone wrote: ↑Sat Oct 19, 2019 3:59 amWiFi.getMode();
https://docs.espressif.com/projects/esp ... ifi_mode_t
-
- Posts: 829
- Joined: Mon Jul 22, 2019 3:20 pm
Re: How to get current WiFi Status
MAX on any enum value is typically a dummy value set so that if you are iterating over the values, you know you have reached the end. It has no meaning. WIFI_OFF == WIFI_MODE_NULL.
Who is online
Users browsing this forum: No registered users and 116 guests