2024-08-29 23:32:37 +08:00
|
|
|
.. zephyr:code-sample:: bluetooth_hci_usb
|
|
|
|
:name: HCI USB
|
|
|
|
:relevant-api: hci_raw bluetooth _usb_device_core_api usbd_api
|
2017-04-05 03:06:31 +08:00
|
|
|
|
2024-08-29 23:32:37 +08:00
|
|
|
Turn a Zephyr board into a USB Bluetooth dongle (compatible with all operating systems).
|
2017-01-20 09:42:36 +08:00
|
|
|
|
|
|
|
Overview
|
|
|
|
********
|
|
|
|
|
|
|
|
Make a USB Bluetooth dongle out of Zephyr. Requires USB device support from the
|
2024-09-02 15:25:43 +08:00
|
|
|
board it runs on (e.g. :ref:`nrf52840dk_nrf52840` supports both Bluetooth LE and USB).
|
2017-01-20 09:42:36 +08:00
|
|
|
|
|
|
|
Requirements
|
|
|
|
************
|
|
|
|
|
2018-04-18 17:36:28 +08:00
|
|
|
* Bluetooth stack running on the host (e.g. BlueZ)
|
|
|
|
* A board with Bluetooth and USB support in Zephyr
|
2017-01-20 09:42:36 +08:00
|
|
|
|
|
|
|
Building and Running
|
|
|
|
********************
|
2019-03-09 06:21:37 +08:00
|
|
|
This sample can be found under :zephyr_file:`samples/bluetooth/hci_usb` in the
|
2017-01-27 00:23:42 +08:00
|
|
|
Zephyr tree.
|
2017-01-20 09:42:36 +08:00
|
|
|
|
2024-09-16 16:55:34 +08:00
|
|
|
See :zephyr:code-sample-category:`bluetooth` samples for details.
|