zephyr/tests/bluetooth
Emil Gydesen b857ef7f83 Bluetooth: BAP: Add ISO state callbacks
Add callbacks to the stream objects that reflects the
state of the isochronous channel. The connected callback
is called when the isochronous channel is connected, and
similarly the disconnected callback is called when it is
disconnected.

There is a special case for unicast, where if the ACL
disconnects first, then we won't get a ISO disconnect
callback. It should be assumed that the isochronous channel
is no longer valid when the BAP stream enters the idle state,
i.e. when the "released" callback is called.

The purpose of the new callbacks is to provide additional
information to the application. Especially the unicast client
can use this to determine when the stream_start function
can be called again, as there can only ever be 1 outstanding
CIS connection request at a time, but there can be multiple
GATT requests.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-01-22 12:59:11 +01:00
..
addr tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
adv tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
at tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
audio Bluetooth: BAP: Add ISO state callbacks 2024-01-22 12:59:11 +01:00
bluetooth tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
bt_crypto tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
bt_crypto_ccm tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
common/testlib tests: Bluetooth: add missing param to testlib 2023-12-05 15:09:18 +01:00
controller Bluetooth: controller: fix procedure collision handling 2024-01-05 09:05:26 +01:00
ctrl_isoal tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
ctrl_sw_privacy tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
ctrl_sw_privacy_unit tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
ctrl_user_ext tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
df tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
gatt Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
hci_codecs_info tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
hci_prop_evt tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
hci_uart_async tests/bluetooth/hci_uart_async: Switch to native_sim 2023-11-22 09:53:10 +01:00
host ztest: shell: add shell support 2024-01-09 09:58:57 +01:00
host_long_adv_recv tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
init Bluetooth: Controller: Fix ISO Sync Receiver time reservation calc 2024-01-17 14:42:32 +01:00
l2cap tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00
ll_settings tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
mesh Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
mesh_shell Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
qualification
shell Bluetooth: Audio: Add implementation for PBP and dedicated sample apps. 2024-01-09 09:59:23 +01:00
tester Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1 2024-01-19 12:55:40 +01:00
uuid tests/bluetooth/*: Enable for native_sim 2023-11-22 09:53:10 +01:00