pyboard-D AP_IF - Unable to set up a secure wlan
Unable to setup a secure wlan (password protected), the password config param is there for this reason?
The code below are from the example at pybd.io.
MicroPython v1.12-23-ge83ab7374 on 2019-12-27; PYBD-SF2W with STM32F722IEK
`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`
WLAN functions fail on Pico Pi W core1
Reproducible on 1.20 and latest nightly build (as of today)
Attempting to set up the Wifi module on core1 fails at the line ap.active(True) below which hangs. Code works fine on core0
Guarding code with a lock does not resolve the issue.
ssid = 'MicroPython-AP'
password = '123456789'
ap = network.WLAN(network.AP_IF)
ap.config(essid=ssid, password=password)
print("status = ", ap.status())
ap.active(True)
print(ap.ifconfig())