zephyr/subsys/bluetooth/audio
Emil Gydesen e73bfb92c7 tests: Bluetooth: ASCS: Fix various issues in ASCS unit tests
The ASCS unit tests had various errors after adding support for
dynamic registration.
Several tests did not properly clean up after failure, causing other
tests to fail when they shouldn't.

Moved the register tests to their own file as they should not
do the register in the "before" function.

The test_ascs_unregister_with_ases_in_config_state test was also
removed, as it had both issues and the state that it wants to test
cannot be reached with the current API - It is not possible to
put an ASE in the configured state without callbacks,
and registered callbacks prevents us from calling
bt_bap_unicast_server_unregister to trigger the case as that can
only be done if callbacks are unregistered. Since unregistering
callbacks also puts all ASEs to the idle state, it is not possible
to call bt_bap_unicast_server_unregister for a non-idle ASE.

The testcase.yaml was also missing some Kconfig options to
properly enable the client tests.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-11-26 15:43:13 -05:00
..
shell Bluetooth: BAP: Depend on BT_PAC_{SNK,SRC} instead of select 2024-11-21 09:19:47 +01:00
aics_client.c Bluetooth: AICS: Fix race condition in AICS free inst get 2024-09-20 11:07:57 +02:00
aics_internal.h Bluetooth: AICS: Replace bools with atomic 2024-09-04 09:54:05 +02:00
aics.c
ascs_internal.h Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
ascs.c tests: Bluetooth: ASCS: Fix various issues in ASCS unit tests 2024-11-26 15:43:13 -05:00
audio_internal.h Bluetooth: CAP: Fix dependency on BT_BAP_STREAM 2024-09-05 12:24:16 +01:00
audio.c Bluetooth: Audio: Add bt_audio_data_get_val 2024-10-25 14:01:42 +02:00
bap_base.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
bap_broadcast_assistant.c Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_broadcast_sink.c Bluetooth: Host: Add conversion macros from ms to various units 2024-11-16 14:06:03 -05:00
bap_broadcast_source.c Bluetooth: audio: Add possibility to use static broadcast id 2024-10-25 14:07:25 +02:00
bap_endpoint.h Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_internal.h Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_iso.c
bap_iso.h
bap_scan_delegator.c Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
bap_stream.c tests: Bluetooth: Audio: Use same recv_cb for all tests 2024-11-21 14:47:49 +01:00
bap_stream.h Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
bap_unicast_client_internal.h Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
bap_unicast_client.c Bluetooth: BAP: Disallow bt_bap_stream_stop when CIS is not connected 2024-10-23 16:53:44 +02:00
bap_unicast_server.c Bluetooth: Audio: Rename bt_audio_codec_qos -> bt_bap_qos_cfg 2024-10-04 16:34:22 +01:00
bap_unicast_server.h
cap_acceptor.c
cap_commander.c Bluetooth: Audio: implement the distribute broadcast code procedure 2024-11-25 21:52:53 +01:00
cap_common.c Bluetooth: Audio: implement the distribute broadcast code procedure 2024-11-25 21:52:53 +01:00
cap_initiator.c Bluetooth: Audio: Remove BT_AUDIO_BROADCAST_CODE_SIZE 2024-10-25 22:43:40 +01:00
cap_internal.h Bluetooth: Audio: implement the distribute broadcast code procedure 2024-11-25 21:52:53 +01:00
cap_stream.c Bluetooth: CAP: Add support for handling ASE errors 2024-10-23 16:53:44 +02:00
ccid.c Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
CMakeLists.txt Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
codec.c Bluetooth: Audio: Add bt_audio_data_get_val 2024-10-25 14:01:42 +02:00
csip_crypto.c
csip_crypto.h
csip_internal.h
csip_set_coordinator.c Bluetooth: CSIP: Fix off-by-one in in lock restore 2024-11-08 09:24:43 -06:00
csip_set_member.c
gmap_client.c Bluetooth: GMAP: Replace busy bool with atomic 2024-09-11 14:00:09 -04:00
gmap_server.c Bluetooth: ascs: Add dynamic ASE registration 2024-09-11 07:41:12 -04:00
has_client.c Bluetooth: GATT: Replace magic number 0 with macro for auto ccc 2024-09-26 17:41:24 -04:00
has_internal.h
has.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
Kconfig Bluetooth: BAP: Use def_bool instead of select for BT_AUDIO_RX/TX 2024-11-21 09:19:47 +01:00
Kconfig.aics Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.ascs Bluetooth: BAP: Depend on BT_PAC_{SNK,SRC} instead of select 2024-11-21 09:19:47 +01:00
Kconfig.bap Bluetooth: BAP: Depend on BT_PER_ADV_SYNC instead of select 2024-11-21 09:19:47 +01:00
Kconfig.cap Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.csip Bluetooth: Audio: depends on GATT instead of select 2024-11-21 09:19:47 +01:00
Kconfig.gmap
Kconfig.has Bluetooth: HAS: Change select UTF8 to depends on 2024-11-21 09:19:47 +01:00
Kconfig.mcs Bluetooth: Audio: depends on GATT instead of select 2024-11-21 09:19:47 +01:00
Kconfig.mctl
Kconfig.micp Bluetooth: Audio: depends on GATT instead of select 2024-11-21 09:19:47 +01:00
Kconfig.mpl Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
Kconfig.pacs
Kconfig.pbp
Kconfig.tbs Bluetooth: Audio: depends on GATT instead of select 2024-11-21 09:19:47 +01:00
Kconfig.tmap
Kconfig.vcp Bluetooth: Audio: depends on GATT instead of select 2024-11-21 09:19:47 +01:00
Kconfig.vocs
mcc_internal.h Bluetooth: MCC: Replace busy bool with atomic 2024-09-11 14:00:16 -04:00
mcc.c Bluetooth: GATT: Replace magic number 0 with macro for auto ccc 2024-09-26 17:41:24 -04:00
mcs_internal.h
mcs.c
media_proxy_internal.h
media_proxy.c
micp_internal.h Bluetooth: MICP: Replace busy bool with atomic 2024-09-12 14:48:40 +02:00
micp_mic_ctlr.c Bluetooth: GATT: Replace magic number 0 with macro for auto ccc 2024-09-26 17:41:24 -04:00
micp_mic_dev.c
mpl_internal.h
mpl.c Bluetooth: CCID: Improved CCID allocation 2024-10-15 04:10:28 -04:00
pacs_internal.h
pacs.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
pbp.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
tbs_client.c Bluetooth: GATT: Replace magic number 0 with macro for auto ccc 2024-09-26 17:41:24 -04:00
tbs_internal.h Bluetooth: TBS: Replace busy bool with atomic 2024-09-12 14:48:23 +02:00
tbs.c Bluetooth: CCID: Make the CCID API public 2024-10-15 04:10:28 -04:00
tmap.c
vcp_internal.h Bluetooth: VCP: Replace bools with atomic 2024-09-17 14:52:37 -04:00
vcp_vol_ctlr.c Bluetooth: GATT: Replace magic number 0 with macro for auto ccc 2024-09-26 17:41:24 -04:00
vcp_vol_rend.c LE Audio: add conn parameter for bt_vcp_vol_rend_cb 2024-08-20 14:45:35 +02:00
vocs_client.c Bluetooth: VOCS: Replace bools with atomic 2024-09-13 11:38:27 -05:00
vocs_internal.h Bluetooth: VOCS: Replace bools with atomic 2024-09-13 11:38:27 -05:00
vocs.c