mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
38 lines
754 B
Plaintext
38 lines
754 B
Plaintext
|
menu "Example Configuration"
|
||
|
|
||
|
choice ESP_WIFI_MODE
|
||
|
prompt "AP or STA"
|
||
|
default ESP_WIFI_IS_STATION
|
||
|
help
|
||
|
Whether the esp32 is softAP or station.
|
||
|
|
||
|
config ESP_WIFI_IS_SOFTAP
|
||
|
bool "SoftAP"
|
||
|
config ESP_WIFI_IS_STATION
|
||
|
bool "Station"
|
||
|
endchoice
|
||
|
|
||
|
config ESP_WIFI_MODE_AP
|
||
|
bool
|
||
|
default y if ESP_WIFI_IS_SOFTAP
|
||
|
default n if ESP_WIFI_IS_STATION
|
||
|
|
||
|
config ESP_WIFI_SSID
|
||
|
string "WiFi SSID"
|
||
|
default "myssid"
|
||
|
help
|
||
|
SSID (network name) for the example to connect to.
|
||
|
|
||
|
config ESP_WIFI_PASSWORD
|
||
|
string "WiFi Password"
|
||
|
default "mypassword"
|
||
|
help
|
||
|
WiFi password (WPA or WPA2) for the example to use.
|
||
|
|
||
|
config MAX_STA_CONN
|
||
|
int "Max STA conn"
|
||
|
default 4
|
||
|
help
|
||
|
Max number of the STA connects to AP.
|
||
|
endmenu
|