zephyr/samples/bluetooth/hap_ha
Emil Gydesen 3e634268d6 Bluetooth: ISO: Introduce bt_iso_chan_send_ts
The bt_iso_chan_send function could take an optional
timestamp by using 0 as an indicator. The issue with
this approach was that a timestamp value of 0 is valid,
and could cause potential issue with syncing streams
in a group.

To fully support transmitting with and without timestamp,
bt_iso_chan_send_ts has been introduced, which is the only
function of the two (bt_iso_chan_send being the other) that
supports timestamps.

A new function, rather than adding a boolean to the existing,
was chosen as it simplifies the individual functions as well
as making it more explicit what the function does.

Since the bt_iso_chan_send function is used by LE audio, both
the BAP and CAP send functions have similarly been updated.
Likewise, all tests and samples have been updated to use the
updated function(s), and BT_ISO_TIMESTAMP_NONE has been
removed.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-02-12 13:13:10 +01:00
..
boards samples/bluetooth/hap_ha: Enable in native_sim 2023-11-14 09:52:34 +02:00
src Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
CMakeLists.txt
Kconfig
README.rst
banded.conf
binaural.conf
prj.conf
sample.yaml samples/bluetooth/hap_ha: Enable in native_sim 2023-11-14 09:52:34 +02:00

README.rst

.. _bluetooth_hap_ha:

Bluetooth: HAP Hearing Aid (HA)
###############################

Overview
********

Application demonstrating the LE Audio Hearing Aid sample functionality.
Starts advertising and awaits connection from a Hearing Aid Unicast Client (HAUC)
or Hearing Aid Remote Controller (HARC).

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

* BlueZ running on the host, or
* A board with Bluetooth Low Energy 5.2 support

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

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