ESP32-C6 – Maximum number of stations in soft-AP mode?
Posted: Tue Aug 11, 2026 12:45 pm
by ahlamhashim
Hi everyone,
I'm working with the ESP32-C6 and I'd like to know what the maximum number of devices (stations) that can connect to it when it's configured in soft-AP mode.
Thank you.
Re: ESP32-C6 – Maximum number of stations in soft-AP mode?
Posted: Wed Aug 12, 2026 2:33 am
by nopnop2002
max_connection
The max number of stations allowed to connect in, the default value is 10. ESP Wi-Fi supports up to 15 (ESP_WIFI_MAX_CONN_NUM) Wi-Fi connections.
Code: Select all
$ grep -rn "ESP_WIFI_MAX_CONN_NUM" *
esp_wifi/include/esp_wifi_ap_get_sta_list.h:16:#ifndef ESP_WIFI_MAX_CONN_NUM
esp_wifi/include/esp_wifi_ap_get_sta_list.h:21:#define ESP_WIFI_MAX_CONN_NUM (15)
Please note that soft-AP and ESP-NOW share the same encryption hardware keys, so the max_connection parameter will be affected by CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM.
Check here.
https://docs.espressif.com/projects/esp ... figuration