OVMS3-idf/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/main/Kconfig.projbuild
2020-03-04 14:56:26 +08:00

70 lines
2.2 KiB
Plaintext

menu "Example Configuration"
choice EXAMPLE_RUN_MODE
prompt "select run mode"
help
select run mode
config EXAMPLE_AUTO
bool "auto"
help
In automatic mode, the program coordinates three development board work
through a synchronization mechanism.
config EXAMPLE_MANAUL
bool "manual"
help
In manual mode, you will work with three development boards via commands.
endchoice
config EXAMPLE_WIFI_SSID
depends on EXAMPLE_MANAUL
string "WiFi SSID"
help
SSID (network name) for the example to connect to. The length cannot exceed 20 bytes.
config EXAMPLE_WIFI_PASSWORD
depends on EXAMPLE_MANAUL
string "WiFi Password"
help
WiFi password (WPA or WPA2) for the example to use.
Can be left blank if the network has no security set.
The length cannot exceed 20 bytes.
choice EXAMPLE_SELECT_ROLE
prompt "select role"
depends on EXAMPLE_AUTO
config EXAMPLE_COEX_ROLE
bool "run device as coex role"
config EXAMPLE_WIFI_ROLE
bool "run device as wifi role"
config EXAMPLE_BT_ROLE
bool "run device as bluetooth role"
endchoice
choice EXAMPLE_SELECT_CASE
prompt "select case"
depends on EXAMPLE_COEX_ROLE
config EXAMPLE_COEX_TX_ADV
bool "TCP TX and BLE ADV"
config EXAMPLE_COEX_RX_ADV
bool "TCP RX and BLE ADV"
config EXAMPLE_COEX_TX_SCAN
bool "TCP TX and BLE SCAN"
config EXAMPLE_COEX_RX_SCAN
bool "TCP RX and BLE SCAN"
endchoice
config EXAMPLE_WIFI_SSID
depends on EXAMPLE_COEX_ROLE
string "WiFi SSID"
help
SSID (network name) for the example to connect to. The length cannot exceed 20 bytes.
config EXAMPLE_WIFI_PASSWORD
depends on EXAMPLE_COEX_ROLE
string "WiFi Password"
help
WiFi password (WPA or WPA2) for the example to use.
Can be left blank if the network has no security set.
The length cannot exceed 20 bytes.
endmenu #"Example Configuration End"