The existing Bluetooth examples are split as: 1. examples/bluetooth/bluedroid - Bluedroid Host (BT + BLE) examples a. examples/bluetooth/bluedroid/classic_bt - Classic BT examples b. examples/bluetooth/bluedroid/ble - BLE examples c. examples/bluetooth/bluedroid/coex - Classic BT and BLE coex examples d. examples/bluetooth/bluedroid/hci - VHCI and HCI UART examples i. Rename ble_adv to controller_vhci_ble_adv and move it in hci folder 2. examples/bluetooth/nimble - NimBLE BLE Host + NimBLE Mesh examples 3. examples/bluetooth/esp_ble_mesh - ESP BLE Mesh examples 4. Update documentation references
31 lines
873 B
Text
31 lines
873 B
Text
# Override some defaults so BT stack is enabled
|
|
# in this example
|
|
|
|
#
|
|
# BT config
|
|
#
|
|
CONFIG_BT_ENABLED=y
|
|
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
|
|
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=
|
|
CONFIG_BTDM_CTRL_MODE_BTDM=
|
|
CONFIG_BTDM_CTRL_PINNED_TO_CORE_0=y
|
|
CONFIG_BTDM_CTRL_PINNED_TO_CORE_1=n
|
|
CONFIG_BTDM_CTRL_PINNED_TO_CORE=0
|
|
CONFIG_BTDM_CTRL_HCI_MODE_VHCI=y
|
|
CONFIG_BTDM_CTRL_HCI_MODE_UART_H4=n
|
|
CONFIG_BT_BLUEDROID_ENABLED=y
|
|
CONFIG_BT_BLUEDROID_PINNED_TO_CORE_0=y
|
|
CONFIG_BT_BLUEDROID_PINNED_TO_CORE_1=n
|
|
CONFIG_BT_BLUEDROID_PINNED_TO_CORE=0
|
|
CONFIG_BT_BTC_TASK_STACK_SIZE=3072
|
|
CONFIG_BT_BLUEDROID_MEM_DEBUG=n
|
|
CONFIG_BT_CLASSIC_ENABLED=n
|
|
CONFIG_BT_GATTS_ENABLE=y
|
|
CONFIG_BT_GATTC_ENABLE=n
|
|
CONFIG_BT_BLE_SMP_ENABLE=n
|
|
CONFIG_BL_ENABLE_SRVCHG_REG=y
|
|
CONFIG_BT_STACK_NO_LOG=n
|
|
CONFIG_BT_ACL_CONNECTIONS=4
|
|
CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST=n
|
|
CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY=n
|
|
CONFIG_BT_SMP_ENABLE=n
|