zephyr/samples/bluetooth/direct_adv
Benjamin Cabé d1858d2074 samples: bluetooth: Use "Bluetooth LE" terminology
Replace occurrences of "BLE" by the recommended "Bluetooth LE" term.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-05 16:58:32 -04:00
..
src Bluetooth: Samples: Use string printing functions for error codes 2024-07-31 12:56:11 +02:00
CMakeLists.txt
prj.conf flash: Move dependency on FLASH_PAGE_LAYOUT where it belongs 2024-04-10 10:01:40 +02:00
README.rst samples: bluetooth: Use "Bluetooth LE" terminology 2024-09-05 16:58:32 -04:00
sample.yaml samples/tests: bluetooth: Remove qemu_cortex_m3 2023-04-12 09:01:34 +02:00

.. zephyr:code-sample:: ble_direct_adv
   :name: Direct Advertising
   :relevant-api: bluetooth

   Advertise directly to a bonded central device.

Overview
********

Application demonstrating the Bluetooth LE 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. Additionally this sample
provides two Bluetooth LE characteristics. To perform write, devices need to be bonded, while read
can be done just after connection (no bonding required).

Please note that direct advertising towards iOS based devices is not allowed.
For more information about designing Bluetooth LE devices for Apple products refer to
"Accessory Design Guidelines for Apple Devices".

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

* A board with Bluetooth LE support
* Second Bluetooth LE 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.