zephyr/tests/bluetooth/audio/ascs
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
..
include tests: Bluetooth: ASCS: Add tests for invalid operations in Releasing state 2023-12-12 15:33:13 +01:00
src Bluetooth: BAP: Add ISO state callbacks 2024-01-22 12:59:11 +01:00
uut
CMakeLists.txt tests: Bluetooth: ascs: Add invalid ASE state transition tests 2023-05-03 15:11:27 +02:00
prj.conf tests: Bluetooth: ascs: Limit the default number of ASEs 2023-12-12 15:33:13 +01:00
testcase.yaml tests: bluetooth: ascs: cleanup test metadata 2023-05-25 04:44:11 -04:00