Skip to content

Can't connect to WiFi with latest git #4398

Closed
@aaron-neal

Description

@aaron-neal

I upgraded to the latest git to try out SDK 2.2.0 and since then the WiFi is not able to connect.

The WiFi debug output is saying:

reconnect
scandone"
no SSID_NAME found, reconnect after 1s

The SSID does exist, and was working immediately before the upgrade.
The WiFi setup routine I use:

WiFi.hostname(config.apSSID);   
WiFi.mode(WIFI_AP_STA); // Configure AP and Station
WiFi.softAP(config.apSSID, config.apPassword);    //set AP settings
if(config.wifiSettings.ssid != ""){  //if config has an ssid to use
     Serial.println(F("Begin WiFi"));
     WiFi.begin(config.wifiSettings.ssid, config.wifiSettings.password);
}

The access point which is also created here works fine, once it connects (unstable while trying to connect to an access point)

I believe previously I was on core 2.4.0 and SDk 2.1.0, returning back to this everything works as expected.

Is there a anything required to clear SDK settings when switching between the two?

Using platformio if it makes any difference.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions