Hello,
Because i want to connect more than two headset to one gateway, so i modify the prj.conf as follow

Hello,
Because i want to connect more than two headset to one gateway, so i modify the prj.conf as follow

Hello Amanda
Sorry for late, because i was deal with another function..
Now, i am back to this question. i use the v2.7.0 SDK, and when i modify the CONFIG_BT_MAX_CONN to 3, it will crashed, i followed the code, found the status is 7 means there is a "BT_HCI_ERR_MEM_CAPACITY_EXCEEDED" error.
I don't understand where the memory is insufficient, is it the network core or the application core?



It hard to continue... I found if the "param->params_count" is more than 2, in the for loop if the "

Can you give me some suggestions about that, Thank you very much and looking forward to your reply!
Hi,
Did you follow my suggestion in the previous reply to modify?
-Amanda H.
Hello, Amanda
Yes, of course i follow your suggestions. I have add the following code to prj.conf

And for the audio channel, i think i can send the same channel signal to different headset, for example, i can send left channel to headset 1th and 2th, send right channle to headset 3th, 4th. I only want to increase the connection numbers first.
And I also briefly browsed through the project you sent me.( https://github.com/alexsven/sdk-nrf/commit/68a7ac3452a5c55a25ab275d761393dbdea4d5df), I found it also deal with the tx part, but it not modify the "CONFIG_BT_MAX_CONN ", so I feel a littgle confused, and i do not know what the version of SDK it based on, so i can not test it.
But what ever, I think the first thing is i can make the gateway connect to at least 3 headset at same time, even if i do not have 3 channel signal input.
But if i make the "CONFIG_BT_MAX_CONN " to 3, when the gateway start, it will crashed, even there is no headset connect to it. It will log out it have "BT_HCI_ERR_MEM_CAPACITY_EXCEEDED" error.
So, do you have some suggestions about that? Can you give me some help, it very hard to continue.
Thank you very much and looking forward to your reply!
Hi,
huma said:But if i make the "CONFIG_BT_MAX_CONN " to 3, when the gateway start, it will crashed, even there is no headset connect to it. It will log out it have "BT_HCI_ERR_MEM_CAPACITY_EXCEEDED" error.
Try to increase the value in https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/applications/nrf5340_audio/sysbuild/ipc_radio/prj.conf#L26-L33 for network core.
Hello, Amanda
Thank you very much! I will test it later. If there is some result, i will report to you.
Thank.