- Notifications
You must be signed in to change notification settings - Fork13.3k
Fix hostname management#8626
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
mcspr commentedJul 5, 2022
Running the example from Matrix, everything works correctly. Is the idea to allow to set netif->hostname later on, or it will stay global hostname setting? |
Uh oh!
There was an error while loading.Please reload this page.
d-a-v commentedJul 5, 2022
Both are possible, I think keeping a common global name is better.
This is an interesting idea. For now I believe a sketch using the arduino API won't link these functions in.
Which matrix is it ? |
mcspr commentedJul 6, 2022
Capital M one! Where you said it would be enough to check ./libraries/ESP8266WiFi/examples/IPv6/IPv6.ino example 🤷
True, but it's the same issue as with dhcps funcs - NONOS SDK api stops working / interferes with the existing code. SDK part could also be |
* manage hostname with sdk string
This proposal addresses two issues
For both issue, solution is to play with hostname location in ram, reserved by SDK, and filled with
ESP-baffedwhen WiFi boots but which can be now overwritten back when user had already set it to something.fixes#8143