From 4691b811fd78348b4d94ec3b8f092dd2f5e806ef Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Fri, 24 Jan 2025 14:39:40 +0100 Subject: [PATCH] DNM: TEST FOR MIC ERROR WHEN USING CAP Signed-off-by: Emil Gydesen --- samples/bluetooth/cap_initiator/src/cap_initiator_unicast.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/samples/bluetooth/cap_initiator/src/cap_initiator_unicast.c b/samples/bluetooth/cap_initiator/src/cap_initiator_unicast.c index 25dba8cc16d1..7aa794ac3d5c 100644 --- a/samples/bluetooth/cap_initiator/src/cap_initiator_unicast.c +++ b/samples/bluetooth/cap_initiator/src/cap_initiator_unicast.c @@ -42,7 +42,7 @@ LOG_MODULE_REGISTER(cap_initiator_unicast, LOG_LEVEL_INF); /* We use the same config for both sink and source streams * For simplicity we use the mandatory configuration 16_2_1 */ -static struct bt_bap_lc3_preset unicast_preset_16_2_1 = BT_BAP_LC3_UNICAST_PRESET_16_2_1( +static struct bt_bap_lc3_preset unicast_preset_16_2_1 = BT_BAP_LC3_UNICAST_PRESET_48_3_1( BT_AUDIO_LOCATION_MONO_AUDIO, BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED); static struct bt_bap_unicast_group *unicast_group; uint64_t total_rx_iso_packet_count; /* This value is exposed to test code */ @@ -815,6 +815,8 @@ int cap_initiator_unicast(void) LOG_INF("CAP initiator unicast initialized"); + bt_set_bondable(false); + while (true) { err = reset_cap_initiator(); if (err != 0) {