forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Milestone
Description
This is from circuitpython/web-editor#266
Would like a way to do the equivalent of setting
wifi.radio.hostname="newhostname"prior to callingwifi.radio.connect(), but viasettings.tomlso that the CPy dhcp client requests "newhostname" along with requesting an IP address. This way it would take effect when using web workflow.I tried assigning to CIRCUITPY_WEB_INSTANCE_NAME but that didn't seem to affect what hostname the dhcp client requests. Presumably something like CIRCUITPY_WIFI_HOSTNAME would be more appropriate.
I'm not sure if the issue had previously been opened, but if so, feel free to close this.
scruss and rainabba