• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/04-Jan-2025-406301

CMakeLists.txtD04-Jan-2025194 85

README.rstD04-Jan-20251.3 KiB4027

prj.confD04-Jan-2025287 1712

sample.yamlD04-Jan-2025270 1211

README.rst

1.. zephyr:code-sample:: ble_periodic_adv_rsp
2   :name: Periodic Advertising with Responses (PAwR) Advertiser
3   :relevant-api: bt_gap bluetooth
4
5   Use Bluetooth LE Periodic Advertising with Responses (PAwR) Advertiser functionality.
6
7Overview
8********
9
10A simple application demonstrating the Bluetooth LE Periodic Advertising with
11Responses Advertiser functionality.
12
13This sample will scan for the corresponding sync sample and send the required
14synchronization info to it. The advertising data is a counter that increases
15for each subevent.
16
17Multiple devices can synchronize and respond to one advertiser.
18
19Which subevent to listen to and in which response slot to respond is
20application specific. In this sample it is decided by the PAwR advertiser.
21Upon connection it will write to a GATT characteristic
22the assigned subevent and response slot.
23
24Requirements
25************
26
27* A board with Bluetooth LE support
28* A controller that supports the Periodic Advertising with Responses (PAwR) - Advertiser feature
29
30Building and Running
31********************
32
33This sample can be found under :zephyr_file:`samples/bluetooth/periodic_adv_rsp` in
34the Zephyr tree.
35
36Use the sample found under :zephyr_file:`samples/bluetooth/periodic_sync_rsp` in the
37Zephyr tree that will synchronize and respond to this sample.
38
39See :zephyr:code-sample-category:`bluetooth` samples for details.
40