From 52390a3f35c31cf996d6d997ce7defb992e9bbfd Mon Sep 17 00:00:00 2001 From: Juha Paananen Date: Mon, 3 Aug 2015 18:21:52 +0300 Subject: [PATCH] Include WIFI_OFF option for WiFi.mode(m) --- doc/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference.md b/doc/reference.md index fd556756a..2ca3d5e9a 100644 --- a/doc/reference.md +++ b/doc/reference.md @@ -108,7 +108,7 @@ const char HTTP[] PROGMEM = "http:"; This is mostly similar to WiFi shield library. Differences include: -- `WiFi.mode(m)`: set mode to `WIFI_AP`, `WIFI_STA`, or `WIFI_AP_STA`. +- `WiFi.mode(m)`: set mode to `WIFI_AP`, `WIFI_STA`, `WIFI_AP_STA` or `WIFI_OFF`. - call `WiFi.softAP(ssid)` to set up an open network - call `WiFi.softAP(ssid, password)` to set up a WPA2-PSK network (password should be at least 8 characters) - `WiFi.macAddress(mac)` is for STA, `WiFi.softAPmacAddress(mac)` is for AP.