File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,13 +10,6 @@ The ``esp`` module contains specific functions related to the ESP8266 module.
1010Functions
1111---------
1212
13- .. function :: mac([address])
14-
15- Get or set the network interface's MAC address.
16-
17- If the ``address `` parameter is provided, sets the address to its value. If
18- the function is called wihout parameters, returns the current address.
19-
2013.. function :: sleep_type([sleep_type])
2114
2215 Get or set the sleep type.
Original file line number Diff line number Diff line change @@ -283,6 +283,14 @@ 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+
286294 .. method :: wlan.scan(cb)
287295
288296 Initiate scanning for the available wireless networks.
You can’t perform that action at this time.
0 commit comments