zephyr/tests/bluetooth/audio/mocks
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
..
include tests: Bluetooth: CAP Commander Change Volume Offset unittests 2024-01-31 21:35:17 -05:00
src Bluetooth: ISO: Introduce bt_iso_chan_send_ts 2024-02-12 13:13:10 +01:00
CMakeLists.txt Bluetooth: CAP: Commander discovery support 2023-12-19 08:50:40 +01:00
mock-sections.ld