docs/esp8266: phy_mode() moved to network module.

pull/1945/head
Paul Sokolovsky 2016-03-27 06:57:35 +03:00
rodzic 935e021250
commit eda8746324
2 zmienionych plików z 15 dodań i 12 usunięć

Wyświetl plik

@ -30,18 +30,6 @@ Functions
* ``AP_MODE`` -- software access point mode,
* ``STA_AP_MODE`` -- mixed station and software access point mode.
.. function:: phy_mode([mode])
Get or set the network interface mode.
If the ``mode`` parameter is provided, sets the mode to its value. If
the function is called wihout parameters, returns the current mode.
The possible modes are defined as constants:
* ``MODE_11B`` -- IEEE 802.11b,
* ``MODE_11G`` -- IEEE 802.11g,
* ``MODE_11N`` -- IEEE 802.11n.
.. function:: sleep_type([sleep_type])
Get or set the sleep type.

Wyświetl plik

@ -229,6 +229,21 @@ For example::
.. only:: port_esp8266
Functions
=========
.. function:: phy_mode([mode])
Get or set the PHY mode.
If the ``mode`` parameter is provided, sets the mode to its value. If
the function is called wihout parameters, returns the current mode.
The possible modes are defined as constants:
* ``MODE_11B`` -- IEEE 802.11b,
* ``MODE_11G`` -- IEEE 802.11g,
* ``MODE_11N`` -- IEEE 802.11n.
class WLAN
==========