Skip to content

softAP(ssid, password) ignores new data and uses old one #1103

Closed
@starlino

Description

@starlino

I have a weird problem I am basically running this sample witch current rc2.0.0-rc2:
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiAccessPoint/WiFiAccessPoint.ino

I have previously used this board with other scripts and somehow the ESP remembers the old SSID/Pass for access point, and ignores the new one

WiFi.softAP(ssid, password);

I tried WiFi.persistent(false); but it did not help.

If I do: Serial.setDebugOutput(true);

I get:

Configuring access point...
softap config unchanged
AP IP address: 192.168.4.1
HTTP server started
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 5
cnt

So why "softap config unchanged" ? Is there a way I completely reset/zero-out my board to factory defaults ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions