From e89413e9b081bfa48dcafac7fa22a544172c8d2f Mon Sep 17 00:00:00 2001 From: Radomir Dopieralski <openstack@sheep.art.pl> Date: Tue, 10 May 2016 00:31:57 +0200 Subject: [PATCH] docs/esp8266/quickref: New way to get MAC address --- docs/esp8266/quickref.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/esp8266/quickref.rst b/docs/esp8266/quickref.rst index bfded9bea..87f57c584 100644 --- a/docs/esp8266/quickref.rst +++ b/docs/esp8266/quickref.rst @@ -43,7 +43,7 @@ The ``network`` module:: wlan.scan() # scan for access points wlan.isconnected() # check if the station is connected to an AP wlan.connect('essid', 'password') # connect to an AP - wlan.mac() # get the interface's MAC adddress + wlan.config('mac') # get the interface's MAC adddress wlan.ifconfig() # get the interface's IP/netmask/gw/DNS addresses ap = network.WLAN(network.AP_IF) # create access-point interface -- GitLab