esp-idf/examples/provisioning/wifi_prov_mgr/main/Kconfig.projbuild
Mahavir Jain 7d4acd9e17 wifi_prov_mgr: keep SoftAP transport as default only for ESP32S2
This allows to have default transport as BLE for all chips except
ESP32S2.
2021-01-14 10:47:35 +05:30

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