Hello Team,
I have flashed the bap_unicast_server bluetooth sample on my nRF5340 Audio DK. No build or flash errors. When I connect to my phone it connects properly. I'm using Samsung Galaxy S23 Ultra (has BLE Audio enabled). However, playing any audio or media via some music player or something (like Spotify or Youtube Music) gives the follow stackoverflow error
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
*** Booting nRF Connect SDK v3.0.1-9eb5615da66b ***
*** Using Zephyr OS v4.0.99-77f865b8f8d0 ***
[00:00:00.319,458] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.319,488] <inf> bt_hci_core: HW Variant: nRF53x (0x0003)
[00:00:00.319,519] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 45.41337 Build 3074452168
[00:00:00.321,289] <inf> bt_hci_core: Identity: F2:84:18:6B:A7:A3 (random)
[00:00:00.321,319] <inf> bt_hci_core: HCI: version 6.0 (0x0e) revision 0x206b, manufacturer 0x0059
[00:00:00.321,319] <inf> bt_hci_core: LMP: version 6.0 (0x0e) subver 0x206b
Bluetooth initialized
Location successfully set
Supported contexts successfully set
Available contexts successfully set
Advertising successfully started
Connected: 66:BF:4D:4A:FA:D0 (random)
Disconnected: 66:BF:4D:4A:FA:D0 (random), reason 0x13
Advertising successfully started
Connected: 43:99:95:17:DD:FE (random)
ASE Codec Config: conn 0x20001930 ep 0x2000204c dir 1
codec_cfg 0x06 cid 0x0000 vid 0x0000 count 19
data: type 0x01 value_len 1
08
I'm looking for a code sample apart from the audio application that contains a modular code and explanation for connecting the board to a mobile device and streaming audio via the mobile device. This is the closest I could get I guess. Please let me know what's the issue here.
I'm using toolchain v3.0.1 and SDK v3.0.1
Best,
Soham