2020-01-03 21:06:10 +05:30
|
|
|
menu "Example Configuration"
|
|
|
|
|
|
|
|
choice EXAMPLE_PROV_TRANSPORT
|
|
|
|
bool "Provisioning Transport"
|
2020-12-28 16:38:37 +05:30
|
|
|
default EXAMPLE_PROV_TRANSPORT_SOFTAP if IDF_TARGET_ESP32S2
|
2020-01-03 21:06:10 +05:30
|
|
|
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
|
2021-01-14 15:43:46 +05:30
|
|
|
depends on !IDF_TARGET_ESP32S2
|
2020-01-03 21:06:10 +05:30
|
|
|
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
|
|
|
|
|
2021-02-18 14:59:08 +08:00
|
|
|
config EXAMPLE_RESET_PROVISIONED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
prompt "Reset provisioned status of the device"
|
|
|
|
help
|
|
|
|
This erases the NVS to reset provisioned status of the device on every reboot.
|
|
|
|
Provisioned status is determined by the Wi-Fi STA configuration, saved on the NVS.
|
2020-01-03 21:06:10 +05:30
|
|
|
endmenu
|