Merge branch 'feature/reorganise_bluetooth-bluedroid-hci' into 'master'

Moved HCI examples from bluetooth/bluedroid/hci to bluetooth/hci.

See merge request espressif/esp-idf!6686
This commit is contained in:
Jiang Jiang Jian
2019-12-04 20:28:20 +08:00
18 changed files with 30 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ The examples are grouped into subdirectories by category. Each category director
* `bluetooth/bluedroid` contains Classic BT, BLE and coex examples using default Bluedroid host stack.
* `bluetooth/nimble` contains BLE examples using NimBLE host stack.
* `bluetooth/esp_ble_mesh` contains ESP BLE Mesh examples.
* `bluetooth/hci` contains HCI transport (VHCI and HCI UART) examples
* `ethernet` contains Ethernet examples.
* `get-started` contains some very simple examples with minimal functionality.
* `mesh` contains Wi-Fi Mesh examples.

View File

@@ -8,6 +8,5 @@ The examples are grouped into subdirectories by category. Each category director
* `classic_bt` contains Classic BT examples
* `ble` contains BLE examples
* `coex` contains Classic BT and BLE coex examples
* `hci` contains HCI transport (VHCI and HCI UART) examples
See the [README.md](../../README.md) file in the upper level [examples](../../) directory for more information about examples.

View File

@@ -0,0 +1,19 @@
# Bluetooth Examples for Host Controller Interface
Note: To use examples in this directory, you need to have Bluetooth enabled in configuration.
# Example Layout
This directory includes examples to demonstrate controller interactions by virtual HCI layer and UART.
## controller_hci_uart
Demonstrates interaction with controller through HCI over UART.
See the [README.md](./controller_hci_uart/README.md) file in the example [controller_hci_uart](./controller_hci_uart).
## controller_vhci_ble_adv
Demonstrates interaction with controller though virtual HCI layer. In this example, simple BLE advertising is done.
See the [README.md](./controller_vhci_ble_adv/README.md) file in the example [controller_vhci_ble_adv](./controller_vhci_ble_adv).

View File

@@ -12,6 +12,7 @@ CONFIG_BTDM_CTRL_BLE_MAX_CONN=9
CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN=7
CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN=3
CONFIG_BT_BLUEDROID_ENABLED=n
CONFIG_BT_CONTROLLER_ONLY=y
CONFIG_BT_HCI_UART=y
CONFIG_BT_HCI_UART_NO_DEFAULT=1
CONFIG_BT_HCI_UART_BAUDRATE_DEFAULT=921600

View File

@@ -8,3 +8,5 @@ CONFIG_BT_ENABLED=y
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=n
CONFIG_BTDM_CTRL_MODE_BTDM=n
CONFIG_BT_BLUEDROID_ENABLED=n
CONFIG_BT_CONTROLLER_ONLY=y