Commit a6cf4586 authored by Paul Sokolovsky's avatar Paul Sokolovsky

docs/network: esp8266: MAC address is set via .config() method.

parent 35e63f00
...@@ -283,14 +283,6 @@ For example:: ...@@ -283,14 +283,6 @@ For example::
Disconnect from the currently connected wireless network. 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() .. method:: wlan.scan()
Scan for the available wireless networks. Scan for the available wireless networks.
...@@ -366,6 +358,7 @@ For example:: ...@@ -366,6 +358,7 @@ For example::
========= =========== ========= ===========
Parameter Description Parameter Description
========= =========== ========= ===========
mac MAC address (bytes)
essid WiFi access point name (string) essid WiFi access point name (string)
channel WiFi channel (integer) channel WiFi channel (integer)
hidden Whether ESSID is hidden (boolean) hidden Whether ESSID is hidden (boolean)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment