<?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>bt_hci_core: opcode 0x200d status 0x0d On second peripheral turned on</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113400/bt_hci_core-opcode-0x200d-status-0x0d-on-second-peripheral-turned-on</link><description>Hello everyone! I am having some trouble in connecting two peripherals to a single central station. 
 As peripherals I&amp;#39;m using 2 nRF5340DK flashed with the UART-Peripheral Sample. I just have changed the Device Name for each of them. 
 As central, I&amp;#39;m</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jul 2024 11:53:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113400/bt_hci_core-opcode-0x200d-status-0x0d-on-second-peripheral-turned-on" /><item><title>RE: bt_hci_core: opcode 0x200d status 0x0d On second peripheral turned on</title><link>https://devzone.nordicsemi.com/thread/496190?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 11:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c357413-1f5d-4278-a849-21cb4616493a</guid><dc:creator>dario.sortino</dc:creator><description>&lt;p&gt;I solved by removing completely the content of hci_ipc.conf&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_hci_core: opcode 0x200d status 0x0d On second peripheral turned on</title><link>https://devzone.nordicsemi.com/thread/496163?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 09:28:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2317af73-3f7e-4b8f-a9a0-2211475049f1</guid><dc:creator>dario.sortino</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6114.api_5F00_ble.c"&gt;devzone.nordicsemi.com/.../6114.api_5F00_ble.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please refer to this block of code.&lt;/p&gt;
&lt;p&gt;With this, the sample returns the following log:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722331680772v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ther is only one peripheral turned on and it works fine if I flash the multi-NUS sample (from which I based my code). Apparently the problem is solved with an &amp;quot;erase and flash&amp;quot; of the board.&lt;/p&gt;
&lt;p&gt;Currently, I see&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722334304019v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;when turning on the second peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_hci_core: opcode 0x200d status 0x0d On second peripheral turned on</title><link>https://devzone.nordicsemi.com/thread/496032?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 13:47:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7166f40e-5a56-4260-83f0-fa1421573f02</guid><dc:creator>dario.sortino</dc:creator><description>&lt;p&gt;I had to comment out line 228-231 otherwise a MPU Fault shows&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_hci_core: opcode 0x200d status 0x0d On second peripheral turned on</title><link>https://devzone.nordicsemi.com/thread/496031?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 13:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6e3832c-14c5-4972-ab3d-d8c28ee7dc1a</guid><dc:creator>dario.sortino</dc:creator><description>&lt;p&gt;Unluckily it would not change the result.&lt;/p&gt;
&lt;p&gt;I kept trying stuff and ended up using directly&amp;nbsp;the multi-NUS service in my device that previously was running the throughput serivice.&lt;/p&gt;
&lt;p&gt;All the code related to the BT is here&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/api_5F00_ble.c"&gt;devzone.nordicsemi.com/.../api_5F00_ble.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And my conf files are&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/prj_2D00_wifi.conf"&gt;devzone.nordicsemi.com/.../prj_2D00_wifi.conf&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5707.prj.conf"&gt;devzone.nordicsemi.com/.../5707.prj.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And for the network core&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6864.hci_5F00_ipc.conf"&gt;devzone.nordicsemi.com/.../6864.hci_5F00_ipc.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In my main, I call `ifeel_ble_init` to start the whole bt stack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_hci_core: opcode 0x200d status 0x0d On second peripheral turned on</title><link>https://devzone.nordicsemi.com/thread/496018?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 13:15:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:459e2f05-31ad-4203-9b1b-f39494339c3b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="dario.sortino"]Also tried CONFIG_BT_MAX_CONN=2 and CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT=2 but the error is showing anyways[/quote]
&lt;p&gt;Is the result different? Can you connect to the second peripheral in this case?&lt;br /&gt;Do you get different result if you increase&amp;nbsp;&lt;span&gt;CONFIG_BT_MAX_CONN&lt;/span&gt;&amp;nbsp;on the central side?&amp;nbsp;&lt;/p&gt;
[quote user="dario.sortino"]May I share you my config files and the code that I have setup to run the bt stack?[/quote]
&lt;p&gt;If increasing maximum number of connections does not resolve the issue, you could send full log showing the error/warning and your config files.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_hci_core: opcode 0x200d status 0x0d On second peripheral turned on</title><link>https://devzone.nordicsemi.com/thread/495762?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 08:33:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1042f11-c45f-48cd-b5eb-fed9b3f005f2</guid><dc:creator>dario.sortino</dc:creator><description>&lt;p&gt;I already set CONFIG_BT_MAX_CONN=2 in both cores. Also, if I set CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT=2 it doesn&amp;#39;t build correctly.&lt;/p&gt;
&lt;p&gt;Also tried CONFIG_BT_MAX_CONN=2 and CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT=2 but the error is showing anyways&lt;/p&gt;
&lt;p&gt;May I share you my config files and the code that I have setup to run the bt stack?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bt_hci_core: opcode 0x200d status 0x0d On second peripheral turned on</title><link>https://devzone.nordicsemi.com/thread/495681?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 15:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9091e42d-f137-49db-adb0-8bc3929a009b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You could try to add&amp;nbsp;CONFIG_BT_MAX_CONN=2 to both application and network core. In addition, you could try to set&amp;nbsp;&lt;span&gt;CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT=2 to the network core image.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>