diff options
author | Carles Cufi <carles.cufi@nordicsemi.no> | 2016-10-15 21:19:08 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2016-10-21 07:47:31 +0300 |
commit | c74675c27a542b0d5bb6762fe6a25adf9d52b5d5 (patch) | |
tree | f9d8091d74d3c70e6b37f2622a3e2d984897c8b6 /net | |
parent | be817c8ef539227345241b7fbbbaebb841996126 (diff) |
Bluetooth: HCI UART app to run Zephyr as a BLE Controller
Add a new sample application in sample/bluetooth/hci-uart
that acts as a bridge between a UART and the BLE Controller.
It receives commands and ACL data in H4 format over the UART
and passes them on to the BLE Controller to be processed.
It also conversely forwards all events and incoming ACL data
generated by the BLE Controller to the UART.
The application uses the hci_raw interface to pipe the data
to and from the BLE Controller and UART.
Change-Id: Iff7696166a82fe363b2ad4e1abea40103899f927
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig index 1913603ee..c3082adb4 100644 --- a/net/bluetooth/Kconfig +++ b/net/bluetooth/Kconfig @@ -108,6 +108,15 @@ config BLUETOOTH_MAX_EVT_LEN return parameters = 68 bytes in total. endif # BLUETOOTH_LE || BLUETOOTH_STACK_HCI_RAW +config BLUETOOTH_UART_TO_HOST_DEV_NAME + string "Device Name of UART Device to an external Bluetooth Host" + default "UART_0" + depends on BLUETOOTH_STACK_HCI_RAW + help + This option specifies the name of UART device to be used + to connect to an external Bluetooth Host when Zephyr is + acting as a Bluetooth Controller. + if (BLUETOOTH_LE && BLUETOOTH_CONN) || BLUETOOTH_STACK_HCI_RAW config BLUETOOTH_ACL_IN_COUNT int "Number of incoming ACL data buffers" |