Skip to content

Commit a6cf458

Browse files
committed
docs/network: esp8266: MAC address is set via .config() method.
1 parent 35e63f0 commit a6cf458

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

docs/library/network.rst

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -283,14 +283,6 @@ For example::
283283

284284
Disconnect from the currently connected wireless network.
285285

286-
.. method:: wlan.mac([address])
287-
288-
Get or set the network interface MAC address.
289-
290-
If the ``address`` parameter is provided, sets the address to its
291-
value, which should be bytes object of length 6. If the function
292-
is called wihout parameters, returns the current address.
293-
294286
.. method:: wlan.scan()
295287

296288
Scan for the available wireless networks.
@@ -366,6 +358,7 @@ For example::
366358
========= ===========
367359
Parameter Description
368360
========= ===========
361+
mac MAC address (bytes)
369362
essid WiFi access point name (string)
370363
channel WiFi channel (integer)
371364
hidden Whether ESSID is hidden (boolean)

0 commit comments

Comments
 (0)