diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-27 06:59:29 +0300 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-27 06:59:39 +0300 |
| commit | 87c783b45487fba24615838ad297bf755cb344d3 (patch) | |
| tree | 689cdaaf8aa66c899b27deec7533c916fe3a194b /docs/library/network.rst | |
| parent | 679fe0abae92c6dc503b9ebc4a3b594a8b1f6aeb (diff) | |
docs/esp8266: esp.mac() replaced with network.WLAN.mac().
Diffstat (limited to 'docs/library/network.rst')
| -rw-r--r-- | docs/library/network.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/library/network.rst b/docs/library/network.rst index 9a37caf1a..98b5b307e 100644 --- a/docs/library/network.rst +++ b/docs/library/network.rst @@ -283,6 +283,14 @@ For example:: Disconnect from the currently connected wireless network. + .. method:: wlan.mac([address]) + + Get or set the network interface MAC address. + + If the ``address`` parameter is provided, sets the address to its + value, which should be bytes object of length 6. If the function + is called wihout parameters, returns the current address. + .. method:: wlan.scan(cb) Initiate scanning for the available wireless networks. |
