1menu "Bluetooth"
2    visible if SOC_BT_SUPPORTED
3
4    config BT_ENABLED
5        bool "Bluetooth"
6        depends on SOC_BT_SUPPORTED && !APP_NO_BLOBS
7        help
8            Select this option to enable Bluetooth and show the submenu with Bluetooth configuration choices.
9
10    choice BT_HOST
11        prompt "Host"
12        depends on BT_ENABLED
13        default BT_BLUEDROID_ENABLED
14        help
15            This helps to choose Bluetooth host stack
16
17        config BT_BLUEDROID_ENABLED
18            bool "Bluedroid - Dual-mode"
19            help
20                This option is recommended for classic Bluetooth or for dual-mode
21                usecases
22
23        config BT_NIMBLE_ENABLED
24            bool "NimBLE - BLE only"
25            help
26                This option is recommended for BLE only usecases to save on memory
27
28        config BT_CONTROLLER_ONLY
29            bool "Disabled"
30            help
31                This option is recommended when you want to communicate directly with the
32                controller (without any host) or when you are using any other host stack
33                not supported by Espressif (not mentioned here).
34
35    endchoice
36
37    choice BT_CONTROLLER
38        prompt "Controller"
39        depends on BT_ENABLED
40        default BT_CONTROLLER_ENABLED
41        help
42            This helps to choose Bluetooth controller stack
43
44        config BT_CONTROLLER_ENABLED
45            bool "Enabled"
46            help
47                This option is recommended for Bluetooth controller usecases
48
49        config BT_CONTROLLER_DISABLED
50            bool "Disabled"
51            help
52                This option is recommended for Bluetooth Host only usecases
53
54    endchoice
55
56    menu "Bluedroid Options"
57        depends on BT_BLUEDROID_ENABLED
58        source "$IDF_PATH/components/bt/host/bluedroid/Kconfig.in"
59    endmenu
60
61    menu "NimBLE Options"
62        depends on BT_NIMBLE_ENABLED
63        source "$IDF_PATH/components/bt/host/nimble/Kconfig.in"
64    endmenu
65
66    menu "Controller Options"
67        depends on BT_CONTROLLER_ENABLED
68        source "$IDF_PATH/components/bt/controller/$IDF_TARGET/Kconfig.in"
69    endmenu
70
71endmenu
72
73menuconfig BLE_MESH
74    bool "ESP BLE Mesh Support"
75    depends on BT_ENABLED
76    help
77        This option enables ESP BLE Mesh support. The specific features that are
78        available may depend on other features that have been enabled in the
79        stack, such as Bluetooth Support, Bluedroid Support & GATT support.
80
81source "$IDF_PATH/components/bt/esp_ble_mesh/Kconfig.in"
82