summaryrefslogtreecommitdiff
path: root/docs/library/network.rst
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-03-27 06:58:49 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-03-27 06:59:00 +0300
commit679fe0abae92c6dc503b9ebc4a3b594a8b1f6aeb (patch)
tree7bd1221e714d72eeb50f9871196eb52f368f01c9 /docs/library/network.rst
parenteda8746324406472cbe9b8b0fa3feaad0d5b0780 (diff)
docs/esp8266: esp.wifi_mode() replaced with network.WLAN.active().
Diffstat (limited to 'docs/library/network.rst')
-rw-r--r--docs/library/network.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/library/network.rst b/docs/library/network.rst
index f0c0b3fc2..9a37caf1a 100644
--- a/docs/library/network.rst
+++ b/docs/library/network.rst
@@ -269,6 +269,12 @@ For example::
Methods
-------
+ .. method:: wlan.active([is_active])
+
+ Activate ("up") or deactivate ("down") network interface, if boolean
+ argument is passed. Otherwise, query current state if no argument is
+ provided. Most other methods require active interface.
+
.. method:: wlan.connect(ssid, password)
Connect to the specified wireless network, using the specified password.