Skip to content

Device Hostname not broadcasting to network devices #1

@dJPoida

Description

@dJPoida

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions