ESP32-C6 how to enable WiFi 6

RobLatour
Posts: 12
Joined: Mon Dec 30, 2019 4:23 am

ESP32-C6 how to enable WiFi 6

Postby RobLatour » Tue May 09, 2023 2:37 pm

I am using the ESP-IDF with the (still in development) version 5.1, and an ESP32-C6.

One of the features of the ESP32-C6 is WiFi support.

How do I enable that in my code?

More specifically, I added:

Code: Select all

ESP_ERROR_CHECK(esp_wifi_set_protocol(ESP_IF_WIFI_STA , WIFI_PROTOCOL_11AX));
just prior to the

Code: Select all

ESP_ERROR_CHECK(esp_wifi_start());
statement.

The result was that the esp took a panic attack :-(

Not sure if its because I didn't use or place the esp_wifi_set_protocol statement correctly, because I don't have a WiFi 6 network in place, or because v5.1 is just not ready for it yet.

If it just not supported in v5.1 yet, how will I know when it is?

Thanks

Who is online

Users browsing this forum: No registered users and 94 guests