Skip to content
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

Device.Information.DeviceName does not change in time to catch an automated AP connect #256

Open
mpinkus opened this issue Jan 4, 2023 · 1 comment

Comments

@mpinkus
Copy link

mpinkus commented Jan 4, 2023

Describe the bug
When set Device.Information.DeviceName in init(), if you then look at your wifi AP post init you see the device as FeatherV2 but not the new name ... I realize you can set the device name in yaml, however that precludes setting the device name dynamically...

I am assuming because the wifi.config.yaml read and set before init() runs ... so not sure if the is a feature request or a bug ...
I would think a ?PreSettingsInit()? would be useful to be able to override externally facing properties such as device name or eventually AP SSID etc...

In my specific use case, I will be getting the device name and softAP name, password as a cloud-based setting on initial device boot ... it would be awkward to have to read yaml then reboot or something

Expected behavior
I would like to be able to set the device name (future softAP SSID etc) before the wifi auto connects based on the yaml settings in wifi.config.yaml basically the wifi.config.yaml SSID and passsword will be defaults that are overriden by dynamically received values stored on local disk

@adrianstevens
Copy link

Thx @mpinkus - @NevynUK and @ctacke for input/visibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants