New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pi Pico W WLAN set hostname in STA #10397
Comments
See #8906 |
I am also interested in this option for the Pico_W. Reading #8906 I found out the following: Currently, however, the rp2 build for Pico_W seems to use the version in submodul https://github.com/georgerobotics/cyw43-driver/tree/2cf328d9e41603405a037a29e081a7d30dd519e6 at /lib/cyw43-driver (See CMakelist.txt https://github.com/micropython/micropython/blob/master/ports/rp2/CMakeLists.txt#L243-L247 )
|
I found out that, at least when building your own Pico_W firmware from the actual Micropython Master branch, you can set a default hostname with the flag CYW43_HOST_NAME. I have simply added in ports/rp2/boards/PICO_W/mpconfigboard.h the line |
See #10635 |
Please help, cannot set hostrname in Pi Pico W
firmware:
MicroPython v1.19.1-782-g699477d12 on 2022-12-20; Raspberry Pi Pico W with RP2040
code:
wlan = network.WLAN(network.STA_IF)
wlan.config(hostname="mypicow")
Traceback (most recent call last):
File "", line 1, in
ValueError: unknown config param
The text was updated successfully, but these errors were encountered: