Code: Select all
wifi_config_t wifi_config = {
.sta = {
.ssid = "TrueSpeedUltra-4YJNX",
.password = "3FKC5R54EFGR",
.threshold.authmode = ESP_WIFI_SCAN_AUTH_MODE_THRESHOLD,
.sae_pwe_h2e = WPA3_SAE_PWE_BOTH
}
};
Code: Select all
src/main.c:66:14: error: 'wifi_sta_config_t' {aka 'struct <anonymous>'} has no member named 'sae_pwe_h2e'
.sae_pwe_h2e = WPA3_SAE_PWE_BOTH
^~~~~~~~~~~
src/main.c:66:28: error: 'WPA3_SAE_PWE_BOTH' undeclared (first use in this function)
.sae_pwe_h2e = WPA3_SAE_PWE_BOTH
Is this a problem with the example, or is it PlatformIO-specific?