Bluetooth: Direct Advertising
Overview
Application demonstrating the BLE Direct Advertising capability. If no device is bonded to the peripheral, casual advertising will be performed. Once bonded, on every subsequent boot direct advertising to the bonded central will be performed. Additionaly this sample provides two BLE characteristics. To perform write devices need to be bonded, while read can be done just after connection (no bonding required).
Requirements
- A board with BLE support
- Second BLE device acting as a central with enabled privacy. For example another Zephyr board
or any modern smartphone
Building and Running
This sample can be found under :zephyr_file:`samples/bluetooth/direct_adv` in the Zephyr tree.
See :ref:`bluetooth samples section <bluetooth-samples>` for details.