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 Hostname not broadcasting to network devices #1

Open
dJPoida opened this issue Mar 28, 2022 · 0 comments
Open

Device Hostname not broadcasting to network devices #1

dJPoida opened this issue Mar 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@dJPoida
Copy link
Owner

dJPoida commented Mar 28, 2022

Due to a limitation in the ESP32 Arduino libraries, there appears to be a problem broadcasting the Device name to network listeners.

Without this capability, the device is difficult to identify in routers etc...

image

This did originally work, but there's an outstanding issue in the ESP library: WiFi.localIP() returns 255.255.255.255 after connect #4732 which could only be resolved by removing the workaround in this issue: Hostname not sent via DHCP request #2537.

Commented out the line that makes this work in wifiEngine.cpp until the IPAddress issue can be resolved:

      // Removed to fix issue with ip address resolving as 255.255.255.255 and causing other network errors
      // WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE, INADDR_NONE);
@dJPoida dJPoida added the bug Something isn't working label Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant