zephyr/samples/bluetooth/periodic_adv
Théo Battrel 8f7df0b49f Bluetooth: Samples: Dev name in AD instead of SD
With the deprecation of `BT_LE_ADV_OPT_USE_NAME` and
`BT_LE_ADV_OPT_FORCE_NAME_IN_AD` samples were updated to not use the
macro adding the device name in the advertising/scan response data
anymore.

Instead the name was explicitly added to the scan response data in
`periodic_adv` sample. But because it was using an extended advertiser
and was already adding data in the AD, the name should have been put in
the advertising data and not the scan response data.

Update the sample to add the device name in the advertising data.

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
2024-04-26 09:30:02 +02:00
..
src Bluetooth: Samples: Dev name in AD instead of SD 2024-04-26 09:30:02 +02:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
prj.conf Bluetooth: Samples: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
README.rst
sample.yaml hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00

.. _bluetooth-periodic-advertising-sample:

Bluetooth: Periodic Advertising
###############################

Overview
********

A simple application demonstrating the BLE Periodic Advertising functionality.

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

* A board with BLE support

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

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

Use the sample found under :zephyr_file:`samples/bluetooth/periodic_sync` in the
Zephyr tree that will scan and establish a periodic advertising synchronization
to this sample.

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