<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95858/could-not-create-unicast-group-err--134</link><description>I am trying the Zephry Bluetooth samples unicast_audio_server and unicast_audio_client at 
 https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/bluetooth/unicast_audio_server and 
 https://github.com/zephyrproject-rtos/zephyr/tree/main/samples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Feb 2023 15:49:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95858/could-not-create-unicast-group-err--134" /><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/411725?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 15:49:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70ce84a0-00eb-4abc-8b74-6afb909a503a</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I have not been able to completely resolve this. But I will share the progress I had. &lt;/p&gt;
&lt;p&gt;I modified the Unicast Audio Client and Unicast Audio Server directories by doing the following. &lt;/p&gt;
&lt;p&gt;This configuration was added to &amp;lt;ncs-installation&amp;gt;/zephyr/samples/bluetooth/unicast_audio_server/child_image/hci_rpmsg.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_IPC_SERVICE=y
CONFIG_MBOX=y

CONFIG_HEAP_MEM_POOL_SIZE=8192

CONFIG_MAIN_STACK_SIZE=512
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512

CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1

CONFIG_BT_CTLR_ASSERT_HANDLER=y

# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.
CONFIG_BT_BUF_CMD_TX_COUNT=10

CONFIG_BT_BROADCASTER=n
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_OBSERVER=n
CONFIG_BT_CENTRAL=n
CONFIG_BT_EXT_ADV=y
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_PER_ADV=y
CONFIG_BT_ISO_BROADCASTER=y
CONFIG_BT_ISO_MAX_CHAN=2

# ISO Broadcast Controller
CONFIG_BT_LL_SW_SPLIT=y
CONFIG_BT_CTLR_ADV_PERIODIC=y
CONFIG_BT_CTLR_ADV_DATA_LEN_MAX=191
CONFIG_BT_CTLR_ADV_ISO=y
CONFIG_BT_CTLR_ADV_ISO_PDU_LEN_MAX=251
CONFIG_BT_CTLR_ISO_TX_BUFFERS=16
CONFIG_BT_CTLR_ISO_TX_BUFFER_SIZE=251
CONFIG_BT_CTLR_ADV_ISO_STREAM_MAX=2&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This configuration was added to &amp;lt;ncs-installation&amp;gt;/zephyr/samples/bluetooth/unicast_audio_client/child_image/hci_rpmsg.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_IPC_SERVICE=y
CONFIG_MBOX=y

CONFIG_HEAP_MEM_POOL_SIZE=8192

CONFIG_MAIN_STACK_SIZE=512
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512

CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1

CONFIG_BT_CTLR_ASSERT_HANDLER=y

# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.
CONFIG_BT_BUF_CMD_TX_COUNT=10

CONFIG_BT_BROADCASTER=n
CONFIG_BT_PERIPHERAL=n
CONFIG_BT_OBSERVER=n
CONFIG_BT_CENTRAL=y
CONFIG_BT_EXT_ADV=y
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_PER_ADV_SYNC=y
CONFIG_BT_ISO_SYNC_RECEIVER=y
CONFIG_BT_ISO_MAX_CHAN=2

# ISO Receive Controller
CONFIG_BT_LL_SW_SPLIT=y
CONFIG_BT_CTLR_SYNC_PERIODIC=y
CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX=191
CONFIG_BT_CTLR_SYNC_ISO=y
CONFIG_BT_CTLR_SYNC_ISO_PDU_LEN_MAX=251
CONFIG_BT_CTLR_SYNC_ISO_STREAM_MAX=2
CONFIG_BT_CTLR_ISOAL_SINKS=2
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This resolved the &amp;quot;Failed to set advertising data (err -5)&amp;quot; error. Unfortunately it resulted in another error: &lt;span&gt;&lt;code&gt;BT_HCI_ERR_UNKNOWN_CONN_ID&lt;/code&gt;, which occurs when the client attempts to connect to the server.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To get further help with this I advise you to contact the Zephyr Project on &lt;a href="https://discord.com/invite/Ck7jw53nU2"&gt;Discord&lt;/a&gt;. The reason for this being that the samples and the controller was all created by Zephyr.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;br /&gt;Maria&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/409987?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 07:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f73752e-47df-44db-8f05-8e29c54bcee3</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am very sorry for taking so long to get back to you.&lt;/p&gt;
&lt;p&gt;Have you been able to solve your issue while you were waiting?&lt;/p&gt;
&lt;p&gt;I will strive to give you a further response within end of day.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/408044?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2023 14:49:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79625684-933a-45e1-a232-c91248524f42</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the delay.&lt;/p&gt;
&lt;p&gt;I have reproduced your issue, but I need to do some more tests to figure out why this fails. Thank you for your patience.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/407357?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 13:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e2580db-6bf5-4e1d-ada3-b92a6c8911a4</guid><dc:creator>mul</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/maria-gilje"&gt;Maria Gilje&lt;/a&gt;&amp;nbsp;Thanks for your reply. However, there is still an issue. The server fails to set advertising data. Here is my output&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.2.99-ncs1-1547-ge2bec540218d ***
[00:00:00.395,599] &amp;lt;inf&amp;gt; bt_hci_core: hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.395,660] &amp;lt;inf&amp;gt; bt_hci_core: hci_vs_init: HW Variant: nRF53x (0x0003)
[00:00:00.395,690] &amp;lt;inf&amp;gt; bt_hci_core: hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 3.2 Build 99
[00:00:00.397,796] &amp;lt;inf&amp;gt; bt_hci_core: bt_dev_show_info: Identity: E6:15:13:0B:35:CD (random)
[00:00:00.397,827] &amp;lt;inf&amp;gt; bt_hci_core: bt_dev_show_info: HCI: version 5.3 (0x0c) revision 0x0000, manufacturer 0x05f1
[00:00:00.397,857] &amp;lt;inf&amp;gt; bt_hci_core: bt_dev_show_info: LMP: version 5.3 (0x0c) subver 0xffff
Bluetooth initialized
Location successfully set
Available contexts successfully set
[00:00:00.399,291] &amp;lt;wrn&amp;gt; bt_hci_core: bt_hci_cmd_send_sync: opcode 0x2037 status 0x0c
Failed to set advertising data (err -5)
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/407282?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 10:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1319e2b9-ef7b-4951-9a6a-0b5196d66a4b</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Ok. If you don&amp;#39;t have nRF Connect SDK (NCS)&amp;nbsp; installed, please follow &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_assistant.html"&gt;these instructions&lt;/a&gt; to install it.&lt;/p&gt;
&lt;p&gt;Then you can find unicast_server and unicast_client located at &amp;lt;ncs-installation&amp;gt;/zephyr/samples/bluetooth. Include&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_BT_LL_SW_SPLIT"&gt;CONFIG_BT_LL_SW_SPLIT&lt;/a&gt; to the prj.conf for both samples as Karl described and build the modified sample.&lt;/p&gt;
&lt;p&gt;Regards, &lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/407005?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 08:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14542b8e-a8b9-466a-95c6-c451b71a70ad</guid><dc:creator>mul</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/maria-gilje"&gt;Maria Gilje&lt;/a&gt;&amp;nbsp;I am using the Zephyr from the examples from here:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/bluetooth"&gt;github.com/.../bluetooth&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/406881?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2023 14:29:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba72a5b6-56e3-448a-a2de-b246fad5ab02</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am taking over this case from Karl. I can look closer into it over the weekend, but I have some initial thoughts.&lt;/p&gt;
&lt;p&gt;I can see that you are linking to both Zephyr and NCS documentation, and I want to clear up which SDK you are using.&lt;/p&gt;
&lt;p&gt;Are you using Zephyr from Zephyr Project or the Zephyr samples from nRF Connect SDK? NCS uses a downstream version of Zephyr, and the different version could be a factor for your error.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/406289?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2023 14:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0f8ce39-5596-465f-afa2-ce6c7b7d359b</guid><dc:creator>mul</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/karl-ylvisaker"&gt;Karl Ylvisaker&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I add CONFIG_BT_LL_SW_SPLIT=y to the proj.conf of the hci_rpmsg sample and flash the network core with it, then the server can&amp;#39;t even create an advertising set. With this disabled, it can create an advertising set, but then the client is unable to create&amp;nbsp; a unicast group.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v3.2.99-ncs1 ***
Bluetooth initialized
Location successfully set
Available contexts successfully set
Failed to create advertising set (err -5)
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/405965?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2023 08:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4527632d-3a6a-4d8f-8eff-6f68694e4235</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;By default &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_ble_controller.html#usage-in-samples"&gt;the NCS SDK samples will use the SoftDevice Controller, unless you have the&amp;nbsp;&lt;/a&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_BT_LL_SW_SPLIT"&gt;&lt;code&gt;&lt;span&gt;CONFIG_BT_LL_SW_SPLIT&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_ble_controller.html#usage-in-samples"&gt; config in your prj.config file&lt;/a&gt;.&lt;br /&gt;I dont see this in your shared prj.conf file, so I would assume that you are also using the SoftDevice Controller.&lt;br /&gt;Please try to add the&amp;nbsp;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_BT_LL_SW_SPLIT"&gt;&lt;code&gt;&lt;span&gt;CONFIG_BT_LL_SW_SPLIT&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&amp;nbsp;config to switch to the Zephyr LL Controller, and see if this issue persists.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/405727?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 16:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d93b12d-b26e-4b78-a59d-b771d2ebbc3b</guid><dc:creator>mul</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/karl-ylvisaker"&gt;Karl Ylvisaker&lt;/a&gt;&amp;nbsp;Thanks for your reply. I am using the Zephyr controller ( I believe ). I build the following sample and flash it to the network core.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/hci_rpmsg/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/hci_rpmsg/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My proj.conf for the hci_rpmsg sample is as follows :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_IPC_SERVICE=y
CONFIG_MBOX=y

CONFIG_HEAP_MEM_POOL_SIZE=8192

CONFIG_MAIN_STACK_SIZE=512
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512

CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_RESERVE=1
CONFIG_BT_MAX_CONN=16

CONFIG_BT_CTLR_ASSERT_HANDLER=y

# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.
CONFIG_BT_BUF_CMD_TX_COUNT=10

CONFIG_BT_EXT_ADV=y
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_PER_ADV=y

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Could not create unicast group (err -134)</title><link>https://devzone.nordicsemi.com/thread/405720?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 15:11:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23423c27-5cff-4f4b-9f84-6e0800bcfd3c</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Which controller are you using, the Zephyr Controller or the SoftDevice controller?&lt;br /&gt;&lt;br /&gt;The SoftDevice controller does not support ISO channels, so you will have to use the Zephyr controller to test these samples. The -134 error code means Unsupported Value, and&amp;nbsp;would be&amp;nbsp;returned if you&amp;nbsp;were using the SoftDevice controller, for instance.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>