Skip to content

setHostname not working with beginAP #245

Open
@Sitebulb

Description

@Sitebulb

setHostname works fine when connecting to an existing access point, but it's not working when creating one.

Working

WiFi.setHostname(hostname);
...
while (status != WL_CONNECTED) {
        status = WiFi.begin(ssid, pass);
        delay(10000);
}

Not working

WiFi.setHostname(hostname);
WiFi.config(APIP, APIP, APIP, IPAddress(255, 255, 255, 0));
status = WiFi.beginAP(ssid, pass, apChannel);`

Is this by design, or not possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions