Skip to content

WPA3 not shown correctly with verbose output #6792

Closed
@Rotzbua

Description

@Rotzbua

Board

nodemcu

Device Description

normal board

Hardware Configuration

normal config

Version

v2.0.3

IDE Name

Arduino IDE

Operating System

win

Flash frequency

40

PSRAM enabled

no

Upload speed

11520

Description

The verbose message does not show the encryption correctly, if new (WPA2-)WPA3 methods are used. Just UNKNOWN is shown.

The strings are missing:

static const char * auth_mode_str(int authmode)
{
switch (authmode) {
case WIFI_AUTH_OPEN:
return ("OPEN");
break;
case WIFI_AUTH_WEP:
return ("WEP");
break;
case WIFI_AUTH_WPA_PSK:
return ("PSK");
break;
case WIFI_AUTH_WPA2_PSK:
return ("WPA2_PSK");
break;
case WIFI_AUTH_WPA_WPA2_PSK:
return ("WPA_WPA2_PSK");
break;
case WIFI_AUTH_WPA2_ENTERPRISE:
return ("WPA2_ENTERPRISE");
break;
default:
break;
}
return ("UNKNOWN");
}

Sketch

// regular
WiFi.begin("wifi", "password");

Debug Message

[V][WiFiGeneric.cpp:295] _arduino_event_cb(): STA Connected: SSID: wifi, BSSID: xxxx, Channel: 1, Auth: UNKNOWN

Other Steps to Reproduce

No response

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

Relationships

None yet

Development

No branches or pull requests

Issue actions