zephyr/samples/bluetooth/broadcaster_multiple
Jonathan Rico 934a09550d samples: Bluetooth: Make broadcaster_multiple run on other controllers
`CONFIG_BT_CTLR_ADV_DATA_CHAIN` is a Zephyr Controller exclusive.
Use the max length instead to decide if we should add more data.

The motivation for the change is that tests/bsim/bluetooth/host/adv/chain
does not pass with Nordic's Softdevice Controller because of this.

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2023-11-21 09:56:02 +01:00
..
src samples: Bluetooth: Make broadcaster_multiple run on other controllers 2023-11-21 09:56:02 +01:00
CMakeLists.txt
prj.conf Bluetooth: Samples: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
README.rst
sample.yaml samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00

.. _bluetooth-broadcaster-multiple-sample:

Bluetooth: Multiple Broadcaster
###############################

Overview
********

A simple application demonstrating the Bluetooth Low Energy Broadcaster that
uses multiple advertising sets functionality.

This sample advertises two non-connectable non-scannable advertising sets with
two different SID. Number of advertising sets can be increased by updating the
`CONFIG_BT_EXT_ADV_MAX_ADV_SET` value in the project configuration file.

When building this sample combined with a Bluetooth LE Controller, the
advertising data length can be increased from the default 31 bytes by updating
the Controller's `CONFIG_BT_CTLR_ADV_DATA_LEN_MAX` value. The size of the
manufacturer data is calculated to maximize the use of supported AD data length.

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

* A board with Bluetooth Low Energy with Extended Advertising support.

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

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

To test this sample use the Observer sample with Extended Scanning enabled,
found under
:zephyr_file:`samples/bluetooth/observer` in the Zephyr tree.

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