ESP32-C6 how to enable WiFi 6
Posted: 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:
just prior to the
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
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));
Code: Select all
ESP_ERROR_CHECK(esp_wifi_start());
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