From c04985fbdca3d4faf79452abc5b803310e937c9f 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) --- hardware/esp8266com/esp8266/doc/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/esp8266com/esp8266/doc/reference.md b/hardware/esp8266com/esp8266/doc/reference.md index fd556756a6..2ca3d5e9aa 100644 --- a/hardware/esp8266com/esp8266/doc/reference.md +++ b/hardware/esp8266com/esp8266/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.