zephyr/samples/bluetooth/hci_uart
Carles Cufi 43fa93f682 samples: bluetooth: hci: Fix TX memory leak
Whenever a buffer is sent to the driver via bt_raw using bt_send() the
buffer might not be consumed if an error is returned. In that case
unreference the buffer to avoid leaking the already allocated net_buf.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2017-09-13 14:17:32 +02:00
..
src samples: bluetooth: hci: Fix TX memory leak 2017-09-13 14:17:32 +02:00
96b_nitrogen.overlay samples: bluetooth: Set DT baud rate for nRF5x boards 2017-05-03 08:43:17 -05:00
Makefile
README.rst doc: add labels to bluetooth sample docs 2017-04-04 19:51:27 +00:00
generic.conf Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
microbit.conf Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_* 2017-08-09 11:14:19 +03:00
nrf5.conf Bluetooth: controller: Add DTM HCI commands 2017-09-04 06:08:09 -04:00
nrf51_blenano.overlay samples: bluetooth: Set DT baud rate for nRF5x boards 2017-05-03 08:43:17 -05:00
nrf51_pca10028.overlay samples: bluetooth: Set DT baud rate for nRF5x boards 2017-05-03 08:43:17 -05:00
nrf52_blenano2.overlay samples: bluetooth: Set DT baud rate for nRF5x boards 2017-05-03 08:43:17 -05:00
nrf52_pca10040.overlay samples: bluetooth: Set DT baud rate for nRF5x boards 2017-05-03 08:43:17 -05:00
nrf52840_pca10056.overlay samples: bluetooth: Set DT baud rate for nRF5x boards 2017-05-03 08:43:17 -05:00
sample.yaml samples: Add bbc_microbit to hci_uart's whitelist 2017-09-07 07:04:22 -05:00

README.rst

.. _bluetooth-hci-uart-sample:

Bluetooth: HCI UART
####################

Overview
*********

Expose Zephyr Bluetooth Controller support over UART to another device/CPU using
the H:4 HCI transport protocol (requires HW flow control from the UART)



Requirements
************

* BlueZ running on the host, or
* A board with BLE support

Building and Running
********************
This sample can be found under :file:`samples/bluetooth/hci_uart` in the
Zephyr tree.

See :ref:`bluetooth setup section <bluetooth_setup>` for details.