Hi Nordic team,
I'm working with the nrf5340_audio
source code from the nRF Connect SDK and have compiled the project as a gateway. When I try to connect to a headset, I'm seeing the following logs:
-- [00:01:11.738,037] <inf> main: Received Command: connect AC:BF:71:77:35:D2 -- [00:01:11.738,067] <inf> main: MAC address AC:BF:71:77:35:D2 is valid. -- [00:01:11.738,098] <inf> main: Attempting to connect to AC:BF:71:77:35:D2... -- [00:01:11.738,098] <inf> bt_mgmt_scan: Scanning started... -- [00:01:12.042,724] <inf> bt_mgmt_scan: Device found: AC:BF:71:77:35:D2 (public) (Type: Public, RSSI: -52 dBm) -- [00:01:16.739,135] <inf> bt_mgmt_scan: Device is advertising with type: Public -- [00:01:16.739,776] <inf> bt_mgmt: Connection initiated index : 0 Sending UART Response: connect AC:BF:71:77:35:D2 -- [00:01:16.808,563] <inf> bt_mgmt: MTU exchanged: 23/23 -- [00:01:16.808,746] <inf> bt_mgmt: Connected: AC:BF:71:77:35:D2 (public) (index 0) -- [00:01:16.808,776] <inf> main: Connection event. Num connections: 1 Sending UART Response: Success: Connected Successfully OKEY -- [00:01:16.812,011] <inf> bt_mgmt: Security level: 1 -- [00:01:17.060,394] <inf> bt_mgmt: MTU exchanged: 247/65 -- [00:01:17.110,931] <inf> bt_mgmt: Pairing request from AC:BF:71:77:35:D2 (public) -- [00:01:17.110,931] <inf> bt_mgmt: Initiator key distribution: 0x03 -- [00:01:17.110,931] <inf> bt_mgmt: Responder key distribution: 0x03 -- [00:01:17.920,410] <inf> bt_mgmt: Security changed: AC:BF:71:77:35:D2 (public) level 2 -- [00:01:17.920,440] <inf> main: Security changed -- [00:01:17.972,747] <inf> bt_mgmt: Pairing complete with AC:BF:71:77:35:D2 (public) (Bonded: Yes) Security level: 2 -- [00:01:17.980,590] <wrn> unicast_client: Got err: 0 from conn: 0x200047c8 -- [00:01:18.170,257] <inf> bt_vol_ctlr: VCS discover finished -- [00:01:19.380,310] <wrn> unicast_client: More than one sink endpoint found, idx 0 is used by default -- [00:01:19.580,261] <wrn> bt_bap_unicast_client: No space left to parse ASE -- [00:01:19.580,261] <err> unicast_client: Discovery failed: -12
From what I understand, the -12
error is -ENOMEM (Not enough core )
, but I’m not sure why this is happening.
How can I resolve this issue?
Is it related to buffer size or too many ASEs from the headset?
Any suggestions would be appreciated.
Thanks!