<?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>BLE Multi-Role Multi-Link intervals for reliable connections</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41439/ble-multi-role-multi-link-intervals-for-reliable-connections</link><description>I am using the latest SDK 15.2 
 I am trying to build a network of &amp;quot;nodes&amp;quot; these nodes both scan and advertise and will connect with each other. 
 i currently have 7 NRF dev boards connecting to each other and every 5 seconds will send a 100 byte packet</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Dec 2018 02:32:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41439/ble-multi-role-multi-link-intervals-for-reliable-connections" /><item><title>RE: BLE Multi-Role Multi-Link intervals for reliable connections</title><link>https://devzone.nordicsemi.com/thread/161324?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 02:32:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56ae42b1-9c59-4ab1-838c-67321dd16dd5</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Edvin,&lt;/p&gt;
&lt;p&gt;I have set the following parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Advertising Interval to 5000&lt;/li&gt;
&lt;li&gt;Scan interval to 160&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Scan Window to 80&lt;/li&gt;
&lt;li&gt;Min Connection interval to 100&lt;/li&gt;
&lt;li&gt;Max Connection interval to 200&lt;/li&gt;
&lt;li&gt;MTU is set to 100&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;and it seems to be working quite well with 7 devices connected.&lt;br /&gt;i am going to add another 7 devices and see how it behaves&lt;br /&gt;&lt;br /&gt;I realized i had a memory leak which was causing the application to&amp;nbsp;get stuck.&lt;br /&gt;Thank you for your help &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;David Hutchinson&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Multi-Role Multi-Link intervals for reliable connections</title><link>https://devzone.nordicsemi.com/thread/161248?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 14:50:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0f2100d-1612-4d99-b8a7-0f34f07d1975</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello David,&lt;/p&gt;
&lt;p&gt;I believe that the first thing you should check is the disconnect reason in your disconnected events. Check on both sides of the connection, peripheral and the central.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You are closing in on the limit of possible connections when you have 15 connections. Is there a reason for why 7 are central and 7 peripheral? Do want all devices to be connected to all other devices?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;100 bytes every 5 seconds is not a lot of payload data, but depending on the connection, you must either use a long MTU and enable Data Length Extension (DLE), or you can split the 100 byte packets into 5 20 byte packets.&lt;/p&gt;
&lt;p&gt;If you want a lot of connections, in the range of 15, I would suggest that you start with using 100ms connection interval. If everything is OK, and you for some reason want a shorter interval, you can try to decrease it.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t want to reduce the packet payload to below 100bytes, I suggest you use an even larger connection interval. A longer payload takes longer time on air, and increases the chances for event collisions.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>