🛠 Station Wi-Fi 6 sous ESP-IDF : ce que 802.11ax veut dire ici
Level up: connect the C6 as a Wi-Fi station using ESP-IDF and understand what "Wi-Fi 6" really means here. The C6 supports 802.11ax in HE20 mode only: 20 MHz, 1T1R, up to 150 Mbps PHY, OFDMA uplink/downlink and MU-MIMO downlink, plus TWT (Target Wake Time), the key feature for battery-powered devices. This is entry-level Wi-Fi 6: no 5 GHz, no 80/160 MHz channels — never specify it as a Wi-Fi 6 access point chip. Code structure, inspired by the ESP-IDF example wifi/getting_started: nvs_flash_init, esp_netif_init, default event loop, esp_wifi_init with WIFI_INIT_CONFIG_DEFAULT, WIFI_MODE_STA mode, esp_wifi_set_config, esp_wifi_start; 802.11ax association is handled by the ROM/PHY drivers. You then wait for IP_EVENT_STA_GOT_IP in a FreeRTOS EventGroup. Compilation: idf.py set-target esp32c6 && idf.py flash monitor. Exercise: display the RSSI and find the maximum TX power in the datasheet (+19.5 dBm in ax mode). >
Other tutorials for this board
Code examples for this board
clignotante.inoArduinobouton-led.inoArduinorespiration.inoArduinodht22.inoArduinooled-i2c.inoArduinoserveur-web.inoArduino