Skip to content

Commit a074a0b

Browse files
committed
Merge pull request #646 from raimohanska/patch-2
Include WIFI_OFF option for WiFi.mode(m)
2 parents e8b2791 + 52390a3 commit a074a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const char HTTP[] PROGMEM = "http:";
108108

109109
This is mostly similar to WiFi shield library. Differences include:
110110

111-
- `WiFi.mode(m)`: set mode to `WIFI_AP`, `WIFI_STA`, or `WIFI_AP_STA`.
111+
- `WiFi.mode(m)`: set mode to `WIFI_AP`, `WIFI_STA`, `WIFI_AP_STA` or `WIFI_OFF`.
112112
- call `WiFi.softAP(ssid)` to set up an open network
113113
- call `WiFi.softAP(ssid, password)` to set up a WPA2-PSK network (password should be at least 8 characters)
114114
- `WiFi.macAddress(mac)` is for STA, `WiFi.softAPmacAddress(mac)` is for AP.

0 commit comments

Comments
 (0)