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