File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,19 +17,6 @@ Functions
1717 If the ``address `` parameter is provided, sets the address to its value. If
1818 the function is called wihout parameters, returns the current address.
1919
20- .. function :: wifi_mode([mode])
21-
22- Get or set the wireless network operating mode.
23-
24- If the ``mode `` parameter is provided, sets the mode to its value. If
25- the function is called wihout parameters, returns the current mode.
26-
27- The possible modes are defined as constants:
28-
29- * ``STA_MODE `` -- station mode,
30- * ``AP_MODE `` -- software access point mode,
31- * ``STA_AP_MODE `` -- mixed station and software access point mode.
32-
3320.. function :: sleep_type([sleep_type])
3421
3522 Get or set the sleep type.
Original file line number Diff line number Diff line change @@ -269,6 +269,12 @@ For example::
269269 Methods
270270 -------
271271
272+ .. method :: wlan.active([is_active])
273+
274+ Activate ("up") or deactivate ("down") network interface, if boolean
275+ argument is passed. Otherwise, query current state if no argument is
276+ provided. Most other methods require active interface.
277+
272278 .. method :: wlan.connect(ssid, password)
273279
274280 Connect to the specified wireless network, using the specified password.
You can’t perform that action at this time.
0 commit comments