esp32/tcpip_adapter: softap supports max 10 stations

The max number of stations softap supports is modified from 8 to 10
This commit is contained in:
Liu Zhi Fu
2016-10-28 16:53:49 +08:00
parent 19c4996bc8
commit 4f2719236f
4 changed files with 6 additions and 5 deletions

View File

@@ -154,10 +154,10 @@ typedef struct {
uint8_t mac[6]; /**< mac address of sta that associated with ESP32 soft-AP */
}wifi_sta_info_t;
#define ESP_WIFI_MAX_CONN_NUM (8+2) /**< max number of sta the eSP32 soft-AP can connect */
#define ESP_WIFI_MAX_CONN_NUM (10) /**< max number of sta the ESP32 soft-AP can connect */
typedef struct {
wifi_sta_info_t sta[ESP_WIFI_MAX_CONN_NUM]; /**< station list */
uint8_t num; /**< number of station that associated with ESP32 soft-AP */
int num; /**< number of station that associated with ESP32 soft-AP */
}wifi_sta_list_t;
typedef enum {