zephyr/subsys/bluetooth/audio
Emil Gydesen 52f089af23 Bluetooth: CSIP: Set member: Fix issue with re-registration
The bt_csip_set_member_register kept a counter that was not
decreased when bt_csip_set_member_unregister was called.
This meant that we could register and unregister CSIS,
but we could not re-register once it had been unregistered.

This commit fixes this by removing the counter and instead
rely on the service instance state, which also requires restoring
the original service definition, as well as adding a test that would
have failed with the previous version.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-05-27 14:45:15 +02:00
..
shell Bluetooth: Audio: Rename ctx type prohibited to none 2025-05-08 01:58:01 +02:00
aics_client.c
aics_internal.h
aics.c Bluetooth: AICS: Fix check for BT_AICS_INPUT_TYPE 2025-02-15 07:23:37 +01:00
ascs_internal.h Bluetooth: Audio: Spring cleanup for audio source files 2025-02-04 12:03:04 +01:00
ascs.c Bluetooth: Audio: Rename ctx type prohibited to none 2025-05-08 01:58:01 +02:00
audio_internal.h Bluetooth: Audio: Fix includes 2025-05-01 13:42:37 +02:00
audio.c Revert "Bluetooth: Audio: Use generic count_bits to count bits" 2025-03-18 16:39:47 +01:00
bap_base.c Bluetooth: BAP: Remove ISO limitation on BASE parsing 2025-01-17 09:08:16 +01:00
bap_broadcast_assistant.c Bluetooth: BAP: BA: Add check for mixing NO_PREF with specific BIS 2025-05-27 12:02:16 +01:00
bap_broadcast_sink.c Bluetooth: Audio: fix BIS_Sync_State for BASS server 2025-05-16 17:32:28 +02:00
bap_broadcast_source.c Bluetooth: ISO: Make setting ISO data explicit 2025-03-19 10:56:57 +01:00
bap_endpoint.h Bluetooth: BAP: Fix issue with sink recv state notifications 2025-02-06 21:13:15 +01:00
bap_internal.h
bap_iso.c Bluetooth: Audio: Fix includes 2025-05-01 13:42:37 +02:00
bap_iso.h Bluetooth: ISO: Make setting ISO data explicit 2025-03-19 10:56:57 +01:00
bap_scan_delegator.c Bluetooth: BAP: SD: Add check for mixing NO_PREF with specific BIS 2025-05-27 12:02:16 +01:00
bap_stream.c
bap_stream.h Bluetooth: Audio: Fix includes 2025-05-01 13:42:37 +02:00
bap_unicast_client_internal.h Bluetooth: Audio: Spring cleanup for audio source files 2025-02-04 12:03:04 +01:00
bap_unicast_client.c Bluetooth: ISO: Make setting ISO data explicit 2025-03-19 10:56:57 +01:00
bap_unicast_server.c
bap_unicast_server.h
cap_acceptor.c
cap_commander.c Bluetooth: CAP: Add better active_proc checks 2025-04-07 09:59:08 +02:00
cap_common.c Bluetooth: CAP: Add better active_proc checks 2025-04-07 09:59:08 +02:00
cap_initiator.c Bluetooth: CAP: Broadcast: Add missing ISO test parameters 2025-04-30 10:54:56 +01:00
cap_internal.h Bluetooth: CAP: Add better active_proc checks 2025-04-07 09:59:08 +02:00
cap_stream.c
ccid.c
ccp_call_control_client.c Bluetooth: Audio: Fix includes 2025-05-01 13:42:37 +02:00
ccp_call_control_server.c Bluetooth: Audio: Fix includes 2025-05-01 13:42:37 +02:00
CMakeLists.txt Bluetooth: CCP: Initial CCP Client implemenation 2025-01-28 09:46:39 +01:00
codec.c
csip_crypto.c Bluetooth: audio: Fix byteorder in csip sef crypto function 2025-01-20 16:28:35 +01:00
csip_crypto.h Bluetooth: CSIP: Update documentation for CSIP crypto functions 2025-02-08 08:13:17 +01:00
csip_internal.h Bluetooth: CSIP: Update documentation for CSIP crypto functions 2025-02-08 08:13:17 +01:00
csip_set_coordinator.c Bluetooth: CSIP: Add support for dynamically setting set size 2025-03-20 14:23:40 +01:00
csip_set_member.c Bluetooth: CSIP: Set member: Fix issue with re-registration 2025-05-27 14:45:15 +02:00
gmap_client.c
gmap_server.c
has_client.c
has_internal.h
has.c Bluetooth: Host: Make bt_le_addr_is_bonded public 2025-03-13 10:48:19 +01:00
Kconfig
Kconfig.aics Bluetooth: Audio: Add dependency for BT_SMP 2025-02-05 14:57:20 +01:00
Kconfig.ascs Bluetooth: Audio: Add dependency for BT_SMP 2025-02-05 14:57:20 +01:00
Kconfig.bap Bluetooth: BAP: Remove GATT_CACHING req for unicast server 2025-02-14 19:15:57 +00:00
Kconfig.cap
Kconfig.ccp Bluetooth: CCP: Initial CCP Client implemenation 2025-01-28 09:46:39 +01:00
Kconfig.csip Bluetooth: CSIP: Add support for dynamically setting set size 2025-03-20 14:23:40 +01:00
Kconfig.gmap
Kconfig.has Bluetooth: Audio: Add dependency for BT_SMP 2025-02-05 14:57:20 +01:00
Kconfig.mcs Bluetooth: Audio: Add dependency for BT_SMP 2025-02-05 14:57:20 +01:00
Kconfig.mctl
Kconfig.micp
Kconfig.mpl
Kconfig.pacs Bluetooth: Audio: Add dependency for BT_SMP 2025-02-05 14:57:20 +01:00
Kconfig.pbp
Kconfig.tbs Bluetooth: TBS: Ensure sending notifications 2025-03-13 10:27:59 +01:00
Kconfig.tmap
Kconfig.vcp Bluetooth: Audio: Add dependency for BT_SMP 2025-02-05 14:57:20 +01:00
Kconfig.vocs Bluetooth: Audio: Add dependency for BT_SMP 2025-02-05 14:57:20 +01:00
mcc_internal.h
mcc.c
mcs_internal.h
mcs.c Bluetooth: Audio: Add common bt_audio_get_max_ntf_size 2025-02-14 19:15:42 +00:00
media_proxy_internal.h
media_proxy.c
micp_internal.h
micp_mic_ctlr.c
micp_mic_dev.c
mpl_internal.h
mpl.c
pacs_internal.h Bluetooth: BAP: Add common capability check 2025-01-15 19:04:31 +01:00
pacs.c Bluetooth: Audio: Rename ctx type prohibited to none 2025-05-08 01:58:01 +02:00
pbp.c
tbs_client.c Bluetooth: TBS: Client: Fix sizeof('\0') 2025-03-28 12:20:10 +01:00
tbs_internal.h
tbs.c Bluetooth: TBS: Add support for long read with dirty bit 2025-04-29 13:00:07 +02:00
tmap.c
vcp_internal.h
vcp_vol_ctlr.c
vcp_vol_rend.c
vocs_client.c
vocs_internal.h
vocs.c