← index #11977Issue #10794
Related · high · value 0.146
QUERY · ISSUE

WLAN functions fail on Pico Pi W core1

openby ayjaymopened 2023-07-09updated 2023-11-03
bugport-rp2

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())
CANDIDATE · ISSUE

network.AP_IF creates a weird AP name and unable to connect

closedby adriangalileaopened 2023-02-20updated 2023-04-16
bugport-rp2

Raspberry pi pico w
Last u2f that downloads from here
relevant sidenote: have no idea why this downloads "unstable" versions or how to download stable ones.

When doing:
`import network

ap = network.WLAN(network.AP_IF)
ap.active(True)
ap.config(essid='pico', password='123456789')
`

it creates a network called PICOXXXXX(numbers and characters) instead of "pico". I tested in 2 different devices, unable to connect to that network either, seems like creating an AP on the pico w is broken. I was able to do it on previous builds for sure.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied