zephyr/samples/bluetooth/central_iso
Emil Gydesen 31bf99cbd2 Bluetooth: ISO: Change ISO seq_num to 16-bit
The sequence number is by the core spec defined as 16-bit.
We had implemented a workaround for the wrapping of the
sequence number, which required the type to be larger
than 16-bit (32-bit).

However, since the definition of the sequence number,
and the use of, is poorly defined by the core spec, we
are reverting this workaround and reducing the sequence
number to 16-bit again. This way it is more in line
with the core spec, as well as more intuitive given the
other uses for the sequence number.

This change moves the responsibility of using the
right value to the upper layers, as the stack can
and will no longer provide any guarantees.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2022-10-24 10:38:49 +02:00
..
src Bluetooth: ISO: Change ISO seq_num to 16-bit 2022-10-24 10:38:49 +02:00
CMakeLists.txt
README.rst Bluetooth: Samples: Add controller Kconfig requirement for ISO samples 2022-01-26 13:29:45 +01:00
prj.conf sample: Bluetooth: Add BT_SETTINGS for connected ISO samples 2022-07-08 10:49:12 +02:00
sample.yaml

README.rst

.. _bluetooth_central_iso:

Bluetooth: Central ISO
######################

Overview
********

Application demonstrating a connected isochronous channel functional as the
central role, by scanning for peripheral devices and establishing a connection
to the first one with a strong enough signal.
The application then attempts to setup a connected isochronous channel and
starts sending data.


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_CENTRAL_ISO=y

Building and Running
********************
This sample can be found under :zephyr_file:`samples/bluetooth/central_iso` in
the Zephyr tree.

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