<?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>Can ble_app_multilink_central example connect to more than 8 peripheral devices?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112369/can-ble_app_multilink_central-example-connect-to-more-than-8-peripheral-devices</link><description>Hi, 
 I trying to adapt the ble_app_multilink_central example to allow more than 8 peripheral connections to the central device. However, when I change NRF_SDH_BLE_TOTAL_LINK_COUNT in sdk_config.h to be any value greater than 8 the LED on my board does</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Jun 2024 11:32:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112369/can-ble_app_multilink_central-example-connect-to-more-than-8-peripheral-devices" /><item><title>RE: Can ble_app_multilink_central example connect to more than 8 peripheral devices?</title><link>https://devzone.nordicsemi.com/thread/490605?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 11:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f9c2daf-15e0-4420-9e26-85fa36c81f0c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Indeed, you will need to adjust the RAM and Flash memory here to fit your needs. Please follow the &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;adjustment of RAM/Flash memory guide here&lt;/a&gt; to do so. 20 total devices should be possible, but that is the absolute maximum you can use with the nRF5 SDK and SoftDevice. For more than that you need to move to the nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can ble_app_multilink_central example connect to more than 8 peripheral devices?</title><link>https://devzone.nordicsemi.com/thread/490419?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 17:47:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb294175-7e9f-40b8-8106-accc85133d0e</guid><dc:creator>Glenyz</dc:creator><description>&lt;p&gt;I figured out how to view the debug messages and here&amp;#39;s what I got:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app_timer: RTC: initialized.
&amp;lt;debug&amp;gt; app: nrf_sdh_enable_request() returned: 0x0
&amp;lt;debug&amp;gt; app: nrf_sdh_ble_default_cfg_set() returned: 0x0
&amp;lt;warning&amp;gt; nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.
&amp;lt;warning&amp;gt; nrf_sdh_ble: Change the RAM start location from 0x200043A8 to 0x20004880.
&amp;lt;warning&amp;gt; nrf_sdh_ble: Maximum RAM size for application is 0x3B780.
&amp;lt;error&amp;gt; nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.
&amp;lt;debug&amp;gt; app: nrf_sdh_ble_enable() returned: 0x4
&amp;lt;error&amp;gt; app: ERROR 4 [NRF_ERROR_NO_MEM] at ...&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;It looks like I need to allocate more memory for the RAM, but I&amp;#39;m not should how I should configure my RAM so that the solution does fit. Additionally, I hope to get up to 20 total devices connected, would that be feasible with the nrf52840 chip?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;&lt;br /&gt;Glen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can ble_app_multilink_central example connect to more than 8 peripheral devices?</title><link>https://devzone.nordicsemi.com/thread/490411?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 16:59:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c475e07a-e350-4958-bce9-c8615281b6ff</guid><dc:creator>Glenyz</dc:creator><description>&lt;p&gt;Hi Simon,&lt;br /&gt;&lt;br /&gt;Thanks for the reply. I am using the nrf5 sdk and altering the&amp;nbsp;ble_app_multilink_central example. How do I enable debug logging in Segger IDE?&amp;nbsp;&lt;/p&gt;
[quote userid="75734" url="~/f/nordic-q-a/112369/can-ble_app_multilink_central-example-connect-to-more-than-8-peripheral-devices/490279"]Does the DK not work or light up at all if you increase the TOTAL LINK COUNT of your project?[/quote]
&lt;p&gt;Yes, the DK does not work or light up after I increase&amp;nbsp;&lt;strong&gt;BLE_CENTRAL_LINK_COUNT&amp;nbsp;&lt;/strong&gt;and&lt;strong&gt;&amp;nbsp;TOTAL_LINK_COUNT&lt;/strong&gt;&amp;nbsp;to 9. I pressed the BOOT/RESET button after I built and downloaded the solution onto the DK as well.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;&lt;br /&gt;Glen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can ble_app_multilink_central example connect to more than 8 peripheral devices?</title><link>https://devzone.nordicsemi.com/thread/490279?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 12:26:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cbf4df9-16d3-4c14-a6ac-f82d384f297a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Does the DK not work or light up at all if you increase the TOTAL LINK COUNT of your project? What are you trying to set it to exactly? The maximum number of links will be 20, and the &lt;strong&gt;TOTAL_LINK_COUNT&lt;/strong&gt; must be =&amp;gt; &lt;strong&gt;BLE_CENTRAL_LINK_COUNT&lt;/strong&gt; + &lt;strong&gt;BLE_PERIPHERAL_LINK_COUNT&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;You should do some debugging to see what exactly is happening. Enable debug logging and see what return values are returned by I.E. the SoftDevice or BLE stack init function if setting this higher than 8.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>