Skip to content

ESP32C3 stopped connecting to home wifi after commit 5940d89 #6379

Closed
@Sys64736

Description

@Sys64736

Board

esp32-c3-devkitc-02

Device Description

Only the dev board

Hardware Configuration

Nothing connect to GPIO's

Version

v2.0.2

IDE Name

Platformio

Operating System

Win10

Flash frequency

40Mhz

PSRAM enabled

no

Upload speed

115200

Description

Was connecting to home router (Tplink AC1750) in version 2.0.0, 2.0.1 but stopped in v2.02

Last commit that works for me is bb09615

Commit that stops my C3's, I have a couple, from connecting is:
5940d89

They do connect to cell phone hotspot (which I believe only uses WPA2_PSK)

but router has multiple authorization modes available and they usually connect with AUTH: PSK but after update to commit 5940d8 they will not connect.

Further info:

STA Connected: SSID: Router1, BSSID: d8:0d:17:48:77:34, Channel: 5, Auth: PSK <--- C3's will connect in v2.0.2 (bb09615)
STA Disconnected: SSID: Router1, BSSID: 00:00:00:00:00:00, Reason: 201 (NO_AP_FOUND) <--- C3's won't connect in v2.0.2 (5940d89)
STA Connected: SSID: HotSpot1, BSSID: b6:58:fa:2b:33:b3, Channel: 11, Auth: WPA2_PSK <--- C3's will connect in v2.0.2 (5940d89)

Sketch

const char* ssid     = "ssidname";        
const char* password = "password";    

void setup() {

  Serial.begin(115200);      
  delay(100);
  WiFi.begin(ssid, password); 
  delay(50);            
  Serial.print("Connecting..."); 
  while (WiFi.status() != WL_CONNECTED) { Serial.print("."); delay(500);}    
  Serial.println('\n');
  Serial.println("Connection established!");  
  Serial.print("IP address:\t");
  Serial.println(WiFi.localIP());     

}

Debug Message

Unfortunately I didn't copy the commit 5940d89's output except
STA Disconnected: SSID: Router1, BSSID: 00:00:00:00:00:00, Reason: 201 (NO_AP_FOUND)
but the rest is the usual when it can't find an AP then disconnects and keeps repeating.

Up to and including commit bb09615 works as it should for me:
STA Connected: SSID: Router1, BSSID: d8:0d:17:48:77:34, Channel: 5, Auth: PSK 

Is there something that's preventing it from falling back to PSK authentication?

Other Steps to Reproduce

No other steps, except a router with multiple authentication types?

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions