zephyr/samples/bluetooth/iso_receive
Emil Gydesen 57218eee31 Bluetooth: Host: Add BT_CONN_INTERVAL_TO_US
The macro BT_CONN_INTERVAL_TO_MS was used a fair amount
of places, but it often was used with integers. This meant
that sometimes the resulting (integer) value would be
incorrect, as something like 7.5ms interval would not
be properly stored as a integer in millisecond units.

Adding BT_CONN_INTERVAL_TO_US allows users to still use
integers to store the result, but in a more accurate unit.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-01-08 19:47:03 +01:00
..
boards samples: Bluetooth: iso_receive: Updated to synchronize upto 2 streams 2022-09-05 17:37:47 +02:00
src Bluetooth: Host: Add BT_CONN_INTERVAL_TO_US 2023-01-08 19:47:03 +01:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
prj.conf samples: Bluetooth: iso_receive: Updated to synchronize upto 2 streams 2022-09-05 17:37:47 +02:00
README.rst Bluetooth: Samples: Add controller Kconfig requirement for ISO samples 2022-01-26 13:29:45 +01:00
sample.yaml tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00

.. _bluetooth-iso-receive-sample:

Bluetooth: Synchronized Receiver
###############################################

Overview
********

A simple application demonstrating the Bluetooth Low Energy Synchronized
Receiver functionality.

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

* BlueZ running on the host, or
* A board with Bluetooth Low Energy 5.2 support
* A Bluetooth Controller and board that supports setting
  CONFIG_BT_CTLR_SYNC_ISO=y

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

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

Use the sample found under :zephyr_file:`samples/bluetooth/iso_broadcast` on
another board that will start periodic advertising, create BIG to which this
sample will establish periodic advertising synchronization and synchronize to
the Broadcast Isochronous Stream.

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