esp-idf/examples/protocols/esp_local_ctrl/main/Kconfig.projbuild

71 lines
2.5 KiB
Plaintext
Raw Normal View History

menu "Example Configuration"
choice EXAMPLE_LOCAL_CTRL_TRANSPORT
bool "Local Control Transport"
default EXAMPLE_LOCAL_CTRL_TRANSPORT_BLE if !SOC_WIFI_SUPPORTED
default EXAMPLE_LOCAL_CTRL_TRANSPORT_SOFTAP
help
Local Control component offers both, SoftAP and BLE transports. Choose any one.
config EXAMPLE_LOCAL_CTRL_TRANSPORT_SOFTAP
bool "Soft AP"
select LWIP_IPV4
depends on SOC_WIFI_SUPPORTED
config EXAMPLE_LOCAL_CTRL_TRANSPORT_BLE
bool "BLE"
select BT_ENABLED
endchoice
choice EXAMPLE_PROTOCOMM_SECURITY_VERSION
bool "Protocomm security version"
default EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
help
Local Control component offers 3 security versions.
The example offers a choice between security version 0, 1 and 2.
config EXAMPLE_PROTOCOMM_SECURITY_VERSION_0
bool "Security Version 0"
select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0
config EXAMPLE_PROTOCOMM_SECURITY_VERSION_1
bool "Security version 1"
select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1
config EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
bool "Security version 2"
select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
endchoice
choice EXAMPLE_PROTOCOMM_SEC2_MODE
bool "Security version 2 mode"
depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
default EXAMPLE_PROTOCOMM_SEC2_DEV_MODE
config EXAMPLE_PROTOCOMM_SEC2_DEV_MODE
bool "Security version 2 development mode"
depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
help
This enables the development mode for
security version 2.
Please note that this mode is NOT recommended for production purpose.
config EXAMPLE_PROTOCOMM_SEC2_PROD_MODE
bool "Security version 2 production mode"
depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
help
This enables the production mode for
security version 2.
endchoice
config EXAMPLE_LOCAL_CTRL_USING_BLUEDROID
bool
depends on (BT_BLUEDROID_ENABLED && !IDF_TARGET_ESP32)
select BT_BLE_42_FEATURES_SUPPORTED
default y
help
This enables BLE 4.2 features for Bluedroid which are required for
the API definitions that are present in the esp_gap_ble_api header.
endmenu