2024-08-29 23:32:37 +08:00
|
|
|
.. zephyr:code-sample:: ble_central_past
|
|
|
|
:name: Central Periodic Advertising Sync Transfer (PAST)
|
|
|
|
:relevant-api: bt_gap bluetooth
|
2021-03-23 03:01:31 +08:00
|
|
|
|
2024-08-29 23:32:37 +08:00
|
|
|
Use the Periodic Advertising Sync Transfer (PAST) feature as the sender.
|
2021-03-23 03:01:31 +08:00
|
|
|
|
|
|
|
Overview
|
|
|
|
********
|
|
|
|
|
2024-09-02 15:25:43 +08:00
|
|
|
A simple application demonstrating the Bluetooth LE Periodic Advertising Sync Transfer
|
2021-03-23 03:01:31 +08:00
|
|
|
functionality as the sender.
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
************
|
|
|
|
|
2024-09-02 15:25:43 +08:00
|
|
|
* A board with Bluetooth LE 5.1 support
|
2021-03-23 03:01:31 +08:00
|
|
|
|
|
|
|
Building and Running
|
|
|
|
********************
|
|
|
|
|
|
|
|
This sample can be found under :zephyr_file:`samples/bluetooth/central_past` in
|
|
|
|
the Zephyr tree.
|
|
|
|
|
|
|
|
Use the sample found under :zephyr_file:`samples/bluetooth/periodic_adv` on
|
|
|
|
another board that will start periodic advertising, to which this sample will
|
|
|
|
establish periodic advertising synchronization.
|
|
|
|
|
|
|
|
Use the sample found under :zephyr_file:`samples/bluetooth/peripheral_past` in
|
|
|
|
the Zephyr tree on another board that will advertise and await a periodic
|
|
|
|
advertising sync transfer.
|
|
|
|
|
|
|
|
See :ref:`bluetooth samples section <bluetooth-samples>` for details.
|