Bluetooth samples¶
To build any of the Bluetooth samples, follow the same steps as building any other Zephyr application. Refer to Developing Bluetooth Applications for more information.
Many Bluetooth samples can be run on QEMU or Native POSIX with support for external Bluetooth Controllers. Refer to the Hardware setup 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 or Native POSIX), those are named accordingly with an “HCI” prefix in the
documentation and are prefixed with hci_
in their folder names.
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.
- Bluetooth: Beacon
- Bluetooth: Central
- Bluetooth: Central / Heart-rate Monitor
- Bluetooth: Central / Health Thermometer sensor
- Bluetooth: Eddystone
- Bluetooth: Handsfree
- Bluetooth: HCI Power Control
- Bluetooth: HCI RPMsg
- Bluetooth: HCI SPI
- Bluetooth: HCI UART
- Bluetooth: HCI USB
- Bluetooth: HCI H4 over USB
- Bluetooth: iBeacon
- Bluetooth: IPSP Sample
- Bluetooth: Mesh
- Bluetooth: Mesh Demo
- Bluetooth: Mesh Provisioner
- Bluetooth: Periodic Advertising
- Bluetooth: Periodic Advertising Synchronization
- Bluetooth: Peripheral
- Bluetooth: Peripheral CSC
- Bluetooth: Peripheral DIS
- Bluetooth: Peripheral ESP
- Bluetooth: Peripheral HIDs
- Bluetooth: Peripheral HR
- Bluetooth: Peripheral HT
- Bluetooth: Peripheral OTS
- Bluetooth: Peripheral SC-only
- Bluetooth: Scan & Advertise
- Bluetooth: ST BLE Sensor Demo