<?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>NCS max concurrent peripheral connections</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70624/ncs-max-concurrent-peripheral-connections</link><description>I am trying to build the NCS sample project &amp;quot;peripheral_lbs&amp;quot; with multiple peripheral connections. Therefore I added the CONFIG_BT_MAX_CONN. Up to 20 the build is working fine but if I increase it further the build stops working. 
 Is it somehow possible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jan 2021 13:20:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70624/ncs-max-concurrent-peripheral-connections" /><item><title>RE: NCS max concurrent peripheral connections</title><link>https://devzone.nordicsemi.com/thread/290266?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 13:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86e08f1d-47e7-46cb-af2c-523ae5592f94</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;You helped me a lot, thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS max concurrent peripheral connections</title><link>https://devzone.nordicsemi.com/thread/290261?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 13:13:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d150f1b5-7fcc-4c6f-8c39-40e173554dbd</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Take a look at &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.99-dev1/nrf/ug_ble_controller.html?highlight=controller#usage-in-samples" rel="noopener noreferrer" target="_blank"&gt;this&lt;/a&gt;. You will find more information regarding the two controllers, and under Usage in samples you can find how to switch between them. By default,&amp;nbsp;&lt;span&gt;all samples except for the Bluetooth Mesh samples are currently configured to use SoftDevice&amp;nbsp;&lt;/span&gt;&lt;span&gt;Controller. So unless you done any modifications you are using the softdevice controller.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS max concurrent peripheral connections</title><link>https://devzone.nordicsemi.com/thread/290246?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 12:49:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2648bf54-b796-40f0-8aa7-4b514ac00169</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I wasn&amp;#39;t aware that there are these two options. I was probably using the Softdevice controller.&lt;/p&gt;
&lt;p&gt;How can I check which one I am using and how do I switch between them?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS max concurrent peripheral connections</title><link>https://devzone.nordicsemi.com/thread/290243?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 12:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23393faa-d47c-4a2b-b381-82bb013fa693</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which BLE controller are you using? Zephyr LL controller or Softdevice controller?&lt;/p&gt;
&lt;p&gt;If you are using the nordic softdevice controller, the limit is only 20 concurrent connection. If you are using the Zephyr controller it can support up to 64 concurrent connections(this is&amp;nbsp;what has been tested and qualified with, there is no upper limit) depending on the memory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS max concurrent peripheral connections</title><link>https://devzone.nordicsemi.com/thread/290051?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 15:37:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a8f6fbc-6808-4dec-bbaf-0b4dacd76440</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;Ok, but why is it that when I run the build command &amp;quot;west build -b nrf52840dk_nrf52840&amp;quot; I get these two warnings and the build stops with an error:&lt;/p&gt;
&lt;p&gt;One of the warnings says this:&lt;br /&gt;&lt;em&gt;&amp;quot;... ignored due to being outside the active range ([1, 20]) ...&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Is this limit there for a specific reason?&lt;/p&gt;
&lt;p&gt;Can I just rewrite the Kconfig to use a different range?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error log:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;warning: BT_MAX_CONN (defined at
D:/Development/nrf52_examples/ncs/manual/ncs/nrf\subsys\bluetooth/Kconfig:14,
subsys/bluetooth/Kconfig:177) was assigned the value &amp;#39;21&amp;#39; but got the value &amp;#39;1&amp;#39;. See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_BT_MAX_CONN.html and/or look up
BT_MAX_CONN in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


warning: user value 21 on the int symbol BT_MAX_CONN (defined at D:/Development/nrf52_examples/ncs/manual/ncs/nrf\subsys\bluetooth/Kconfig:14, subsys/bluetooth/Kconfig:177) ignored due to being outside the active range ([1, 20]) -- falling back on defaults
Parsing D:/Development/nrf52_examples/ncs/manual/ncs/nrf/samples/bluetooth/peripheral_lbs/Kconfig
Loaded configuration &amp;#39;D:/Development/nrf52_examples/ncs/manual/ncs/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig&amp;#39;
Merged configuration &amp;#39;D:/Development/nrf52_examples/ncs/manual/ncs/nrf/samples/bluetooth/peripheral_lbs/prj.conf&amp;#39;

error: Aborting due to Kconfig warnings
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS max concurrent peripheral connections</title><link>https://devzone.nordicsemi.com/thread/290013?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 13:21:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb1e36a4-7835-4d51-b8c7-ab2fb81225e2</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, your&amp;nbsp;&lt;span&gt;interpretation&amp;nbsp;is correct. There is no limitation on the number of concurrent connections you can have in Zephyr, it&amp;#39;s only dependent on the amount of memory on the chip you are using. It should be fine to establish more than 20 conncections.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>