zephyr/samples/bluetooth/periodic_sync_rsp
Théo Battrel 7bc63985af Bluetooth: Samples: Remove uses of auto name in AD
The advertiser options to automatically add the name in the scan
response and the advertising data will be deprecated.

Update the samples that were using those options by explicitly adding
the device name in the advertising data or the scan response data.

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
2024-04-23 12:42:24 +02:00
..
src Bluetooth: Samples: Remove uses of auto name in AD 2024-04-23 12:42:24 +02:00
CMakeLists.txt Samples: Bluetooth: Add samples for PAwR 2023-04-26 20:08:16 +02:00
prj.conf Samples: Bluetooth: Add samples for PAwR 2023-04-26 20:08:16 +02:00
README.rst Samples: Bluetooth: Add samples for PAwR 2023-04-26 20:08:16 +02:00
sample.yaml hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00

.. _bluetooth-periodic-advertising-sync-rsp-sample:

Bluetooth: Periodic Advertising with Responses (PAwR) Synchronization
#####################################################################

Overview
********

A simple application demonstrating the BLE Periodic Advertising with
Responses Synchronization functionality.

This sample will echo the data received in subevent indications back to the
advertiser.

Which subevent to listen to and in which response slot to respond is
application specific. In this sample it is decided by the PAwR advertiser.
Upon connection it will write to a GATT characteristic
the assigned subevent and response slot.

Flash this sample to multiple devices and they will be given different
subevents and response slots, to that they can communicate with the
advertiser concurrently.

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

* A board with BLE support
* A controller that supports the Periodic Advertising with Responses (PAwR) - Scanner feature

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

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

Use the sample found under :zephyr_file:`samples/bluetooth/periodic_adv_rsp` on
another board that will start periodic advertising, which will connect to this
sample and transfer the synchronization info.

See :ref:`bluetooth samples section <bluetooth-samples>` for details.