zephyr/samples/bluetooth/periodic_adv_conn
Benjamin Cabé 1db9b009a7 doc: samples: Adopt code-sample-category across tree
This commit uses the new .. zephyr:code-sample-category directive to
categorize code samples across the tree.
Updates existing legacy references to manually defined targets to now
use :zephyr:code-sample-category: role instead.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-23 12:00:00 +02:00
..
src
CMakeLists.txt
README.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
prj.conf
sample.yaml

README.rst

.. zephyr:code-sample:: ble_periodic_adv_conn
   :name: Periodic Advertising Connection Procedure (Initiator)
   :relevant-api: bt_gap bluetooth

   Initiate a connection to a device using the Periodic Advertising Connection Procedure.

Overview
********

A simple application demonstrating the initiator side of the BLE
Periodic Advertising Connection Procedure.

How the initiator decides the address of the synced device to connect to
is application specific. This sample will connect to any synced device
responding with its address. Once the connection is established, it will
wait for disconnect before connecting to another synced device.

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

* A board with Bluetooth LE support
* A controller that supports the Periodic Advertising with Responses (PAwR) - Advertiser feature

Building and Running
********************

This sample can be found under :zephyr_file:`samples/bluetooth/periodic_adv_conn` in
the Zephyr tree.

Use the sample found under :zephyr_file:`samples/bluetooth/periodic_sync_conn` in the
Zephyr tree that will synchronize and respond to this sample.

See :zephyr:code-sample-category:`bluetooth` samples for details.