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
Copy file name to clipboardExpand all lines: doc/esp8266wifi/station-class.rst
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -427,7 +427,13 @@ Return the status of Wi-Fi connection.
427
427
428
428
WiFi.status()
429
429
430
-
Function returns one of the following connection statuses: \* ``WL_CONNECTED`` after successful connection is established \* ``WL_NO_SSID_AVAIL``\ in case configured SSID cannot be reached \* ``WL_CONNECT_FAILED`` if password is incorrect \* ``WL_IDLE_STATUS`` when Wi-Fi is in process of changing between statuses \* ``WL_DISCONNECTED`` if module is not configured in station mode
430
+
Function returns one of the following connection statuses:
431
+
432
+
- ``WL_CONNECTED`` after successful connection is established
433
+
- ``WL_NO_SSID_AVAIL`` in case configured SSID cannot be reached
434
+
- ``WL_CONNECT_FAILED`` if password is incorrect
435
+
- ``WL_IDLE_STATUS`` when Wi-Fi is in process of changing between statuses
436
+
- ``WL_DISCONNECTED`` if module is not configured in station mode
431
437
432
438
Returned value is type of ``wl_status_t`` defined in `wl\_definitions.h <https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/include/wl_definitions.h>`__
0 commit comments