nRF5340 LE Audio Samsung Galaxy Buds2 Pro - Multiple Problems

Hello,

I using the Samsung Galaxy Buds2 Pro headphones to connect to the latest v2.4.0 nRF SDK. I am using the LE Audio demo code as gateway. The demo connects successfully out of the box to the headphones, with some modifications to the prj.conf file, using the nRF5340 Audio DK. For my project needs, I have both source and sink enabled via CONFIG_STREAM_BIDIRECTIONAL.

CONFIG_AUDIO_DEV=2

CONFIG_BT_DEVICE_NAME="Galaxy Buds2 Pro"
#QOS will fail without this
CONFIG_BT_AUDIO_PRESENTATION_DELAY_US=40000
#Seem to get failed to discover without this
CONFIG_BLE_ACL_CONN_INTERVAL=72
CONFIG_BT_AUDIO_MAX_TRANSPORT_LATENCY_MS=100
CONFIG_LOG_BUFFER_SIZE=8192
CONFIG_BT_AUDIO_RETRANSMITS=2
CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT=2

CONFIG_STREAM_BIDIRECTIONAL=y
CONFIG_WALKIE_TALKIE_DEMO=y

CONFIG_AUDIO_SOURCE_I2S=y
CONFIG_BT_BONDABLE=n

CONFIG_BT_VCP_VOL_CTLR=n

Problem #1 - Controller Crashes

If you connect to the right headset first, then connect to the left headset, the"ble5-ctr-rpmsg_3349" controller crashes. I believe this also happened on the 3330 controller as well.

The crash happens after calling bt_bap_stream_start on the Left SINK. This only happens if you connect to the right headset first, followed by the left.

Once the controller crashes, the next call to bt_hci_cmd_send_sync will fail on semaphore take "timeout with err -11". This usually happens either on the next le_audio_send stream send OR on the ble_core.c watchdog call to net_core_ctrl_version_get.

Log:

         nRF5340 Audio nRF5340 Audio DK cpuapp
         NCS base version: 2.4.0
         Cmake run : Tue Jun 13 05:32:12 2023
GW [00:00:00.258,209] <inf> fw_info: ------- DEBUG BUILD -------
GW [00:00:00.258,239] <inf> fw_info: Compiled for GATEWAY device
GW [00:00:00.268,859] <inf> board_version: Compatible board/HW version found: 1.0.0
GW [00:00:00.305,755] <wrn> bt_hci_core: Controller to host flow control not supported
GW [00:00:00.308,898] <inf> bt_hci_core: No ID address. App must call settings_load()
GW [00:00:00.308,959] <inf> ble: MAC: 00:00:00:00:00:00 (public)
GW [00:00:00.309,509] <inf> ble: Controller version: 3349
GW [00:00:00.312,500] <err> settings: set-value failure. key: bt/name error(-2)
GW [00:00:00.312,591] <inf> bt_hci_core: Identity: FD:60:E5:B4:2A:20 (random)
GW [00:00:00.312,622] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x0d15, manufacturer 0x07e8
GW [00:00:00.312,622] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0x0d15
GW [00:00:00.430,725] <inf> cis_gateway: Scanning successfully started
GW [00:00:05.272,583] <inf> cis_gateway: Connected: 7F:3B:83:F5:3B:A8 (random)
GW [00:00:07.189,117] <err> cis_gateway: <<<<< security_changed_cb >>>>>
GW [00:00:07.189,117] <err> cis_gateway: <<<<< discover_sink >>>>>
GW [00:00:07.457,885] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:08.467,346] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:08.467,346] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_RIGHT 0x20005698
GW [00:00:08.468,078] <inf> cis_gateway: Scanning successfully started
GW [00:00:08.857,391] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:08.917,388] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:08.917,419] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
GW [00:00:09.217,315] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:09.217,437] <err> cis_gateway: <<<<< discover_source >>>>>
GW [00:00:09.257,995] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:09.258,026] <inf> cis_gateway: RIGHT sink stream configured
GW [00:00:09.258,544] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:09.577,362] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:09.857,421] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:10.107,452] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:10.147,583] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:10.147,583] <inf> cis_gateway: RIGHT source stream configured
GW [00:00:10.207,916] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:10.207,946] <inf> cis_gateway: Enable stream 0x200023cc
GW [00:00:10.208,404] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:10.208,465] <inf> cis_gateway: Enable stream 0x200021ac
GW [00:00:10.257,415] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:10.258,331] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:10.427,459] <err> cis_gateway: <<<<< stream_started_cb >>>>>
GW [00:00:10.427,459] <inf> cis_gateway: Stream 0x200021ac started
GW [00:00:10.453,308] <wrn> bt_hci_core: opcode 0x2061 status 0x0c
GW [00:00:10.921,203] <err> cis_gateway: <<<<< stream_started_cb >>>>>
GW [00:00:10.921,234] <inf> cis_gateway: Stream 0x200023cc started
GW [00:00:12.058,898] <inf> cis_gateway: Connected: 71:09:B2:4D:BC:12 (random)
GW [00:00:14.863,433] <err> cis_gateway: <<<<< security_changed_cb >>>>>
GW [00:00:14.863,464] <err> cis_gateway: <<<<< discover_sink >>>>>
GW [00:00:15.131,622] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:15.439,147] <wrn> audio_datapath: In I2S TX underrun condition, total: 5000
GW [00:00:16.901,458] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:16.901,458] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_LEFT 0x20005760
GW [00:00:16.901,458] <inf> cis_gateway: All headsets connected
GW [00:00:17.471,496] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:17.531,494] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:17.531,524] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
GW [00:00:18.071,441] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:18.071,563] <err> cis_gateway: <<<<< discover_source >>>>>
GW [00:00:18.141,662] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:18.141,693] <inf> cis_gateway: LEFT sink stream configured
GW [00:00:18.151,611] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:18.651,519] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:19.131,591] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:19.551,605] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:19.641,693] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:19.641,723] <inf> cis_gateway: LEFT source stream configured
GW [00:00:19.751,586] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:19.751,617] <inf> cis_gateway: Enable stream 0x20001f0c
GW [00:00:19.761,718] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:19.761,779] <inf> cis_gateway: Enable stream 0x20001cec
GW [00:00:19.821,533] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:19.851,562] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:19.857,177] <wrn> audio_datapath: I2S RX overrun. Single msg
GW [00:00:19.942,169] <wrn> audio_datapath: I2S RX continuing stream
GW [00:00:19.962,158] <wrn> audio_datapath: I2S RX overrun. Single msg
GW [00:00:20.439,147] <wrn> audio_datapath: In I2S TX underrun condition, total: 10000
GW [00:00:25.439,147] <wrn> audio_datapath: In I2S TX underrun condition, total: 15000
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:330
        command opcode 0x2061 timeout with err -11
GW [00:00:29.958,007] <err> os: r0/a1:  0x00000003  r1/a2:  0x00000002  r2/a3:  0x00000001
GW [00:00:29.958,038] <err> os: r3/a4:  0x0000014a r12/ip:  0x00407fd0 r14/lr:  0x00020c95
GW [00:00:29.958,038] <err> os:  xpsr:  0x41100000
GW [00:00:29.958,038] <err> os: s[ 0]:  0x00000000  s[ 1]:  0x0000001c  s[ 2]:  0x00000000  s[ 3]:  0x000000a2
GW [00:00:29.958,038] <err> os: s[ 4]:  0x00000010  s[ 5]:  0x0000001a  s[ 6]:  0x00000000  s[ 7]:  0x000000a2
GW [00:00:29.958,068] <err> os: s[ 8]:  0x00000000  s[ 9]:  0x000000a2  s[10]:  0x00000003  s[11]:  0x00000002
GW [00:00:29.958,068] <err> os: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x00000031  s[15]:  0x00000000
GW [00:00:29.958,068] <err> os: fpscr:  0x20000010
GW [00:00:29.958,099] <err> os: Faulting instruction address (r15/pc): 0x00020ca0
GW [00:00:29.958,099] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
GW [00:00:29.958,129] <err> os: Current thread: 0x200018c0 (ENCODER)
GW [00:00:29.958,129] <err> error_handler: Caught system error -- reason 3. Entering infinite loop

Problem #2 - Connection constantly disconnects

There seems to be a possible timing issue when connecting a headset stream, then starting the scan / connection to the other headset.

After starting the left headset stream, when you start scanning / connecting to the right headset, the left headset drops connection. It happens as soon as the right headset starts scan / connection. I have noticed that if you start searching for the right headset later in time / further in the code connection sequence, this happens much less frequently. The ACL scan is originally in unicast_client_location_cb. If I move the ACL scan to discover_source_cb or stream_enabled_cb, the issue happens much less frequently. If this is time dependent, then this is also likely a problem because as we add code to the rest of the system, time could change again and cause the issue to come back.
         nRF5340 Audio nRF5340 Audio DK cpuapp
         NCS base version: 2.4.0
         Cmake run : Tue Jun 13 05:32:12 2023
GW [00:00:00.259,490] <inf> fw_info: ------- DEBUG BUILD -------
GW [00:00:00.259,521] <inf> fw_info: Compiled for GATEWAY device
GW [00:00:00.270,141] <inf> board_version: Compatible board/HW version found: 1.0.0
GW [00:00:00.307,037] <wrn> bt_hci_core: Controller to host flow control not supported
GW [00:00:00.310,150] <inf> bt_hci_core: No ID address. App must call settings_load()
GW [00:00:00.310,241] <inf> ble: MAC: 00:00:00:00:00:00 (public)
GW [00:00:00.310,791] <inf> ble: Controller version: 3349
GW [00:00:00.313,781] <err> settings: set-value failure. key: bt/name error(-2)
GW [00:00:00.313,873] <inf> bt_hci_core: Identity: FD:60:E5:B4:2A:20 (random)
GW [00:00:00.313,903] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x0d15, manufacturer 0x07e8
GW [00:00:00.313,903] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0x0d15
GW [00:00:00.432,067] <inf> cis_gateway: Scanning successfully started
GW [00:00:00.517,395] <inf> cis_gateway: Connected: 60:20:E9:4A:5E:67 (random)
GW [00:00:02.330,261] <err> cis_gateway: <<<<< security_changed_cb >>>>>
GW [00:00:02.330,291] <err> cis_gateway: <<<<< discover_sink >>>>>
GW [00:00:02.599,548] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:03.478,485] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:03.478,485] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_LEFT 0x20005698
GW [00:00:03.479,217] <inf> cis_gateway: Scanning successfully started
GW [00:00:03.625,518] <inf> cis_gateway: Connected: 4B:D7:D6:29:40:2F (random)
GW [00:00:03.878,540] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:03.918,548] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:03.918,579] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
GW [00:00:04.308,471] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:04.308,593] <err> cis_gateway: <<<<< discover_source >>>>>
GW [00:00:04.368,713] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:04.368,713] <inf> cis_gateway: LEFT sink stream configured
GW [00:00:04.369,262] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:04.718,963] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:05.078,552] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:05.378,601] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:05.419,189] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:05.419,189] <inf> cis_gateway: LEFT source stream configured
GW [00:00:05.489,044] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:05.489,105] <inf> cis_gateway: Enable stream 0x20001f0c
GW [00:00:05.489,593] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:05.489,654] <inf> cis_gateway: Enable stream 0x20001cec
GW [00:00:05.521,972] <err> cis_gateway: <<<<< security_changed_cb >>>>>
GW [00:00:05.522,003] <err> cis_gateway: <<<<< discover_sink >>>>>
GW [00:00:05.528,533] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:05.539,001] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:05.539,855] <wrn> bt_hci_core: opcode 0x206f status 0x0c
GW [00:00:05.540,100] <wrn> bt_hci_core: opcode 0x206f status 0x12
GW [00:00:05.540,130] <inf> cis_gateway: Stream 0x20001f0c stopped. Reason 13
GW [00:00:05.540,130] <wrn> cis_gateway: Unknown stream
GW [00:00:05.540,130] <inf> cis_gateway: Stream 0x20001cec stopped. Reason 13
GW [00:00:05.790,588] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:06.039,703] <wrn> bt_conn: no transition connecting
GW [00:00:06.040,222] <wrn> bt_hci_core: opcode 0x206f status 0x0c
GW [00:00:06.040,496] <wrn> bt_hci_core: opcode 0x206f status 0x12
GW [00:00:06.040,496] <inf> cis_gateway: Stream 0x20001f0c stopped. Reason 13
GW [00:00:06.040,496] <wrn> cis_gateway: Unknown stream
GW [00:00:06.040,527] <inf> cis_gateway: Stream 0x20001cec stopped. Reason 13
GW [00:00:06.502,532] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:06.502,532] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_RIGHT 0x20005760
GW [00:00:06.502,532] <inf> cis_gateway: All headsets connected
GW [00:00:06.872,558] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:06.912,567] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:06.912,597] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
GW [00:00:07.292,510] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:07.292,633] <err> cis_gateway: <<<<< discover_source >>>>>
GW [00:00:07.313,171] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:07.313,201] <inf> cis_gateway: RIGHT sink stream configured
GW [00:00:07.313,751] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:07.662,567] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:08.012,603] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:08.272,644] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:08.313,201] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:08.313,232] <inf> cis_gateway: RIGHT source stream configured
GW [00:00:08.372,619] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:08.372,680] <inf> cis_gateway: Enable stream 0x200023cc
GW [00:00:08.373,138] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:08.373,199] <inf> cis_gateway: Enable stream 0x200021ac
GW [00:00:08.442,596] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:08.443,511] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:10.444,152] <err> cis_gateway: Failed to establish CIS, ret = -16
GW [00:00:10.463,104] <wrn> bt_hci_core: opcode 0x206f status 0x0c
GW [00:00:10.463,531] <wrn> bt_hci_core: opcode 0x206f status 0x12
GW [00:00:10.463,562] <inf> cis_gateway: Stream 0x200023cc stopped. Reason 13
GW [00:00:10.463,562] <wrn> cis_gateway: Unknown stream
GW [00:00:10.463,562] <inf> cis_gateway: Stream 0x200021ac stopped. Reason 13
GW [00:00:10.464,843] <wrn> cis_gateway: Unknown stream
GW [00:00:10.464,935] <inf> cis_gateway: Disconnected: 4B:D7:D6:29:40:2F (random) (reason 0x16)
GW [00:00:10.465,576] <inf> cis_gateway: Scanning successfully started
GW [00:00:10.861,907] <inf> cis_gateway: Connected: 44:EF:53:25:6B:96 (random)
GW [00:00:12.492,218] <err> cis_gateway: <<<<< security_changed_cb >>>>>
GW [00:00:12.492,218] <err> cis_gateway: <<<<< discover_sink >>>>>
GW [00:00:12.670,776] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:13.642,730] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:13.642,730] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_RIGHT 0x20005760
GW [00:00:13.642,730] <inf> cis_gateway: All headsets connected
GW [00:00:14.002,777] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:14.052,764] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:14.052,795] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
GW [00:00:14.422,698] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:14.422,821] <err> cis_gateway: <<<<< discover_source >>>>>
GW [00:00:14.463,378] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:14.463,409] <inf> cis_gateway: RIGHT sink stream configured
GW [00:00:14.472,869] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:14.832,763] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:15.202,789] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:15.472,839] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:15.512,969] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:15.512,969] <inf> cis_gateway: RIGHT source stream configured
GW [00:00:15.573,303] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:15.573,333] <inf> cis_gateway: Enable stream 0x200023cc
GW [00:00:15.583,007] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:15.583,068] <inf> cis_gateway: Enable stream 0x200021ac
GW [00:00:15.613,250] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:15.633,239] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:15.633,636] <wrn> bt_conn: no transition connecting
GW [00:00:17.633,911] <err> cis_gateway: Failed to establish CIS, ret = -16
GW [00:00:17.653,320] <wrn> bt_hci_core: opcode 0x206f status 0x0c
GW [00:00:17.653,747] <wrn> bt_hci_core: opcode 0x206f status 0x12
GW [00:00:17.653,747] <inf> cis_gateway: Stream 0x200023cc stopped. Reason 13
GW [00:00:17.653,778] <wrn> cis_gateway: Unknown stream
GW [00:00:17.653,778] <inf> cis_gateway: Stream 0x200021ac stopped. Reason 13
GW [00:00:17.654,998] <wrn> cis_gateway: Unknown stream
GW [00:00:17.655,090] <inf> cis_gateway: Disconnected: 44:EF:53:25:6B:96 (random) (reason 0x16)
GW [00:00:17.655,731] <inf> cis_gateway: Scanning successfully started
GW [00:00:18.001,403] <inf> cis_gateway: Connected: 48:1A:C0:46:05:23 (random)
GW [00:00:19.722,412] <err> cis_gateway: <<<<< security_changed_cb >>>>>
GW [00:00:19.722,412] <err> cis_gateway: <<<<< discover_sink >>>>>
GW [00:00:19.901,489] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:20.742,919] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:20.742,919] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_RIGHT 0x20005760
GW [00:00:20.742,919] <inf> cis_gateway: All headsets connected
GW [00:00:21.082,977] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:21.132,965] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:21.132,995] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
GW [00:00:21.482,910] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:21.483,001] <err> cis_gateway: <<<<< discover_source >>>>>
GW [00:00:21.513,580] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:21.513,580] <inf> cis_gateway: RIGHT sink stream configured
GW [00:00:21.514,739] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:21.872,955] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:22.162,994] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:22.413,024] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:22.453,155] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:22.453,155] <inf> cis_gateway: RIGHT source stream configured
GW [00:00:22.513,031] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:22.513,061] <inf> cis_gateway: Enable stream 0x200023cc
GW [00:00:22.513,519] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:22.513,580] <inf> cis_gateway: Enable stream 0x200021ac
GW [00:00:22.552,978] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:22.563,446] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:22.563,812] <wrn> bt_conn: no transition connecting
GW [00:00:24.564,117] <err> cis_gateway: Failed to establish CIS, ret = -16
GW [00:00:24.573,516] <wrn> bt_hci_core: opcode 0x206f status 0x0c
GW [00:00:24.573,944] <wrn> bt_hci_core: opcode 0x206f status 0x12
GW [00:00:24.573,944] <inf> cis_gateway: Stream 0x200023cc stopped. Reason 13
GW [00:00:24.573,944] <wrn> cis_gateway: Unknown stream
GW [00:00:24.573,974] <inf> cis_gateway: Stream 0x200021ac stopped. Reason 13
GW [00:00:24.575,195] <wrn> cis_gateway: Unknown stream
GW [00:00:24.575,286] <inf> cis_gateway: Disconnected: 48:1A:C0:46:05:23 (random) (reason 0x16)
GW [00:00:24.575,927] <inf> cis_gateway: Scanning successfully started
GW [00:00:25.193,725] <inf> cis_gateway: Connected: 7B:A7:91:0C:AE:5E (random)
GW [00:00:27.002,624] <err> cis_gateway: <<<<< security_changed_cb >>>>>
GW [00:00:27.002,624] <err> cis_gateway: <<<<< discover_sink >>>>>
GW [00:00:27.181,182] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:28.093,109] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:28.093,139] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_RIGHT 0x20005760
GW [00:00:28.093,139] <inf> cis_gateway: All headsets connected
GW [00:00:28.453,155] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:28.503,173] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:28.503,204] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
GW [00:00:28.843,109] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:28.843,231] <err> cis_gateway: <<<<< discover_source >>>>>
GW [00:00:28.863,769] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:28.863,800] <inf> cis_gateway: RIGHT sink stream configured
GW [00:00:28.864,349] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:29.163,146] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:29.473,205] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:29.793,273] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:29.833,343] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:29.833,374] <inf> cis_gateway: RIGHT source stream configured
GW [00:00:29.893,707] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:29.893,737] <inf> cis_gateway: Enable stream 0x200023cc
GW [00:00:29.894,195] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:29.894,256] <inf> cis_gateway: Enable stream 0x200021ac
GW [00:00:29.933,197] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:29.943,634] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:29.944,030] <wrn> bt_conn: no transition connecting
GW [00:00:31.944,305] <err> cis_gateway: Failed to establish CIS, ret = -16
GW [00:00:31.954,101] <wrn> bt_hci_core: opcode 0x206f status 0x0c
GW [00:00:31.954,528] <wrn> bt_hci_core: opcode 0x206f status 0x12
GW [00:00:31.954,528] <inf> cis_gateway: Stream 0x200023cc stopped. Reason 13
GW [00:00:31.954,559] <wrn> cis_gateway: Unknown stream
GW [00:00:31.954,559] <inf> cis_gateway: Stream 0x200021ac stopped. Reason 13
GW [00:00:31.955,810] <wrn> cis_gateway: Unknown stream
GW [00:00:31.955,902] <inf> cis_gateway: Disconnected: 7B:A7:91:0C:AE:5E (random) (reason 0x16)
GW [00:00:31.956,542] <inf> cis_gateway: Scanning successfully started
GW [00:00:32.355,743] <inf> cis_gateway: Connected: 61:E7:90:D0:18:37 (random)
GW [00:00:33.892,791] <err> cis_gateway: <<<<< security_changed_cb >>>>>
GW [00:00:33.892,822] <err> cis_gateway: <<<<< discover_sink >>>>>
GW [00:00:34.071,380] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:35.243,316] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:35.243,347] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_RIGHT 0x20005760
GW [00:00:35.243,347] <inf> cis_gateway: All headsets connected
GW [00:00:35.583,374] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:35.623,382] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:35.623,413] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
GW [00:00:35.933,319] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:35.933,410] <err> cis_gateway: <<<<< discover_source >>>>>
GW [00:00:35.973,968] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:35.973,999] <inf> cis_gateway: RIGHT sink stream configured
GW [00:00:35.983,489] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:36.313,354] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:36.603,393] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:36.863,433] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:36.903,564] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:36.903,564] <inf> cis_gateway: RIGHT source stream configured
GW [00:00:36.953,887] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:36.953,948] <inf> cis_gateway: Enable stream 0x200023cc
GW [00:00:36.963,592] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:36.963,653] <inf> cis_gateway: Enable stream 0x200021ac
GW [00:00:36.993,835] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:37.023,376] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:37.023,773] <wrn> bt_conn: no transition connecting
GW [00:00:39.024,047] <err> cis_gateway: Failed to establish CIS, ret = -16
GW [00:00:39.033,905] <wrn> bt_hci_core: opcode 0x206f status 0x0c
GW [00:00:39.034,332] <wrn> bt_hci_core: opcode 0x206f status 0x12
GW [00:00:39.034,362] <inf> cis_gateway: Stream 0x200023cc stopped. Reason 13
GW [00:00:39.034,362] <wrn> cis_gateway: Unknown stream
GW [00:00:39.034,362] <inf> cis_gateway: Stream 0x200021ac stopped. Reason 13
GW [00:00:39.035,583] <wrn> cis_gateway: Unknown stream
GW [00:00:39.035,705] <inf> cis_gateway: Disconnected: 61:E7:90:D0:18:37 (random) (reason 0x16)
GW [00:00:39.036,346] <inf> cis_gateway: Scanning successfully started
GW [00:00:39.435,546] <inf> cis_gateway: Connected: 58:44:76:E7:1F:C8 (random)
GW [00:00:41.153,015] <err> cis_gateway: <<<<< security_changed_cb >>>>>
GW [00:00:41.153,015] <err> cis_gateway: <<<<< discover_sink >>>>>
GW [00:00:41.421,569] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:42.353,515] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:42.353,546] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_RIGHT 0x20005760
GW [00:00:42.353,546] <inf> cis_gateway: All headsets connected
GW [00:00:42.703,552] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:42.743,560] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:42.743,591] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
GW [00:00:43.113,494] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:43.113,616] <err> cis_gateway: <<<<< discover_source >>>>>
GW [00:00:43.163,726] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:43.163,757] <inf> cis_gateway: RIGHT sink stream configured
GW [00:00:43.164,276] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:43.473,541] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
GW [00:00:43.763,610] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:44.023,651] <err> cis_gateway: <<<<< discover_source_cb >>>>>
GW [00:00:44.044,189] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
GW [00:00:44.044,219] <inf> cis_gateway: RIGHT source stream configured
GW [00:00:44.064,086] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:44.064,147] <inf> cis_gateway: Enable stream 0x200023cc
GW [00:00:44.064,605] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
GW [00:00:44.064,636] <inf> cis_gateway: Enable stream 0x200021ac
GW [00:00:44.074,127] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:44.084,045] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
GW [00:00:44.084,411] <wrn> bt_conn: no transition connecting
GW [00:00:46.084,686] <err> cis_gateway: Failed to establish CIS, ret = -16
GW [00:00:46.094,116] <wrn> bt_hci_core: opcode 0x206f status 0x0c
GW [00:00:46.094,543] <wrn> bt_hci_core: opcode 0x206f status 0x12
GW [00:00:46.094,543] <inf> cis_gateway: Stream 0x200023cc stopped. Reason 13
GW [00:00:46.094,543] <wrn> cis_gateway: Unknown stream
GW [00:00:46.094,573] <inf> cis_gateway: Stream 0x200021ac stopped. Reason 13
GW [00:00:46.095,794] <wrn> cis_gateway: Unknown stream
GW [00:00:46.095,886] <inf> cis_gateway: Disconnected: 58:44:76:E7:1F:C8 (random) (reason 0x16)
GW [00:00:46.096,527] <inf> cis_gateway: Scanning successfully started
GW [00:00:46.213,775] <inf> cis_gateway: Connected: 40:EB:E0:AD:11:02 (random)
GW [00:00:47.311,126] <wrn> cis_gateway: Unknown stream
GW [00:00:47.311,218] <inf> cis_gateway: Disconnected: 60:20:E9:4A:5E:67 (random) (reason 0x13)
GW [00:00:47.311,889] <inf> cis_gateway: Scanning successfully started
GW [00:00:47.763,641] <err> cis_gateway: <<<<< security_changed_cb >>>>>
GW [00:00:47.763,641] <err> cis_gateway: <<<<< discover_sink >>>>>
GW [00:00:47.843,658] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
GW [00:00:47.843,658] <err> cis_gateway: Discovery failed: 14
GW [00:00:47.843,811] <inf> cis_gateway: Disconnected: 40:EB:E0:AD:11:02 (random) (reason 0x13)
GW [00:00:47.843,811] <wrn> cis_gateway: Connection not found
GW [00:00:47.843,841] <wrn> cis_gateway: Unknown connection
GW [00:00:47.843,841] <inf> cis_gateway: Scanning successfully started

Problem #3 - Source audio not always acquired

The next issue that I have seen is if you connect to the headset successfully, the first time the connection is made, the source (headset microphone) audio will play on the headphone jack every time. The issue comes when you put the headset back in the case and close the lid, then re-open and take the headset out. The next successful connection will have a 50% chance of the microphone audio playing on the headphone jack. This 50% chance of source audio working happens every time you put the headphones back in the case and take them out again. 

One note: I have also tested this on a non-audio DK, with the source audio being fed back into the headset sink. For this reason, I don't think the issue has to do with the I2S or HW codec etc.

Lastly, it looks like the audio in data is still being received since the callback for Rx data is still being called.

I have attached an example project. It is the LE audio demo code with minor modifications. Search for <Modified> in the code to see what I modified. The modifications were only made in prj.conf and le_audio_cis_gateway.c

nrf2_4_0_AudioDemo.zip

  • Hello,

    Thank you for the detailed report!
    I will have to discuss a few things with the team internally tomorrow and I will get back to you with an update after that.

    Best regards,
    Karl

  • Hello again,

    We have not yet performed any tests with the Galaxy buds pro 2 since the nRF Connect SDK v2.4 release, but we will schedule some next week to take a closer look at the issues you have reported here. In the meantime, I have a few suggestions you could try on your own, along with some additional questions.

    The demo connects successfully out of the box to the headphones, with some modifications to the prj.conf file, using the nRF5340 Audio DK. For my project needs, I have both source and sink enabled via CONFIG_STREAM_BIDIRECTIONAL.

    We have not yet tested using bidirectional streams with the galaxy buds pro 2 before. Does everything work as expected when you run the same test without the CONFIG_STREAM_BIDIRECTIONAL set?

    Regarding Problem #1:
    This behavior was indeed a known issue with the 3330 controller, but it was resolved before the v3349 release, so this is a very interesting report.
    I will need to discuss this some more with the team, and we will test this specifically next week.

    Regarding Problem #2:
    When we tested with the Galaxy buds pro 2 before we found that we had to make these modifications to our gateway device to have the most stable connection to the Galaxy buds pro 2:
    - The presentation delay must be set to 40 ms
    - The ACL connection interval should be 45 ms
    - The maximum number of retransmissions we should use is 2
    - There should be a small delay between the establishment of the two CISs

    Please make sure that you are using these configuration in your test, and see if that improves the stability of the connection.

    Regarding Problem #3:
    During our last round of testing with the Galaxy Buds Pro 2 we saw that there was some issue with the bonding to the earbuds, which perhaps could be related to what you are seeing here.
    Is the ACL to the earbuds terminated when they are put in the case?
    You mention that it works 50% of the time, could you elaborate on the behavior on the other 50% of the time when it is not working?
    It would also be great if you could capture a sniffer trace of these two scenarios (just of the link establishments, not of the ISO parts), so that I could check if there any indication of what goes wrong when it does.

    Again I would like to thank you for the detailed report, and I will keep you updated on any news from our own testing of the Galaxy Buds Pro 2 next week :) 

    Best regards,
    Karl

  • Thanks for your reply Karl.

    I haven't spent as much time testing without mic audio as it is needed for our project. I did a quick test and it looks like left connects, but right fails to connect. Some times it looks like it is going through successfully and then it gets a -22 on bt_bap_stream_qos. I haven't spent that as much time with this case though.

    Note:

    This is minor but if you start audio system twice in a row, you get a crash.

    Response Problem #2:

    Interesting, adding the delay between establishment of the two CISs may help explain why I had to put the start of the right headset connection a bit later in the connection sequence. It effectively adds a delay.

    I am using the settings ya'll provided except that I tend to see a bit better connection reliability with 2x the ACL connection interval, 90 ms. Both work, but I tend to see the left make a successful connection, then fail starting into the right connection more often with 45 ms. This still happens with 90 ms connection, but seemingly less frequently.

    *** Booting Zephyr OS build v3.3.99-ncs1 ***
    GW [00:00:00.258,972] <inf> fw_info:
             nRF5340 Audio nRF5340 Audio DK cpuapp
             NCS base version: 2.4.0
             Cmake run : Mon Jun 19 00:56:49 2023
    GW [00:00:00.258,972] <inf> fw_info: ------- DEBUG BUILD -------
    GW [00:00:00.259,002] <inf> fw_info: Compiled for GATEWAY device
    GW [00:00:00.269,622] <inf> board_version: Compatible board/HW version found: 1.0.0
    GW [00:00:00.306,121] <wrn> bt_hci_core: Controller to host flow control not supported
    GW [00:00:00.309,265] <inf> bt_hci_core: No ID address. App must call settings_load()
    GW [00:00:00.309,326] <inf> ble: MAC: 00:00:00:00:00:00 (public)
    GW [00:00:00.309,906] <inf> ble: Controller version: 3349
    GW [00:00:00.314,575] <err> settings: set-value failure. key: bt/name error(-2)
    GW [00:00:00.314,666] <inf> bt_hci_core: Identity: FD:60:E5:B4:2A:20 (random)
    GW [00:00:00.314,697] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x0d15, manufacturer 0x07e8
    GW [00:00:00.314,697] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0x0d15
    GW [00:00:00.431,243] <inf> cis_gateway: Scanning successfully started
    GW [00:00:05.035,766] <inf> cis_gateway: Connected: 40:5E:F6:5A:C4:9E (public)
    GW [00:00:06.320,587] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:06.320,617] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:06.398,651] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:06.998,443] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:06.998,443] <wrn> cis_gateway: Found right headset but must connect left headset first.
    GW [00:00:06.998,748] <err> bt_bap_unicast_client: Unable to read available contexts
    GW [00:00:06.998,779] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:06.998,779] <wrn> cis_gateway: Connection not found
    GW [00:00:06.998,779] <err> cis_gateway: Unknown connection, should not reach here
    GW [00:00:07.020,812] <inf> cis_gateway: Disconnected: 40:5E:F6:5A:C4:9E (public) (reason 0x16)
    GW [00:00:07.020,812] <wrn> cis_gateway: Connection not found
    GW [00:00:07.020,812] <wrn> cis_gateway: Unknown connection
    GW [00:00:07.021,392] <inf> cis_gateway: Scanning successfully started
    GW [00:00:07.060,119] <inf> cis_gateway: Connected: 62:34:1B:4D:B0:D8 (random)
    GW [00:00:08.320,678] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:08.320,678] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:08.348,236] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:08.698,120] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:08.698,120] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_LEFT 0x20005698
    GW [00:00:09.078,155] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:09.118,164] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:09.118,194] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
    GW [00:00:09.458,099] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:09.458,221] <err> cis_gateway: <<<<< discover_source >>>>>
    GW [00:00:09.478,759] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
    GW [00:00:09.478,790] <inf> cis_gateway: LEFT sink stream configured
    GW [00:00:09.479,309] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:09.808,135] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:10.148,193] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:10.418,212] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:10.448,333] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
    GW [00:00:10.448,364] <inf> cis_gateway: LEFT source stream configured
    GW [00:00:10.468,658] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
    GW [00:00:10.468,719] <inf> cis_gateway: Enable stream 0x20001f0c
    GW [00:00:10.469,177] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
    GW [00:00:10.469,207] <inf> cis_gateway: Enable stream 0x20001cec
    GW [00:00:10.478,698] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
    GW [00:00:10.479,309] <inf> cis_gateway: Scanning successfully started
    GW [00:00:10.488,616] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
    GW [00:00:10.488,616] <inf> cis_gateway: Scanning successfully started
    GW [00:00:10.668,762] <err> cis_gateway: <<<<< stream_started_cb >>>>>
    GW [00:00:10.668,762] <inf> cis_gateway: Stream 0x20001cec started
    GW [00:00:10.694,488] <wrn> bt_hci_core: opcode 0x2061 status 0x0c
    GW [00:00:10.694,549] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:10.696,533] <wrn> audio_datapath: Data received, total underruns: 15
    GW [00:00:10.794,555] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:10.795,074] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:10.795,562] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:10.796,508] <wrn> audio_datapath: Data received, total underruns: 105
    GW [00:00:10.894,958] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:10.895,538] <inf> audio_datapath: Drft comp state: OFFSET
    GW [00:00:10.896,514] <wrn> audio_datapath: Data received, total underruns: 195
    GW [00:00:10.994,659] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:10.996,520] <wrn> audio_datapath: Data received, total underruns: 285
    GW [00:00:11.163,482] <inf> audio_datapath: Drft comp state: LOCKED
    GW [00:00:11.184,265] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 190000 us)
    GW [00:00:11.184,295] <inf> audio_datapath: Pres comp state: WAIT
    GW [00:00:11.186,431] <wrn> audio_datapath: Data received, total underruns: 465
    GW [00:00:11.384,460] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 200000 us)
    GW [00:00:11.386,444] <wrn> audio_datapath: Data received, total underruns: 655
    GW [00:00:11.474,700] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 90000 us)
    GW [00:00:11.476,440] <wrn> audio_datapath: Data received, total underruns: 735
    GW [00:00:11.674,774] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 200000 us)
    GW [00:00:11.676,452] <wrn> audio_datapath: Data received, total underruns: 925
    GW [00:00:11.774,932] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 90000 us)
    GW [00:00:11.776,428] <wrn> audio_datapath: Data received, total underruns: 1005
    GW [00:00:11.864,532] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 90000 us)
    GW [00:00:11.866,455] <wrn> audio_datapath: Data received, total underruns: 1085
    GW [00:00:11.964,477] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:11.966,461] <wrn> audio_datapath: Data received, total underruns: 1175
    GW [00:00:12.164,794] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 200000 us)
    GW [00:00:12.166,442] <wrn> audio_datapath: Data received, total underruns: 1365
    GW [00:00:12.254,669] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 90000 us)
    GW [00:00:12.256,469] <wrn> audio_datapath: Data received, total underruns: 1445
    GW [00:00:12.354,675] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:12.356,445] <wrn> audio_datapath: Data received, total underruns: 1535
    GW [00:00:12.644,744] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 290000 us)
    GW [00:00:12.646,453] <wrn> audio_datapath: Data received, total underruns: 1815
    GW [00:00:12.744,812] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:12.746,459] <wrn> audio_datapath: Data received, total underruns: 1905
    GW [00:00:12.904,479] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 160000 us)
    GW [00:00:12.904,510] <inf> audio_datapath: Pres comp state: INIT
    GW [00:00:12.906,463] <wrn> audio_datapath: Data received, total underruns: 2055
    GW [00:00:13.034,881] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 130000 us)
    GW [00:00:13.034,912] <inf> audio_datapath: Pres comp state: WAIT
    GW [00:00:13.036,468] <wrn> audio_datapath: Data received, total underruns: 2175
    GW [00:00:13.134,918] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:13.136,474] <wrn> audio_datapath: Data received, total underruns: 2265
    GW [00:00:13.234,649] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:13.236,480] <wrn> audio_datapath: Data received, total underruns: 2355
    GW [00:00:13.334,838] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:13.336,486] <wrn> audio_datapath: Data received, total underruns: 2445
    GW [00:00:13.414,886] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 80000 us)
    GW [00:00:13.416,503] <wrn> audio_datapath: Data received, total underruns: 2515
    GW [00:00:13.524,505] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 110000 us)
    GW [00:00:13.526,489] <wrn> audio_datapath: Data received, total underruns: 2615
    GW [00:00:13.688,415] <err> cis_gateway: ACL connection to 6F:35:E7:74:F0:41 (random) failed, error 2
    GW [00:00:13.688,964] <inf> cis_gateway: Scanning successfully started
    GW [00:00:13.724,853] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 200000 us)
    GW [00:00:13.726,501] <wrn> audio_datapath: Data received, total underruns: 2805
    GW [00:00:13.914,306] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 190000 us)
    GW [00:00:13.915,496] <wrn> audio_datapath: Data received, total underruns: 2984
    GW [00:00:14.014,862] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:14.016,510] <wrn> audio_datapath: Data received, total underruns: 3075
    GW [00:00:14.115,173] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:14.116,516] <wrn> audio_datapath: Data received, total underruns: 3165
    GW [00:00:14.204,895] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 90000 us)
    GW [00:00:14.206,512] <wrn> audio_datapath: Data received, total underruns: 3245
    GW [00:00:14.244,537] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 40000 us)
    GW [00:00:14.246,520] <wrn> audio_datapath: Data received, total underruns: 3275
    GW [00:00:14.344,635] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:14.346,527] <wrn> audio_datapath: Data received, total underruns: 3365
    GW [00:00:14.504,852] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 160000 us)
    GW [00:00:14.504,882] <inf> audio_datapath: Pres comp state: INIT
    GW [00:00:14.506,530] <wrn> audio_datapath: Data received, total underruns: 3515
    GW [00:00:14.594,543] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 90000 us)
    GW [00:00:14.594,543] <inf> audio_datapath: Pres comp state: WAIT
    GW [00:00:14.596,527] <wrn> audio_datapath: Data received, total underruns: 3595
    GW [00:00:14.694,732] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:14.696,533] <wrn> audio_datapath: Data received, total underruns: 3685
    GW [00:00:14.894,836] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 200000 us)
    GW [00:00:14.896,514] <wrn> audio_datapath: Data received, total underruns: 3875
    GW [00:00:14.984,649] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 90000 us)
    GW [00:00:14.986,541] <wrn> audio_datapath: Data received, total underruns: 3955
    GW [00:00:15.004,547] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 20000 us)
    GW [00:00:15.006,530] <wrn> audio_datapath: Data received, total underruns: 3965
    GW [00:00:15.084,808] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 80000 us)
    GW [00:00:15.086,547] <wrn> audio_datapath: Data received, total underruns: 4035
    GW [00:00:15.374,877] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 290000 us)
    GW [00:00:15.376,556] <wrn> audio_datapath: Data received, total underruns: 4315
    GW [00:00:15.474,914] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:15.476,531] <wrn> audio_datapath: Data received, total underruns: 4405
    GW [00:00:15.575,225] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:15.576,538] <wrn> audio_datapath: Data received, total underruns: 4495
    GW [00:00:15.625,000] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 50000 us)
    GW [00:00:15.626,556] <wrn> audio_datapath: Data received, total underruns: 4535
    GW [00:00:15.724,395] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:15.726,562] <wrn> audio_datapath: Data received, total underruns: 4625
    GW [00:00:15.743,927] <wrn> bt_hci_core: opcode 0x206f status 0x0c
    GW [00:00:15.744,171] <wrn> bt_hci_core: opcode 0x206f status 0x12
    GW [00:00:15.744,171] <inf> cis_gateway: Stream 0x20001f0c stopped. Reason 19
    GW [00:00:15.744,201] <wrn> cis_gateway: Unknown stream
    GW [00:00:15.744,201] <inf> cis_gateway: Stream 0x20001cec stopped. Reason 19
    GW [00:00:15.747,100] <wrn> cis_gateway: Unknown stream
    GW [00:00:15.747,192] <inf> cis_gateway: Disconnected: 62:34:1B:4D:B0:D8 (random) (reason 0x08)
    GW [00:00:15.747,253] <inf> cis_gateway: Scanning successfully started
    GW [00:00:15.747,985] <err> cis_gateway: No headset in stream state
    GW [00:00:15.748,016] <wrn> streamctrl: Problem with sending LE audio data, ret: -140
    GW [00:00:15.749,542] <wrn> audio_datapath: Data received, total underruns: 4628
    GW [00:00:15.757,171] <inf> audio_datapath: Pres comp state: INIT
    GW [00:00:15.878,448] <inf> cis_gateway: Connected: 6F:35:E7:74:F0:41 (random)
    GW [00:00:17.285,919] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:17.285,919] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:17.423,645] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:17.843,353] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:17.843,353] <wrn> cis_gateway: Found right headset but must connect left headset first.
    GW [00:00:17.843,719] <err> bt_bap_unicast_client: Unable to read available contexts
    GW [00:00:17.843,719] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:17.843,750] <wrn> cis_gateway: Connection not found
    GW [00:00:17.843,750] <err> cis_gateway: Unknown connection, should not reach here
    GW [00:00:17.856,048] <inf> cis_gateway: Disconnected: 6F:35:E7:74:F0:41 (random) (reason 0x16)
    GW [00:00:17.856,079] <wrn> cis_gateway: Connection not found
    GW [00:00:17.856,079] <wrn> cis_gateway: Unknown connection
    GW [00:00:17.856,658] <inf> cis_gateway: Scanning successfully started
    GW [00:00:17.946,929] <inf> cis_gateway: Connected: 56:7D:38:FA:EB:79 (random)
    GW [00:00:19.390,960] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:19.390,991] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:19.459,014] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:19.798,400] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:19.798,431] <wrn> cis_gateway: Found right headset but must connect left headset first.
    GW [00:00:19.798,767] <err> bt_bap_unicast_client: Unable to read available contexts
    GW [00:00:19.798,797] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:19.798,797] <wrn> cis_gateway: Connection not found
    GW [00:00:19.798,797] <err> cis_gateway: Unknown connection, should not reach here
    GW [00:00:24.800,048] <inf> cis_gateway: Disconnected: 56:7D:38:FA:EB:79 (random) (reason 0x22)
    GW [00:00:24.800,048] <wrn> cis_gateway: Connection not found
    GW [00:00:24.800,079] <wrn> cis_gateway: Unknown connection
    GW [00:00:24.800,659] <inf> cis_gateway: Scanning successfully started
    GW [00:00:24.917,358] <inf> cis_gateway: Connected: 64:D4:A4:BF:EB:7F (random)
    GW [00:00:26.321,166] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:26.321,197] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:26.408,721] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:26.788,604] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:26.788,604] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_LEFT 0x20005698
    GW [00:00:27.259,033] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:27.298,645] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:27.298,706] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
    GW [00:00:27.788,604] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:27.788,726] <err> cis_gateway: <<<<< discover_source >>>>>
    GW [00:00:27.838,836] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
    GW [00:00:27.838,836] <inf> cis_gateway: LEFT sink stream configured
    GW [00:00:27.848,785] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:28.348,663] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:28.758,697] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:29.168,731] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:29.209,320] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
    GW [00:00:29.209,320] <inf> cis_gateway: LEFT source stream configured
    GW [00:00:29.269,195] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
    GW [00:00:29.269,256] <inf> cis_gateway: Enable stream 0x20001f0c
    GW [00:00:29.278,900] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
    GW [00:00:29.278,961] <inf> cis_gateway: Enable stream 0x20001cec
    GW [00:00:29.319,152] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
    GW [00:00:29.319,793] <inf> cis_gateway: Scanning successfully started
    GW [00:00:29.338,684] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
    GW [00:00:29.338,714] <inf> cis_gateway: Scanning successfully started
    GW [00:00:29.489,288] <err> cis_gateway: <<<<< stream_started_cb >>>>>
    GW [00:00:29.489,288] <inf> cis_gateway: Stream 0x20001cec started
    GW [00:00:29.504,272] <wrn> bt_hci_core: opcode 0x2061 status 0x0c
    GW [00:00:29.903,839] <inf> audio_datapath: Pres comp state: MEAS
    GW [00:00:29.905,456] <wrn> audio_datapath: Data received, total underruns: 408
    GW [00:00:30.002,471] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:30.003,479] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:30.004,241] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:30.004,272] <inf> audio_datapath: Pres comp state: INIT
    GW [00:00:30.005,432] <wrn> audio_datapath: Data received, total underruns: 498
    GW [00:00:30.103,240] <inf> audio_datapath: Drft comp state: OFFSET
    GW [00:00:30.293,914] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 290000 us)
    GW [00:00:30.295,043] <wrn> audio_datapath: Data received, total underruns: 778
    GW [00:00:30.393,920] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:30.394,989] <wrn> audio_datapath: Data received, total underruns: 868
    GW [00:00:30.460,998] <inf> audio_datapath: Drft comp state: LOCKED
    GW [00:00:30.573,944] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 180000 us)
    GW [00:00:30.573,944] <inf> audio_datapath: Pres comp state: WAIT
    GW [00:00:30.574,981] <wrn> audio_datapath: Data received, total underruns: 1038
    GW [00:00:30.643,920] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 70000 us)
    GW [00:00:30.644,958] <wrn> audio_datapath: Data received, total underruns: 1098
    GW [00:00:30.683,929] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 40000 us)
    GW [00:00:30.684,967] <wrn> audio_datapath: Data received, total underruns: 1128
    GW [00:00:30.783,935] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:30.784,973] <wrn> audio_datapath: Data received, total underruns: 1218
    GW [00:00:30.974,029] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 190000 us)
    GW [00:00:30.974,975] <wrn> audio_datapath: Data received, total underruns: 1398
    GW [00:00:31.074,035] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:31.074,981] <wrn> audio_datapath: Data received, total underruns: 1488
    GW [00:00:31.273,956] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 200000 us)
    GW [00:00:31.274,993] <wrn> audio_datapath: Data received, total underruns: 1678
    GW [00:00:31.463,958] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 190000 us)
    GW [00:00:31.464,996] <wrn> audio_datapath: Data received, total underruns: 1858
    GW [00:00:31.554,046] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 90000 us)
    GW [00:00:31.554,992] <wrn> audio_datapath: Data received, total underruns: 1938
    GW [00:00:31.753,967] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 200000 us)
    GW [00:00:31.755,004] <wrn> audio_datapath: Data received, total underruns: 2128
    GW [00:00:31.844,055] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 90000 us)
    GW [00:00:31.845,001] <wrn> audio_datapath: Data received, total underruns: 2208
    GW [00:00:31.953,979] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:31.955,017] <wrn> audio_datapath: Data received, total underruns: 2298
    GW [00:00:32.054,138] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:32.054,168] <inf> audio_datapath: Pres comp state: INIT
    GW [00:00:32.055,999] <wrn> audio_datapath: Data received, total underruns: 2389
    GW [00:00:32.243,988] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 190000 us)
    GW [00:00:32.244,049] <inf> audio_datapath: Pres comp state: WAIT
    GW [00:00:32.245,025] <wrn> audio_datapath: Data received, total underruns: 2568
    GW [00:00:32.343,994] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:32.345,001] <wrn> audio_datapath: Data received, total underruns: 2658
    GW [00:00:32.524,139] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 180000 us)
    GW [00:00:32.526,031] <wrn> audio_datapath: Data received, total underruns: 2829
    GW [00:00:32.633,972] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 110000 us)
    GW [00:00:32.635,009] <wrn> audio_datapath: Data received, total underruns: 2928
    GW [00:00:32.833,984] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 200000 us)
    GW [00:00:32.835,021] <wrn> audio_datapath: Data received, total underruns: 3118
    GW [00:00:33.013,977] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 180000 us)
    GW [00:00:33.015,045] <wrn> audio_datapath: Data received, total underruns: 3288
    GW [00:00:33.114,013] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:33.115,051] <wrn> audio_datapath: Data received, total underruns: 3378
    GW [00:00:33.794,006] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 680000 us)
    GW [00:00:33.795,043] <wrn> audio_datapath: Data received, total underruns: 4048
    GW [00:00:33.894,012] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 100000 us)
    GW [00:00:33.895,050] <wrn> audio_datapath: Data received, total underruns: 4138
    GW [00:00:34.244,018] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 350000 us)
    GW [00:00:34.245,056] <wrn> audio_datapath: Data received, total underruns: 4478
    GW [00:00:34.284,027] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 40000 us)
    GW [00:00:34.285,064] <wrn> audio_datapath: Data received, total underruns: 4508
    GW [00:00:34.544,036] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 260000 us)
    GW [00:00:34.545,074] <wrn> audio_datapath: Data received, total underruns: 4758
    GW [00:00:34.564,666] <inf> audio_datapath: Pres comp state: INIT
    GW [00:00:34.564,483] <wrn> bt_hci_core: opcode 0x206f status 0x0c
    GW [00:00:34.564,727] <wrn> bt_hci_core: opcode 0x206f status 0x12
    GW [00:00:34.564,758] <inf> cis_gateway: Stream 0x20001f0c stopped. Reason 19
    GW [00:00:34.564,758] <wrn> cis_gateway: Unknown stream
    GW [00:00:34.564,758] <inf> cis_gateway: Stream 0x20001cec stopped. Reason 19
    GW [00:00:34.566,619] <wrn> cis_gateway: Unknown stream
    GW [00:00:34.566,711] <inf> cis_gateway: Disconnected: 64:D4:A4:BF:EB:7F (random) (reason 0x08)
    GW [00:00:34.567,016] <wrn> bt_hci_core: opcode 0x2041 status 0x0c
    GW [00:00:34.567,016] <wrn> cis_gateway: Scanning failed to start: -5
    GW [00:00:34.568,084] <wrn> audio_datapath: Data received, total underruns: 4761
    GW [00:00:34.582,519] <inf> cis_gateway: Connected: 6A:D6:7D:A7:3F:FA (random)
    GW [00:00:36.075,378] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:36.075,408] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:36.303,222] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:36.652,618] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:36.652,648] <wrn> cis_gateway: Found right headset but must connect left headset first.
    GW [00:00:36.652,984] <err> bt_bap_unicast_client: Unable to read available contexts
    GW [00:00:36.653,015] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:36.653,015] <wrn> cis_gateway: Connection not found
    GW [00:00:36.653,015] <err> cis_gateway: Unknown connection, should not reach here
    GW [00:00:36.665,985] <inf> cis_gateway: Disconnected: 6A:D6:7D:A7:3F:FA (random) (reason 0x16)
    GW [00:00:36.665,985] <wrn> cis_gateway: Connection not found
    GW [00:00:36.666,015] <wrn> cis_gateway: Unknown connection
    GW [00:00:36.666,595] <inf> cis_gateway: Scanning successfully started
    GW [00:00:36.758,178] <inf> cis_gateway: Connected: 51:58:7D:A6:B7:3A (random)
    GW [00:00:37.996,704] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:37.996,704] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:38.034,515] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:38.393,920] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:38.393,951] <wrn> cis_gateway: Found right headset but must connect left headset first.
    GW [00:00:38.394,287] <err> bt_bap_unicast_client: Unable to read available contexts
    GW [00:00:38.394,287] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:38.394,317] <wrn> cis_gateway: Connection not found
    GW [00:00:38.394,317] <err> cis_gateway: Unknown connection, should not reach here
    GW [00:00:38.416,839] <inf> cis_gateway: Disconnected: 51:58:7D:A6:B7:3A (random) (reason 0x16)
    GW [00:00:38.416,870] <wrn> cis_gateway: Connection not found
    GW [00:00:38.416,870] <wrn> cis_gateway: Unknown connection
    GW [00:00:38.417,449] <inf> cis_gateway: Scanning successfully started
    GW [00:00:38.639,801] <inf> cis_gateway: Connected: 6E:02:07:03:CB:63 (random)
    GW [00:00:40.056,732] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:40.056,762] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:40.204,284] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:40.583,984] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:40.584,014] <wrn> cis_gateway: Found right headset but must connect left headset first.
    GW [00:00:40.584,320] <err> bt_bap_unicast_client: Unable to read available contexts
    GW [00:00:40.584,320] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:40.584,350] <wrn> cis_gateway: Connection not found
    GW [00:00:40.584,350] <err> cis_gateway: Unknown connection, should not reach here
    GW [00:00:40.596,893] <inf> cis_gateway: Disconnected: 6E:02:07:03:CB:63 (random) (reason 0x16)
    GW [00:00:40.596,893] <wrn> cis_gateway: Connection not found
    GW [00:00:40.596,923] <wrn> cis_gateway: Unknown connection
    GW [00:00:40.597,503] <inf> cis_gateway: Scanning successfully started
    GW [00:00:40.752,014] <inf> cis_gateway: Connected: 74:03:89:9A:CA:C8 (random)
    GW [00:00:42.091,827] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:42.091,827] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:42.109,619] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:42.489,044] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:42.489,044] <wrn> cis_gateway: Found right headset but must connect left headset first.
    GW [00:00:42.489,410] <err> bt_bap_unicast_client: Unable to read available contexts
    GW [00:00:42.489,410] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:42.489,410] <wrn> cis_gateway: Connection not found
    GW [00:00:42.489,440] <err> cis_gateway: Unknown connection, should not reach here
    GW [00:00:42.521,972] <inf> cis_gateway: Disconnected: 74:03:89:9A:CA:C8 (random) (reason 0x16)
    GW [00:00:42.521,972] <wrn> cis_gateway: Connection not found
    GW [00:00:42.522,003] <wrn> cis_gateway: Unknown connection
    GW [00:00:42.522,552] <inf> cis_gateway: Scanning successfully started
    GW [00:00:42.611,541] <inf> cis_gateway: Connected: 7E:A8:10:CD:2E:8B (random)
    GW [00:00:44.006,866] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:44.006,896] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:44.034,698] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:44.404,083] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:44.404,113] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_LEFT 0x20005698
    GW [00:00:44.874,145] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:44.944,152] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:44.944,183] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
    GW [00:00:45.334,106] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:45.334,197] <err> cis_gateway: <<<<< discover_source >>>>>
    GW [00:00:45.384,765] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
    GW [00:00:45.384,765] <inf> cis_gateway: LEFT sink stream configured
    GW [00:00:45.385,314] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:45.754,119] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:46.114,196] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:46.464,233] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:46.494,781] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
    GW [00:00:46.494,812] <inf> cis_gateway: LEFT source stream configured
    GW [00:00:46.514,678] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
    GW [00:00:46.514,709] <inf> cis_gateway: Enable stream 0x20001f0c
    GW [00:00:46.515,197] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
    GW [00:00:46.515,228] <inf> cis_gateway: Enable stream 0x20001cec
    GW [00:00:46.524,688] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
    GW [00:00:46.525,360] <inf> cis_gateway: Scanning successfully started
    GW [00:00:46.534,637] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
    GW [00:00:46.534,637] <inf> cis_gateway: Scanning successfully started
    GW [00:00:46.634,765] <err> cis_gateway: <<<<< stream_started_cb >>>>>
    GW [00:00:46.634,765] <inf> cis_gateway: Stream 0x20001cec started
    GW [00:00:46.648,834] <wrn> bt_hci_core: opcode 0x2061 status 0x0c
    GW [00:00:46.652,740] <inf> cis_gateway: Connected: 7E:74:5F:A7:FF:0B (random)
    GW [00:00:46.725,799] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:46.969,970] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:46.970,947] <wrn> audio_datapath: Data received, total underruns: 328
    GW [00:00:47.070,037] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:47.071,044] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:47.171,112] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:47.172,119] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:47.194,671] <err> cis_gateway: <<<<< stream_started_cb >>>>>
    GW [00:00:47.194,671] <inf> cis_gateway: Stream 0x20001f0c started
    GW [00:00:47.249,389] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 280000 us)
    GW [00:00:47.251,129] <wrn> audio_datapath: Data received, total underruns: 598
    GW [00:00:47.272,186] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:47.273,193] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:47.373,260] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:47.374,267] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:47.474,334] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:47.475,311] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:47.575,408] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:47.576,385] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:47.676,452] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:47.677,459] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:47.777,526] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:47.778,533] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:47.878,601] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:47.879,608] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:47.959,411] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 710000 us)
    GW [00:00:47.960,632] <wrn> audio_datapath: Data received, total underruns: 1297
    GW [00:00:47.979,675] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:47.980,682] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:48.080,749] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:48.081,756] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:48.181,823] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:48.182,830] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:48.282,897] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:48.283,905] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:48.383,972] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:48.384,948] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:48.485,046] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:48.486,022] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:48.529,479] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 570000 us)
    GW [00:00:48.531,036] <wrn> audio_datapath: Data received, total underruns: 1857
    GW [00:00:48.586,090] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:48.587,097] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:48.687,164] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:48.688,171] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:48.788,238] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:48.789,245] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:48.827,148] <err> cis_gateway: <<<<< security_changed_cb >>>>>
    GW [00:00:48.827,148] <err> cis_gateway: <<<<< discover_sink >>>>>
    GW [00:00:48.889,312] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:48.890,319] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:48.990,386] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:48.991,394] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:49.004,913] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:49.091,461] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:49.092,468] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:49.192,535] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:49.193,542] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:49.293,609] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:49.294,586] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:49.299,896] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 770000 us)
    GW [00:00:49.301,574] <wrn> audio_datapath: Data received, total underruns: 2617
    GW [00:00:49.394,683] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:49.395,660] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:49.495,727] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:49.496,734] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:49.596,801] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:49.597,808] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:49.697,875] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:49.698,883] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:49.798,950] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:49.799,957] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:49.900,024] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:49.901,031] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:50.001,098] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:50.002,105] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:50.090,332] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 790000 us)
    GW [00:00:50.092,132] <wrn> audio_datapath: Data received, total underruns: 3397
    GW [00:00:50.102,172] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:50.103,149] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:50.203,247] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:50.204,223] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:50.234,375] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:50.234,375] <wrn> cis_gateway: BT_AUDIO_LOCATION_FRONT_RIGHT
    GW [00:00:50.304,290] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:50.305,297] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:50.405,364] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:50.406,372] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:50.506,439] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:50.507,446] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:50.607,513] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:50.608,520] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:50.654,418] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:50.704,437] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:50.704,467] <wrn> cis_gateway: More than one sink endpoints found, ep idx 0 is used by default
    GW [00:00:50.708,587] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:50.709,594] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:50.809,661] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:50.810,668] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:50.910,736] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:50.911,712] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.011,810] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:51.012,786] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.104,370] <err> cis_gateway: <<<<< discover_sink_cb >>>>>
    GW [00:00:51.104,461] <err> cis_gateway: <<<<< discover_source >>>>>
    GW [00:00:51.112,854] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:51.113,861] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.164,611] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
    GW [00:00:51.164,611] <inf> cis_gateway: RIGHT sink stream configured
    GW [00:00:51.174,560] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:51.213,928] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:51.214,935] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.315,002] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:51.316,009] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.416,076] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:51.417,083] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.517,150] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:51.518,157] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.584,411] <err> cis_gateway: <<<<< unicast_client_location_cb >>>>>
    GW [00:00:51.601,806] <inf> audio_datapath: sdu_ref_us not from consecutive frames (diff: 1510000 us)
    GW [00:00:51.603,179] <wrn> audio_datapath: Data received, total underruns: 4897
    GW [00:00:51.618,225] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:51.619,232] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.715,270] <wrn> audio_datapath: In I2S TX underrun condition, total: 5000
    GW [00:00:51.719,299] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:51.720,275] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.820,373] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:51.821,350] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.921,417] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:51.922,424] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:51.944,488] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:52.022,491] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:52.023,498] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:52.123,565] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:52.124,572] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:52.224,639] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:52.225,646] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:52.244,506] <err> cis_gateway: <<<<< discover_source_cb >>>>>
    GW [00:00:52.275,085] <err> cis_gateway: <<<<< stream_configured_cb >>>>>
    GW [00:00:52.275,085] <inf> cis_gateway: RIGHT source stream configured
    GW [00:00:52.314,514] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
    GW [00:00:52.314,544] <inf> cis_gateway: Enable stream 0x200023cc
    GW [00:00:52.324,615] <err> cis_gateway: <<<<< stream_qos_set_cb >>>>>
    GW [00:00:52.324,737] <inf> cis_gateway: Enable stream 0x200021ac
    GW [00:00:52.325,714] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:52.326,721] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:52.344,482] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
    GW [00:00:52.344,482] <inf> cis_gateway: All headsets connected
    GW [00:00:52.364,898] <err> cis_gateway: <<<<< stream_enabled_cb >>>>>
    GW [00:00:52.364,929] <inf> cis_gateway: All headsets connected
    GW [00:00:52.426,788] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:52.427,795] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:52.494,476] <err> cis_gateway: <<<<< stream_started_cb >>>>>
    GW [00:00:52.494,476] <inf> cis_gateway: Stream 0x200021ac started
    GW [00:00:52.527,862] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:52.528,839] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:52.628,936] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:52.629,913] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:52.729,980] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:52.730,987] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:52.831,054] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:52.832,061] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:52.932,128] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:52.933,135] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:52.934,936] <err> cis_gateway: <<<<< stream_started_cb >>>>>
    GW [00:00:52.934,936] <inf> cis_gateway: Stream 0x200023cc started
    GW [00:00:53.033,203] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:53.034,210] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:53.134,277] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:53.135,284] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:53.235,351] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:53.236,358] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:53.336,425] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:53.337,432] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:53.437,500] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:53.438,476] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:53.538,543] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:53.539,550] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:53.639,617] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:53.640,625] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:53.740,692] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:53.741,699] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:53.841,766] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:53.842,773] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:53.942,840] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:53.943,847] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:54.043,914] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:54.044,921] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:54.144,989] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:54.145,996] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:54.246,063] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:54.247,070] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:54.347,137] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:54.348,114] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:54.448,211] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:54.449,188] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:54.549,255] <inf> audio_datapath: Drft comp state: INIT
    GW [00:00:54.550,262] <inf> audio_datapath: Drft comp state: CALIB
    GW [00:00:54.650,329] <inf> audio_datapath: Drft comp state: INIT

    Response Problem #3

    I have bonding turned off. The first time connecting works but as soon as there is a disconnect, reboot etc. using the stored bond never connects to the device. This is another issue. It finds 2 public addresses but never connects.

    Related to the bonding issue, I have added a key filter since bonding does not work. What I have found though is that it only successfully filter connects to 1 of the two public keys. And, it only connects to the right headset first. After that, I have added CONFIG_BT_PRIVACY and it successfully finds the random address of the other headset.

    The problem though is that we cannot connect to the right headset first because of the controller crash issue so we currently do not have a way to connect to a specific headset vs. all headsets with the name "Galaxy Buds2 Pro". If you have any suggestions for how to uniquely identify a Galaxy headset, i'd appreciate it. We haven't come up with a solution yet.

    For the 50% issue, the failure mode is that the connection is successful but if I print some of the data bytes from the stream, they are all 0s. The data to be receiving but the data is empty. I print the data in audio_datapath_i2s_blk_complete. I also tried playing the tone generation over the mic data and could successfully hear the tone generated.

    Also, every time it happens, I get a lot of underrun conditions.

    The ACL connection is terminated when putting back in the case.

    Weird... I haven't been able to replicate the issue on the demo app I sent you yet. I tested before sending in the original post and saw it but can't replicate now, will test more tomorrow.

    [00:00:18.003,753] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 621
    [00:00:18.100,891] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 100000 us)
    [00:00:18.101,440] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 708
    [00:00:18.200,897] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 100000 us)
    [00:00:18.202,148] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 798
    [00:00:18.250,915] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 50000 us)
    [00:00:18.251,525] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 837
    [00:00:18.390,899] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 140000 us)
    [00:00:18.391,479] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 966
    [00:00:18.490,875] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 100000 us)
    [00:00:18.491,180] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 1055
    [00:00:18.780,914] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 290000 us)
    [00:00:18.781,219] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 1333
    [00:00:18.880,889] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 100000 us)
    [00:00:18.881,958] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 1423
    [00:00:18.980,957] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 100000 us)
    [00:00:18.981,658] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 1512
    [00:00:19.271,575] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 290000 us)
    [00:00:19.272,674] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 1791
    [00:00:19.460,906] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 190000 us)
    [00:00:19.464,019] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 1971
    [00:00:19.560,974] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 100000 us)
    [00:00:19.561,706] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 2058
    [00:00:19.760,894] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 200000 us)
    [00:00:19.762,115] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 2247
    [00:00:19.950,897] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 190000 us)
    [00:00:19.951,446] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 2425
    [00:00:20.001,007] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 50000 us)
    [00:00:20.001,831] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 2465
    [00:00:20.240,905] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 240000 us)
    [00:00:20.241,485] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 2693
    [00:00:20.281,005] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 40000 us)
    [00:00:20.281,768] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 2723
    [00:00:20.340,911] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 60000 us)
    [00:00:20.342,193] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 2773
    [00:00:20.440,979] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 100000 us)
    [00:00:20.441,894] <wrn> audio_datapath: PcmMicDataIn: Data received, total underruns: 2862
    [00:00:20.541,046] <inf> audio_datapath: AudioDp_StreamOut: sduRefUsec not from consecutive frames (diff: 100000 us)

  • One other note on Problem #1.

    I saw a strange behavior on the right headset when connecting first. If you connect to the right headset, you can configure sink and then source, then ONLY start the right source and both the sink + source audio works. This behavior is not true for the left headset, configuring sink will enable sink audio, likewise for source.

  • For the bonding issue, it looks like if you keep the left headset in the case then bond with the right headset only, you can reboot the processor and it at least attempts to connect to the right headset repeatably. Once the left is bonded though, it won't connect to either headset.

    This also works the other way around. If you keep the right headset in the case then only bond to the left, it attempts to connect.

    Interestingly, if you set CONFIG_BT_MAX_PAIRED=3, then it will attempt to connect as well. It seems once the bonds are full it doesn't even try to scan.

    Attempted connection:

    [00:00:05.112,945] <err> cis_gateway: ConnectedCb: <<<<< ConnectedCb >>>>>
    [00:00:05.113,037] <inf> cis_gateway: ConnectedCb: Connected: 40:5E:F6:5A:C4:9E (public)
    [00:00:05.113,098] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:05.113,128] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:05.113,128] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:05.113,159] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:05.113,159] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 7
    [00:00:05.113,189] <dbg> bt_conn: send_buf: send single
    [00:00:05.113,189] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 7 flags 0x02
    [00:00:05.113,250] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:05.113,250] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:05.113,250] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:05.113,403] <dbg> bt_keys: bt_keys_find: type 32 40:5E:F6:5A:C4:9E (public)
    [00:00:05.113,525] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:05.113,525] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:05.113,525] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:05.113,769] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:05.113,769] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:05.113,800] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:05.114,410] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.114,410] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.114,440] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.114,440] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.114,440] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.225,799] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.225,830] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:05.225,830] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:05.225,830] <dbg> bt_conn: tx_notify: tx 0x2000ada8 cb 0x744ed user_data 0x2000aed8
    [00:00:05.225,921] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.225,982] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.225,982] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.226,226] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.226,257] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:05.226,257] <dbg> bt_conn: bt_conn_recv: handle 0 len 13 flags 02
    [00:00:05.226,257] <dbg> bt_conn: bt_acl_recv: First, len 13 final 9
    [00:00:05.226,287] <dbg> bt_conn: bt_acl_recv: Successfully parsed 13 byte L2CAP packet
    [00:00:05.226,318] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 9 cb 0x74525 user_data 0x2000aeec
    [00:00:05.226,348] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.226,379] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:05.226,379] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 9
    [00:00:05.226,409] <dbg> bt_conn: send_buf: send single
    [00:00:05.226,440] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 9 flags 0x02
    [00:00:05.226,470] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:05.226,470] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:05.226,501] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:05.405,761] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.405,792] <err> cis_gateway: SecurityChangedCb: <<<<< SecurityChangedCb >>>>>
    [00:00:05.405,792] <err> cis_gateway: SecurityChangedCb: Security failed: level 1 err 2
    [00:00:05.405,822] <wrn> cis_gateway: ChannelIndexGet: Connection not found 0x200052c0
    [00:00:05.405,822] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.495,788] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.495,819] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:05.495,819] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:05.495,819] <dbg> bt_conn: tx_notify: tx 0x2000adb8 cb 0x74525 user_data 0x2000aeec
    [00:00:05.495,880] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.495,941] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.495,941] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:05.495,971] <dbg> bt_conn: bt_conn_recv: handle 0 len 7 flags 02
    [00:00:05.495,971] <dbg> bt_conn: bt_acl_recv: First, len 7 final 3
    [00:00:05.495,971] <dbg> bt_conn: bt_acl_recv: Successfully parsed 7 byte L2CAP packet
    [00:00:05.496,002] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.586,212] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.586,212] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:05.586,242] <dbg> bt_conn: bt_conn_recv: handle 0 len 11 flags 02
    [00:00:05.586,242] <dbg> bt_conn: bt_acl_recv: First, len 11 final 7
    [00:00:05.586,242] <dbg> bt_conn: bt_acl_recv: Successfully parsed 11 byte L2CAP packet
    [00:00:05.586,303] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 9 cb 0x74525 user_data 0x2000af14
    [00:00:05.586,334] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.586,364] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:05.586,364] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 9
    [00:00:05.586,395] <dbg> bt_conn: send_buf: send single
    [00:00:05.586,395] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 9 flags 0x02
    [00:00:05.586,425] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:05.586,456] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:05.586,456] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:05.675,781] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.675,811] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:05.675,811] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:05.675,811] <dbg> bt_conn: tx_notify: tx 0x2000adc8 cb 0x74525 user_data 0x2000af14
    [00:00:05.675,872] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.765,777] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.765,777] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:05.765,808] <dbg> bt_conn: bt_conn_recv: handle 0 len 11 flags 02
    [00:00:05.765,808] <dbg> bt_conn: bt_acl_recv: First, len 11 final 7
    [00:00:05.765,808] <dbg> bt_conn: bt_acl_recv: Successfully parsed 11 byte L2CAP packet
    [00:00:05.765,869] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 27 cb 0x74525 user_data 0x2000af28
    [00:00:05.765,899] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.765,930] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:05.765,930] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 27
    [00:00:05.765,930] <dbg> bt_conn: send_buf: send single
    [00:00:05.765,960] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 27 flags 0x02
    [00:00:05.765,991] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:05.765,991] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:05.766,021] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:05.855,834] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.855,865] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:05.855,895] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:05.855,895] <dbg> bt_conn: tx_notify: tx 0x2000add8 cb 0x74525 user_data 0x2000af28
    [00:00:05.855,957] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.945,770] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:05.945,800] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:05.945,800] <dbg> bt_conn: bt_conn_recv: handle 0 len 11 flags 02
    [00:00:05.945,831] <dbg> bt_conn: bt_acl_recv: First, len 11 final 7
    [00:00:05.945,831] <dbg> bt_conn: bt_acl_recv: Successfully parsed 11 byte L2CAP packet
    [00:00:05.945,892] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 9 cb 0x74525 user_data 0x2000af50
    [00:00:05.945,922] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:05.945,953] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:05.945,953] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 9
    [00:00:05.945,953] <dbg> bt_conn: send_buf: send single
    [00:00:05.945,983] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 9 flags 0x02
    [00:00:05.946,014] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:05.946,014] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:05.946,044] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:06.023,803] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:06.023,834] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:06.023,834] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:06.035,766] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:06.035,797] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:06.035,797] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:06.035,797] <dbg> bt_conn: tx_notify: tx 0x2000ade8 cb 0x74525 user_data 0x2000af50
    [00:00:06.035,858] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:06.125,762] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:06.125,793] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:06.125,793] <dbg> bt_conn: bt_conn_recv: handle 0 len 9 flags 02
    [00:00:06.125,793] <dbg> bt_conn: bt_acl_recv: First, len 9 final 5
    [00:00:06.125,823] <dbg> bt_conn: bt_acl_recv: Successfully parsed 9 byte L2CAP packet
    [00:00:06.125,854] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 38 cb 0x74525 user_data 0x2000af64
    [00:00:06.125,885] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:06.125,915] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:06.125,915] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 38
    [00:00:06.125,915] <dbg> bt_conn: send_buf: send single
    [00:00:06.125,946] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 38 flags 0x02
    [00:00:06.125,976] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:06.125,976] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:06.126,007] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:06.216,278] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:06.216,308] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:06.216,308] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:06.216,339] <dbg> bt_conn: tx_notify: tx 0x2000adf8 cb 0x74525 user_data 0x2000af64
    [00:00:06.216,369] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:06.305,786] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:06.305,816] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:06.305,816] <dbg> bt_conn: bt_conn_recv: handle 0 len 13 flags 02
    [00:00:06.305,816] <dbg> bt_conn: bt_acl_recv: First, len 13 final 9
    [00:00:06.305,847] <dbg> bt_conn: bt_acl_recv: Successfully parsed 13 byte L2CAP packet
    [00:00:06.305,908] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 9 cb 0x74525 user_data 0x2000af8c
    [00:00:06.305,938] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:06.305,938] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:06.305,969] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 9
    [00:00:06.305,969] <dbg> bt_conn: send_buf: send single
    [00:00:06.305,969] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 9 flags 0x02
    [00:00:06.306,030] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:06.306,030] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:06.306,030] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:06.395,782] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:06.395,812] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:06.395,812] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:06.395,812] <dbg> bt_conn: tx_notify: tx 0x2000ae08 cb 0x74525 user_data 0x2000af8c
    [00:00:06.395,874] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:06.485,778] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:06.485,778] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:06.485,809] <dbg> bt_conn: bt_conn_recv: handle 0 len 8 flags 02
    [00:00:06.485,809] <dbg> bt_conn: bt_acl_recv: First, len 8 final 4
    [00:00:06.485,809] <dbg> bt_conn: bt_acl_recv: Successfully parsed 8 byte L2CAP packet
    [00:00:06.485,870] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 5 cb 0x74525 user_data 0x2000afa0
    [00:00:06.485,900] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:06.485,931] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:06.485,931] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 5
    [00:00:06.485,931] <dbg> bt_conn: send_buf: send single
    [00:00:06.485,961] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 5 flags 0x02
    [00:00:06.485,992] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:06.485,992] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:06.486,022] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:06.575,744] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:06.575,775] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:06.575,775] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:06.575,805] <dbg> bt_conn: tx_notify: tx 0x2000ae18 cb 0x74525 user_data 0x2000afa0
    [00:00:06.575,836] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:06.755,767] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:06.755,798] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:06.755,828] <dbg> bt_conn: bt_conn_recv: handle 0 len 9 flags 02
    [00:00:06.755,828] <dbg> bt_conn: bt_acl_recv: First, len 9 final 5
    [00:00:06.755,828] <dbg> bt_conn: bt_acl_recv: Successfully parsed 9 byte L2CAP packet
    [00:00:06.755,950] <dbg> bt_keys: bt_keys_find_addr: 40:5E:F6:5A:C4:9E (public)
    [00:00:06.756,408] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 5 cb 0x74525 user_data 0x2000afb4
    [00:00:06.756,439] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:06.756,469] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:06.756,469] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 5
    [00:00:06.756,469] <dbg> bt_conn: send_buf: send single
    [00:00:06.756,500] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 5 flags 0x02
    [00:00:06.756,530] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:06.756,530] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:06.756,561] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:06.845,764] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:06.845,794] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:06.845,794] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:06.845,825] <dbg> bt_conn: tx_notify: tx 0x2000ae28 cb 0x74525 user_data 0x2000afb4
    [00:00:06.845,855] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:06.935,760] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:06.935,791] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:06.935,791] <dbg> bt_conn: bt_conn_recv: handle 0 len 7 flags 02
    [00:00:06.935,791] <dbg> bt_conn: bt_acl_recv: First, len 7 final 3
    [00:00:06.935,821] <dbg> bt_conn: bt_acl_recv: Successfully parsed 7 byte L2CAP packet
    [00:00:06.935,852] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 21 cb 0x74525 user_data 0x2000aed8
    [00:00:06.935,882] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:06.935,913] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:06.935,913] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 21
    [00:00:06.935,913] <dbg> bt_conn: send_buf: send single
    [00:00:06.935,943] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 21 flags 0x02
    [00:00:06.935,974] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:06.936,004] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:06.936,004] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:07.023,803] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:07.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:07.023,834] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:07.115,844] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:07.115,844] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:07.115,875] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:07.115,875] <dbg> bt_conn: tx_notify: tx 0x2000ae38 cb 0x74525 user_data 0x2000aed8
    [00:00:07.115,936] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:07.385,864] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:07.385,894] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:07.385,955] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:07.385,955] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:07.385,955] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:08.015,747] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:08.015,747] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:08.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:08.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:08.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:08.025,787] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:08.025,817] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:08.025,817] <dbg> bt_conn: bt_conn_recv: handle 0 len 11 flags 02
    [00:00:08.025,848] <dbg> bt_conn: bt_acl_recv: First, len 11 final 7
    [00:00:08.025,848] <dbg> bt_conn: bt_acl_recv: Successfully parsed 11 byte L2CAP packet
    [00:00:08.025,909] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 9 cb 0x74525 user_data 0x2000aeec
    [00:00:08.025,909] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:08.025,939] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:08.025,970] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 9
    [00:00:08.025,970] <dbg> bt_conn: send_buf: send single
    [00:00:08.025,970] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 9 flags 0x02
    [00:00:08.026,031] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:08.026,031] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:08.026,031] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:08.035,797] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:08.035,827] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:08.035,858] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:08.035,858] <dbg> bt_conn: tx_notify: tx 0x2000ae48 cb 0x74525 user_data 0x2000aeec
    [00:00:08.035,919] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:08.035,980] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:08.035,980] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:08.055,786] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:08.055,816] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:08.055,816] <dbg> bt_conn: bt_conn_recv: handle 0 len 11 flags 02
    [00:00:08.055,816] <dbg> bt_conn: bt_acl_recv: First, len 11 final 7
    [00:00:08.055,847] <dbg> bt_conn: bt_acl_recv: Successfully parsed 11 byte L2CAP packet
    [00:00:08.055,908] <dbg> bt_conn: bt_conn_send_cb: conn handle 0 buf len 9 cb 0x74525 user_data 0x2000af14
    [00:00:08.055,938] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:08.055,938] <dbg> bt_conn: bt_conn_process_tx: conn 0x200052c0
    [00:00:08.055,969] <dbg> bt_conn: send_buf: conn 0x200052c0 buf 0x2001b9d8 len 9
    [00:00:08.055,969] <dbg> bt_conn: send_buf: send single
    [00:00:08.055,969] <dbg> bt_conn: do_send_frag: conn 0x200052c0 buf 0x2001b9d8 len 9 flags 0x02
    [00:00:08.056,030] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:08.056,030] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:08.056,030] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:08.065,795] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:08.065,826] <dbg> bt_conn: tx_complete_work: conn 0x200052c0
    [00:00:08.065,826] <dbg> bt_conn: tx_notify: conn 0x200052c0
    [00:00:08.065,826] <dbg> bt_conn: tx_notify: tx 0x2000ae58 cb 0x74525 user_data 0x2000af14
    [00:00:08.065,887] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:08.125,854] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:08.125,885] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:08.125,946] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:08.125,976] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:08.125,976] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:08.195,739] <dbg> bt_conn: bt_conn_ref: handle 0 ref 2 -> 3
    [00:00:08.195,739] <dbg> bt_conn: bt_conn_unref: handle 0 ref 3 -> 2
    [00:00:09.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:09.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:09.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:10.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:10.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:10.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:11.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:11.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:11.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:12.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:12.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:12.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:13.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:13.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:13.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:14.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:14.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:14.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:15.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:15.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:15.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:16.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:16.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:16.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:17.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:17.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:17.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:18.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:18.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:18.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:19.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:19.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:19.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:20.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:20.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:20.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:21.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:21.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:21.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo
    [00:00:22.023,773] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:22.023,803] <dbg> bt_conn: conn_prepare_events: Adding conn 0x200052c0 to poll list
    [00:00:22.023,803] <dbg> bt_conn: conn_prepare_events: wait on host fifo

    When both headsets are connected though, it hangs on bt_conn_prepare_events

    [00:00:00.180,084] <err> cis_gateway: LeHeadset_AudioEnable: <<<<< le_audio_enable >>>>>
    [00:00:00.180,114] <err> cis_gateway: Initialize: <<<<< Initialize >>>>>
    [00:00:00.180,267] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:00.180,694] <err> cis_gateway: BondCheck: <<<<< BondCheck >>>>>
    [00:00:00.180,786] <wrn> cis_gateway: BondCheck: Stored bonding found: 40:5E:F6:5A:C4:9E (public)
    [00:00:00.180,786] <err> cis_gateway: BondCheck: <<<<< BondCheck >>>>>
    [00:00:00.180,877] <wrn> cis_gateway: BondCheck: Stored bonding found: 40:5E:F6:5A:BF:9D (public)
    [00:00:00.180,877] <inf> cis_gateway: BleAclStartScan: All bonded slots filled, will not accept new devices
    [00:00:00.181,915] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:00.182,159] <inf> bt_id: bt_id_set_private_addr: RPA: 4A:02:DF:3E:7C:CB
    [00:00:00.182,220] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:00.182,464] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:00.182,769] <inf> cis_gateway: BleAclStartScan: Scanning successfully started
    [00:00:00.182,800] <err> ExampleUsageDrv: Init: Example Usage Start
    [00:00:00.182,861] <inf> app_event_manager: log_module_state_event: e:module_state_event module:main state:READY
    [00:00:01.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:02.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:03.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:04.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:05.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:06.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:07.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:08.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:09.022,827] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:10.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:11.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:12.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:13.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:14.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:15.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:16.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:17.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:18.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:19.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:20.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:21.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:22.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:23.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:24.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:25.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:26.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:27.022,827] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:28.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:29.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:30.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:31.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:32.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:33.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:34.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:35.022,827] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:36.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:37.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    [00:00:38.022,796] <dbg> bt_conn: bt_conn_prepare_events:
    

Related