mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
7d4acd9e17
This allows to have default transport as BLE for all chips except ESP32S2.
23 lines
660 B
Plaintext
23 lines
660 B
Plaintext
menu "Example Configuration"
|
|
|
|
choice EXAMPLE_PROV_TRANSPORT
|
|
bool "Provisioning Transport"
|
|
default EXAMPLE_PROV_TRANSPORT_SOFTAP if IDF_TARGET_ESP32S2
|
|
default EXAMPLE_PROV_TRANSPORT_BLE
|
|
help
|
|
Wi-Fi provisioning component offers both, SoftAP and BLE transports. Choose any one.
|
|
|
|
config EXAMPLE_PROV_TRANSPORT_BLE
|
|
bool "BLE"
|
|
select BT_ENABLED
|
|
config EXAMPLE_PROV_TRANSPORT_SOFTAP
|
|
bool "Soft AP"
|
|
endchoice
|
|
|
|
config EXAMPLE_PROV_TRANSPORT
|
|
int
|
|
default 1 if EXAMPLE_PROV_TRANSPORT_BLE
|
|
default 2 if EXAMPLE_PROV_TRANSPORT_SOFTAP
|
|
|
|
endmenu
|