zephyr/samples/bluetooth/periodic_sync_rsp/README.rst

42 lines
1.4 KiB
ReStructuredText

.. zephyr:code-sample:: ble_periodic_adv_sync_rsp
:name: Periodic Advertising with Responses (PAwR) Synchronization
:relevant-api: bt_gap bluetooth
Implement Bluetooth LE Periodic Advertising with Responses Synchronization.
Overview
********
A simple application demonstrating the Bluetooth LE 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 Bluetooth LE 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 :zephyr:code-sample-category:`bluetooth` samples for details.