2017-01-20 09:42:36 +08:00
|
|
|
.. _bluetooth_setup:
|
|
|
|
|
|
|
|
Bluetooth
|
|
|
|
##########
|
|
|
|
|
2017-11-09 13:25:12 +08:00
|
|
|
To build any of the Bluetooth samples, follow the same steps as building
|
|
|
|
any other Zephyr application. Refer to the
|
|
|
|
:ref:`Getting Started Guide <getting_started>` for more information.
|
|
|
|
|
2018-03-26 20:39:46 +08:00
|
|
|
Many Bluetooth samples can be run on QEMU with support for external
|
|
|
|
Bluetooth Controllers. Refer to the :ref:`bluetooth_qemu` section for further
|
|
|
|
details.
|
|
|
|
|
|
|
|
Several of the bluetooth samples will build a Zephyr-based Controller that can
|
|
|
|
then be used with any external Host (including Zephyr running natively or
|
|
|
|
with QEMU), those are named accordingly with an "HCI" prefix in the
|
|
|
|
documentation and are prefixed with :literal:`hci_` in their folder names.
|
2017-01-20 09:42:36 +08:00
|
|
|
|
2019-02-13 17:04:37 +08:00
|
|
|
.. note::
|
|
|
|
The mutually-shared encryption key created during host-device paring may get
|
|
|
|
old after many test iterations. If this happens, subsequent host-device
|
|
|
|
connections will fail. You can force a re-paring and new key to be created
|
|
|
|
by removing the device from the associated devices list on the host.
|
|
|
|
|
2017-01-20 09:42:36 +08:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
:glob:
|
|
|
|
|
|
|
|
**/*
|