I can see from the following code I can set the Pyboard D as a Wi-Fi access point :
Code: Select all
import network
wl_ap = network.WLAN(1)
wl_ap.config(essid='PYBD') # set AP SSID
wl_ap.config(password='pybd0123') # set AP password
wl_ap.config(channel=6) # set AP channel
wl_ap.active(1) # enable the AP
wl_ap.status('stations') # get a list of connection stations
wl_ap.active(0) # shut down the AP