Closed
Description
Board: Raspberry Pico W
Firmware file name: rp2-pico-w-20220713-unstable-v1.19.1-129-g5bf376563.uf2
I can't set the "hostname" param with config() function.
This works (without hostname param):
import network
wlan = network.WLAN(network.AP_IF)
wlan.config(essid='somessid', key="1234567890")
wlan.active(True)
This doesn't work:
import network
wlan = network.WLAN(network.AP_IF)
wlan.config(essid='somessid', key="1234567890", hostname="somehostname")
wlan.active(True)
and prints this error:
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
ValueError: unknown config param
I've tried with "dhcp_hostname" also, same result.