Hi:
this is my old issue:
https://devzone.nordicsemi.com/f/nordic-q-a/97667/nrf5340-le-audio-stream-not-associated-with-an-ep
I creat a new case for more help.
Hi:
this is my old issue:
https://devzone.nordicsemi.com/f/nordic-q-a/97667/nrf5340-le-audio-stream-not-associated-with-an-ep
I creat a new case for more help.
Hi,
Could you add some more information about your application?
e.g., the setting for retransmission times, the bitrate, and also how many BIS are you working with?
And would there be a way to replicate this easily with our nRF5340-(Audio)-DK?
HI:
I'm sorry for the late response.
The probability of this problem occurring is very strange, sometimes it does not occur for several days, and sometimes it occurs multiple times within a few minutes:
The following is the log of headset:
*** Booting Zephyr OS build v3.2.99-ncs1 *** HL [00:00:00.259,307] <dbg> fs_nvs: nvs_recover_last_ate: Recovering last ate from sector 0 HL [00:00:00.262,451] <inf> fs_nvs: 2 Sectors of 4096 bytes HL [00:00:00.262,451] <inf> fs_nvs: alloc wra: 0, fc8 HL [00:00:00.262,481] <inf> fs_nvs: data wra: 0, 180 HL [00:00:00.262,756] <inf> fw_info: nRF5340 Audio nRF5340 Audio DK cpuapp NCS base version: 2.2.0 Cmake run : Mon Mar 27 10:40:38 2023 HL [00:00:00.262,756] <inf> fw_info: ------- DEBUG BUILD ------- HL [00:00:00.262,786] <inf> fw_info: HEADSET left device HL [00:00:00.274,322] <wrn> bt_hci_core: Controller to host flow control not supported HL [00:00:00.402,923] <inf> ble: MAC: DC:0D:30:00:18:EE (random) HL [00:00:00.403,137] <inf> ble: Controller version: 3310 HL [00:00:00.470,123] <inf> bis_headset: Scanning for broadcast sources HL [00:00:01.337,829] <inf> bis_headset: Broadcast source FSC-BT631D found HL [00:00:03.359,436] <inf> bis_headset: Codec config for LC3: HL [00:00:03.359,466] <inf> bis_headset: Frequency: 48000 Hz HL [00:00:03.359,466] <inf> bis_headset: Frame Duration: 10000 us HL [00:00:03.359,466] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:00:03.359,497] <inf> bis_headset: Frames per SDU: 1 HL [00:00:03.359,497] <inf> bis_headset: Channel allocation: 0x1 HL [00:00:03.359,497] <inf> bis_headset: Codec config for LC3: HL [00:00:03.359,527] <inf> bis_headset: Frequency: 48000 Hz HL [00:00:03.359,527] <inf> bis_headset: Frame Duration: 10000 us HL [00:00:03.359,527] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:00:03.359,527] <inf> bis_headset: Frames per SDU: 1 HL [00:00:03.359,558] <inf> bis_headset: Channel allocation: 0x1 HL [00:00:03.359,649] <inf> bis_headset: Syncing to broadcast stream index 0 HL [00:00:04.559,844] <inf> bis_headset: Stream index 0 started HL [00:00:18.181,945] <inf> bis_headset: Stream index 0 stopped HL [00:00:18.182,037] <dbg> audio_system: audio_system_stop: Stopping codec HL [00:00:23.519,195] <inf> bis_headset: Restarting scanning for broadcast sources HL [00:00:23.604,400] <inf> bis_headset: Broadcast source FSC-BT631D found HL [00:00:26.006,378] <inf> bis_headset: Codec config for LC3: HL [00:00:26.006,378] <inf> bis_headset: Frequency: 48000 Hz HL [00:00:26.006,378] <inf> bis_headset: Frame Duration: 10000 us HL [00:00:26.006,408] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:00:26.006,408] <inf> bis_headset: Frames per SDU: 1 HL [00:00:26.006,408] <inf> bis_headset: Channel allocation: 0x1 HL [00:00:26.006,408] <inf> bis_headset: Codec config for LC3: HL [00:00:26.006,439] <inf> bis_headset: Frequency: 48000 Hz HL [00:00:26.006,439] <inf> bis_headset: Frame Duration: 10000 us HL [00:00:26.006,439] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:00:26.006,439] <inf> bis_headset: Frames per SDU: 1 HL [00:00:26.006,469] <inf> bis_headset: Channel allocation: 0x1 HL [00:00:26.006,561] <inf> bis_headset: Syncing to broadcast stream index 0 HL [00:00:27.206,817] <inf> bis_headset: Stream index 0 started HL [00:27:49.681,304] <inf> bis_headset: Stream index 0 stopped HL [00:27:49.681,335] <inf> bis_headset: Restarting scanning for broadcast sources HL [00:27:49.682,586] <dbg> audio_system: audio_system_stop: Stopping codec HL [00:27:50.248,992] <inf> bis_headset: Broadcast source FSC-BT631D found HL [00:27:52.320,129] <inf> bis_headset: Codec config for LC3: HL [00:27:52.320,159] <inf> bis_headset: Frequency: 48000 Hz HL [00:27:52.320,159] <inf> bis_headset: Frame Duration: 10000 us HL [00:27:52.320,159] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:27:52.320,190] <inf> bis_headset: Frames per SDU: 1 HL [00:27:52.320,190] <inf> bis_headset: Channel allocation: 0x1 HL [00:27:52.320,190] <inf> bis_headset: Codec config for LC3: HL [00:27:52.320,220] <inf> bis_headset: Frequency: 48000 Hz HL [00:27:52.320,220] <inf> bis_headset: Frame Duration: 10000 us HL [00:27:52.320,220] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:27:52.320,220] <inf> bis_headset: Frames per SDU: 1 HL [00:27:52.320,251] <inf> bis_headset: Channel allocation: 0x1 HL [00:27:52.320,343] <inf> bis_headset: Syncing to broadcast stream index 0 HL [00:27:53.520,538] <inf> bis_headset: Stream index 0 started
Line 48 is the time when the problem occurred。
The following is the gateway log:
HL [00:05:45.933,044] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 *** Booting Zephyr OS build v3.2.99-ncs1 *** HL [00:00:00.258,087] <dbg> fs_nvs: nvs_recover_last_ate: Recovering last ate from sector 0 HL [00:00:00.261,108] <inf> fs_nvs: 2 Sectors of 4096 bytes HL [00:00:00.261,138] <inf> fs_nvs: alloc wra: 0, fb8 HL [00:00:00.261,138] <inf> fs_nvs: data wra: 0, 240 HL [00:00:00.261,413] <inf> fw_info: nRF5340 Audio nRF5340 Audio DK cpuapp NCS base version: 2.2.0 Cmake run : Mon Mar 27 12:04:18 2023 HL [00:00:00.261,444] <inf> fw_info: ------- DEBUG BUILD ------- HL [00:00:00.261,444] <inf> fw_info: HEADSET left device HL [00:00:00.273,040] <wrn> bt_hci_core: Controller to host flow control not supported HL [00:00:00.401,550] <inf> ble: MAC: DC:0D:30:00:18:ED (random) HL [00:00:00.401,733] <inf> ble: Controller version: 3310 HL [00:00:00.484,222] <inf> bis_gateway: Broadcast source 0x2000ab4c started HL [00:00:00.484,497] <inf> bis_gateway: Broadcast source 0x2000ab70 started HL [00:00:23.553,649] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:00:33.562,683] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:00:43.572,814] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:00:53.582,092] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:01:03.591,430] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:01:13.600,952] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:01:23.610,534] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:01:33.620,208] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:01:43.630,401] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:01:53.639,953] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:02:03.649,444] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:02:13.658,416] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:02:23.667,816] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:02:33.677,703] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:02:43.838,653] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:02:53.848,815] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:03:03.858,947] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:03:13.867,980] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:03:23.877,990] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:03:33.886,871] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:03:43.896,820] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:03:53.906,097] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:03.915,740] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:13.925,476] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:23.934,967] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:33.944,549] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:43.954,010] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:53.964,080] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:05:03.973,266] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:05:13.982,818] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:05:23.992,431] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:05:34.002,349] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:05:44.011,535] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:05:54.020,751] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:06:04.031,280] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:06:14.040,252] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:06:24.050,201] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:06:34.059,265] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:06:44.069,519] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:06:54.078,521] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:07:04.209,869] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:07:14.220,184] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:07:24.228,790] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:07:34.238,403] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:07:44.248,901] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:07:54.258,056] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:08:04.268,096] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:08:14.276,916] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:08:24.286,651] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:08:34.296,752] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:08:44.305,664] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:08:54.315,429] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:09:04.325,408] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:09:14.334,045] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:09:24.343,688] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:09:34.354,187] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:09:44.363,800] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:09:54.373,352] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:10:04.382,843] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:10:14.391,754] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:10:24.401,672] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:10:34.411,560] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:10:44.421,203] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:10:54.430,450] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:11:04.439,575] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:11:14.449,310] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:11:24.459,442] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:11:34.468,261] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:11:44.478,179] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:11:54.487,792] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:12:04.497,406] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:12:14.618,530] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:12:24.627,471] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:12:34.636,993] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:12:44.647,125] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:12:54.656,158] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:13:04.665,710] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:13:14.675,292] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:13:24.685,424] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:13:34.694,488] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:13:44.703,887] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:13:54.714,263] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:14:04.723,327] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:14:14.733,215] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:14:24.742,492] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:14:34.752,441] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:14:44.761,291] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:14:54.770,874] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:15:04.781,066] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:15:14.790,618] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:15:24.799,865] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:15:34.809,783] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:15:44.818,878] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:15:54.828,491] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:16:04.838,409] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:16:14.848,205] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:16:24.856,872] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:16:34.867,370] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:16:44.876,373] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:16:54.885,955] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:17:04.895,446] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:17:14.905,517] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:17:24.914,215] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:17:34.924,591] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:17:45.077,392] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:17:55.087,249] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:18:05.096,832] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:18:15.106,384] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:18:25.116,088] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:18:35.126,037] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:18:45.134,979] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:18:55.145,233] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:19:05.154,327] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:19:15.163,970] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:19:25.173,492] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:19:35.183,532] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:19:45.193,023] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:19:55.202,178] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:20:05.211,914] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:20:15.221,801] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:20:25.230,957] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:20:35.240,478] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:20:45.250,183] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:20:55.259,735] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:21:05.269,592] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:21:15.278,717] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:21:25.288,269] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:21:35.297,851] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:21:45.307,647] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:21:55.316,925] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:22:05.327,270] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:22:15.336,181] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:22:25.346,435] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:22:35.355,316] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:22:45.365,020] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:22:55.374,542] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:23:05.384,216] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:23:15.393,402] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:23:25.403,747] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:23:35.413,177] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:23:45.422,424] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:23:55.432,342] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:24:05.441,192] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:24:15.450,897] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:24:25.625,610] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:24:35.635,070] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:24:45.644,775] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:24:55.654,266] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:25:05.664,062] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:25:15.673,461] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:25:25.682,922] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:25:35.693,267] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:25:45.702,911] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:25:55.711,761] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:26:05.721,099] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:26:15.730,865] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:26:25.740,539] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:26:35.750,152] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:26:45.760,314] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:26:55.769,378] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:27:05.779,418] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:27:15.788,208] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:27:25.798,004] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:27:35.807,586] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:27:45.817,718] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:27:55.826,660] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:28:05.836,639] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:28:15.845,886] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:28:25.855,163] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6
1.I believe that this issue can be replicate with nRF5340-(Audio)-DK, but it is not easy because it cannot be reproduced stably. By synchronization loss, I mean between the headset and the gateway。
2.my project base on NCS 2.2.0,one headset+one gateway.i have't change any param such as:the setting for retransmission times, the bitrate and so on.
HI:
I'm sorry for the late response.
The probability of this problem occurring is very strange, sometimes it does not occur for several days, and sometimes it occurs multiple times within a few minutes:
The following is the log of headset:
*** Booting Zephyr OS build v3.2.99-ncs1 *** HL [00:00:00.259,307] <dbg> fs_nvs: nvs_recover_last_ate: Recovering last ate from sector 0 HL [00:00:00.262,451] <inf> fs_nvs: 2 Sectors of 4096 bytes HL [00:00:00.262,451] <inf> fs_nvs: alloc wra: 0, fc8 HL [00:00:00.262,481] <inf> fs_nvs: data wra: 0, 180 HL [00:00:00.262,756] <inf> fw_info: nRF5340 Audio nRF5340 Audio DK cpuapp NCS base version: 2.2.0 Cmake run : Mon Mar 27 10:40:38 2023 HL [00:00:00.262,756] <inf> fw_info: ------- DEBUG BUILD ------- HL [00:00:00.262,786] <inf> fw_info: HEADSET left device HL [00:00:00.274,322] <wrn> bt_hci_core: Controller to host flow control not supported HL [00:00:00.402,923] <inf> ble: MAC: DC:0D:30:00:18:EE (random) HL [00:00:00.403,137] <inf> ble: Controller version: 3310 HL [00:00:00.470,123] <inf> bis_headset: Scanning for broadcast sources HL [00:00:01.337,829] <inf> bis_headset: Broadcast source FSC-BT631D found HL [00:00:03.359,436] <inf> bis_headset: Codec config for LC3: HL [00:00:03.359,466] <inf> bis_headset: Frequency: 48000 Hz HL [00:00:03.359,466] <inf> bis_headset: Frame Duration: 10000 us HL [00:00:03.359,466] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:00:03.359,497] <inf> bis_headset: Frames per SDU: 1 HL [00:00:03.359,497] <inf> bis_headset: Channel allocation: 0x1 HL [00:00:03.359,497] <inf> bis_headset: Codec config for LC3: HL [00:00:03.359,527] <inf> bis_headset: Frequency: 48000 Hz HL [00:00:03.359,527] <inf> bis_headset: Frame Duration: 10000 us HL [00:00:03.359,527] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:00:03.359,527] <inf> bis_headset: Frames per SDU: 1 HL [00:00:03.359,558] <inf> bis_headset: Channel allocation: 0x1 HL [00:00:03.359,649] <inf> bis_headset: Syncing to broadcast stream index 0 HL [00:00:04.559,844] <inf> bis_headset: Stream index 0 started HL [00:00:18.181,945] <inf> bis_headset: Stream index 0 stopped HL [00:00:18.182,037] <dbg> audio_system: audio_system_stop: Stopping codec HL [00:00:23.519,195] <inf> bis_headset: Restarting scanning for broadcast sources HL [00:00:23.604,400] <inf> bis_headset: Broadcast source FSC-BT631D found HL [00:00:26.006,378] <inf> bis_headset: Codec config for LC3: HL [00:00:26.006,378] <inf> bis_headset: Frequency: 48000 Hz HL [00:00:26.006,378] <inf> bis_headset: Frame Duration: 10000 us HL [00:00:26.006,408] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:00:26.006,408] <inf> bis_headset: Frames per SDU: 1 HL [00:00:26.006,408] <inf> bis_headset: Channel allocation: 0x1 HL [00:00:26.006,408] <inf> bis_headset: Codec config for LC3: HL [00:00:26.006,439] <inf> bis_headset: Frequency: 48000 Hz HL [00:00:26.006,439] <inf> bis_headset: Frame Duration: 10000 us HL [00:00:26.006,439] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:00:26.006,439] <inf> bis_headset: Frames per SDU: 1 HL [00:00:26.006,469] <inf> bis_headset: Channel allocation: 0x1 HL [00:00:26.006,561] <inf> bis_headset: Syncing to broadcast stream index 0 HL [00:00:27.206,817] <inf> bis_headset: Stream index 0 started HL [00:27:49.681,304] <inf> bis_headset: Stream index 0 stopped HL [00:27:49.681,335] <inf> bis_headset: Restarting scanning for broadcast sources HL [00:27:49.682,586] <dbg> audio_system: audio_system_stop: Stopping codec HL [00:27:50.248,992] <inf> bis_headset: Broadcast source FSC-BT631D found HL [00:27:52.320,129] <inf> bis_headset: Codec config for LC3: HL [00:27:52.320,159] <inf> bis_headset: Frequency: 48000 Hz HL [00:27:52.320,159] <inf> bis_headset: Frame Duration: 10000 us HL [00:27:52.320,159] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:27:52.320,190] <inf> bis_headset: Frames per SDU: 1 HL [00:27:52.320,190] <inf> bis_headset: Channel allocation: 0x1 HL [00:27:52.320,190] <inf> bis_headset: Codec config for LC3: HL [00:27:52.320,220] <inf> bis_headset: Frequency: 48000 Hz HL [00:27:52.320,220] <inf> bis_headset: Frame Duration: 10000 us HL [00:27:52.320,220] <inf> bis_headset: Octets per frame: 120 (96000 kbps) HL [00:27:52.320,220] <inf> bis_headset: Frames per SDU: 1 HL [00:27:52.320,251] <inf> bis_headset: Channel allocation: 0x1 HL [00:27:52.320,343] <inf> bis_headset: Syncing to broadcast stream index 0 HL [00:27:53.520,538] <inf> bis_headset: Stream index 0 started
Line 48 is the time when the problem occurred。
The following is the gateway log:
HL [00:05:45.933,044] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 *** Booting Zephyr OS build v3.2.99-ncs1 *** HL [00:00:00.258,087] <dbg> fs_nvs: nvs_recover_last_ate: Recovering last ate from sector 0 HL [00:00:00.261,108] <inf> fs_nvs: 2 Sectors of 4096 bytes HL [00:00:00.261,138] <inf> fs_nvs: alloc wra: 0, fb8 HL [00:00:00.261,138] <inf> fs_nvs: data wra: 0, 240 HL [00:00:00.261,413] <inf> fw_info: nRF5340 Audio nRF5340 Audio DK cpuapp NCS base version: 2.2.0 Cmake run : Mon Mar 27 12:04:18 2023 HL [00:00:00.261,444] <inf> fw_info: ------- DEBUG BUILD ------- HL [00:00:00.261,444] <inf> fw_info: HEADSET left device HL [00:00:00.273,040] <wrn> bt_hci_core: Controller to host flow control not supported HL [00:00:00.401,550] <inf> ble: MAC: DC:0D:30:00:18:ED (random) HL [00:00:00.401,733] <inf> ble: Controller version: 3310 HL [00:00:00.484,222] <inf> bis_gateway: Broadcast source 0x2000ab4c started HL [00:00:00.484,497] <inf> bis_gateway: Broadcast source 0x2000ab70 started HL [00:00:23.553,649] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:00:33.562,683] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:00:43.572,814] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:00:53.582,092] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:01:03.591,430] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:01:13.600,952] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:01:23.610,534] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:01:33.620,208] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:01:43.630,401] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:01:53.639,953] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:02:03.649,444] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:02:13.658,416] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:02:23.667,816] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:02:33.677,703] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:02:43.838,653] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:02:53.848,815] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:03:03.858,947] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:03:13.867,980] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:03:23.877,990] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:03:33.886,871] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:03:43.896,820] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:03:53.906,097] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:03.915,740] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:13.925,476] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:23.934,967] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:33.944,549] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:43.954,010] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:04:53.964,080] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:05:03.973,266] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:05:13.982,818] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:05:23.992,431] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:05:34.002,349] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:05:44.011,535] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:05:54.020,751] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:06:04.031,280] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:06:14.040,252] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:06:24.050,201] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:06:34.059,265] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:06:44.069,519] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:06:54.078,521] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:07:04.209,869] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:07:14.220,184] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:07:24.228,790] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:07:34.238,403] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:07:44.248,901] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:07:54.258,056] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:08:04.268,096] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:08:14.276,916] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:08:24.286,651] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:08:34.296,752] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:08:44.305,664] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:08:54.315,429] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:09:04.325,408] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:09:14.334,045] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:09:24.343,688] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:09:34.354,187] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:09:44.363,800] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:09:54.373,352] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:10:04.382,843] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:10:14.391,754] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:10:24.401,672] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:10:34.411,560] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:10:44.421,203] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:10:54.430,450] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:11:04.439,575] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:11:14.449,310] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:11:24.459,442] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:11:34.468,261] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:11:44.478,179] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:11:54.487,792] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:12:04.497,406] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:12:14.618,530] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:12:24.627,471] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:12:34.636,993] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:12:44.647,125] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:12:54.656,158] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:13:04.665,710] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:13:14.675,292] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:13:24.685,424] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:13:34.694,488] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:13:44.703,887] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:13:54.714,263] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:14:04.723,327] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:14:14.733,215] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:14:24.742,492] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:14:34.752,441] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:14:44.761,291] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:14:54.770,874] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:15:04.781,066] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:15:14.790,618] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:15:24.799,865] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:15:34.809,783] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:15:44.818,878] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:15:54.828,491] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:16:04.838,409] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:16:14.848,205] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:16:24.856,872] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:16:34.867,370] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:16:44.876,373] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:16:54.885,955] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:17:04.895,446] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:17:14.905,517] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:17:24.914,215] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:17:34.924,591] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:17:45.077,392] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:17:55.087,249] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:18:05.096,832] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:18:15.106,384] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:18:25.116,088] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:18:35.126,037] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:18:45.134,979] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:18:55.145,233] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:19:05.154,327] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:19:15.163,970] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:19:25.173,492] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:19:35.183,532] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:19:45.193,023] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:19:55.202,178] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:20:05.211,914] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:20:15.221,801] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:20:25.230,957] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:20:35.240,478] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:20:45.250,183] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:20:55.259,735] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:21:05.269,592] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:21:15.278,717] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:21:25.288,269] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:21:35.297,851] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:21:45.307,647] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:21:55.316,925] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:22:05.327,270] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:22:15.336,181] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:22:25.346,435] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:22:35.355,316] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:22:45.365,020] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:22:55.374,542] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:23:05.384,216] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:23:15.393,402] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:23:25.403,747] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:23:35.413,177] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:23:45.422,424] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:23:55.432,342] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:24:05.441,192] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:24:15.450,897] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:24:25.625,610] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:24:35.635,070] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:24:45.644,775] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:24:55.654,266] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:25:05.664,062] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:25:15.673,461] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:25:25.682,922] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:25:35.693,267] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:25:45.702,911] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:25:55.711,761] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:26:05.721,099] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:26:15.730,865] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:26:25.740,539] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:26:35.750,152] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:26:45.760,314] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:26:55.769,378] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:27:05.779,418] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:27:15.788,208] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:27:25.798,004] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:27:35.807,586] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:27:45.817,718] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:27:55.826,660] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:28:05.836,639] <dbg> audio_system: encoder_thread: RX alloced: 7, locked: 7 HL [00:28:15.845,886] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6 HL [00:28:25.855,163] <dbg> audio_system: encoder_thread: RX alloced: 6, locked: 6
1.I believe that this issue can be replicate with nRF5340-(Audio)-DK, but it is not easy because it cannot be reproduced stably. By synchronization loss, I mean between the headset and the gateway。
2.my project base on NCS 2.2.0,one headset+one gateway.i have't change any param such as:the setting for retransmission times, the bitrate and so on.
Hi,
1) Do you know if there is interference nearby the headset or gateway, like a WIFI router or some other devices which is using 2.4GHz?
2) It would be useful with the debug log level logs from le_audio_bis_headset.c , this can be achieve by set CONFIG_BLE_LOG_LEVEL_DBG=y, so we can know more about this "disconnection" procedure.
3) Also, if possible, could you test with NCS v2.3.0 as well, to see if there is any change in how this issue behaves?
1.I am not sure if there is interference, I focus on wireless product developmentt ,so there may be hundreds of Bluetooth and WiFi devices around me. Finding a relatively clean environment for testing is really worth trying, but it takes some time.
2. I will open this and retrieve more logs again.
3. It's worth trying, but it will take some time, I'll respond when I'm ready.