zephyr/tests/bsim
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
..
babblekit Bluetooth: tests: Add macros to babblekit 2025-02-12 09:40:07 +01:00
bluetooth Bluetooth: CSIP: Set member: Fix issue with re-registration 2025-05-27 14:45:15 +02:00
drivers/uart
net samples: Enable OpenThread logging in all related samples 2025-05-05 14:25:13 +02:00
ci.bt.sh tests: bsim: bluetooth: host: use twister to compile tests 2024-12-07 02:03:31 +01:00
ci.net.sh
ci.uart.sh tests/bsim: UART: Do not attempt to run empty set of multidevice tests 2025-03-20 17:15:27 +01:00
compile.sh
compile.source tests: bsim: support snippets 2024-11-25 14:41:43 +01:00
generate_coverage_report.sh
run_parallel.sh tests/bsim/run_parallel: Fail if an explicitly listed test is missing 2025-03-20 17:15:27 +01:00
sh_common.source tests: bsim: Fix command execution with quoted string 2025-03-07 19:52:55 +01:00