<?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>get the min connection interval with 8 sensors</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25225/get-the-min-connection-interval-with-8-sensors</link><description>Hello community, 
 I did a central device which is connecting with 8 slaves and this slaves are sending every time 8 bytes when they are connected. My set up is the following: 
 #define MIN_CONNECTION_INTERVAL	MSEC_TO_UNITS(10, UNIT_1_25_MS) 
#define</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Sep 2017 06:24:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25225/get-the-min-connection-interval-with-8-sensors" /><item><title>RE: get the min connection interval with 8 sensors</title><link>https://devzone.nordicsemi.com/thread/99398?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2017 06:24:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c33f0de8-8233-441e-8c50-41e53fefa0cd</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;That doesn&amp;#39;t make sense. Where did you change it? In the central code? Which connection params are you giving to sd_ble_gap_connect()?&lt;/p&gt;
&lt;p&gt;That will not be approx connection interval, it will be the interval between received notifications, it is not always the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: get the min connection interval with 8 sensors</title><link>https://devzone.nordicsemi.com/thread/99397?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 13:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e54ec2fb-ce68-4141-92a8-6c3cdab51f86</guid><dc:creator>DavidC</dc:creator><description>&lt;p&gt;I changed my range of connection interval to 16 but im  still having 15 ms. The peripherals (sensors) are sending their data through Notifications, my timestamp is done by a C# program on Raspberry Pi. When the NRF52832 receives a notfications, it sends it back to the RBP via SPI and when the RBP got it make a timestamp, the difference between one timestamp and the other should be approx the interval connection.&lt;/p&gt;
&lt;p&gt;The peripheral are not trying to do an update to the connection parameters,  they have on their system min 40 and max 60 ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: get the min connection interval with 8 sensors</title><link>https://devzone.nordicsemi.com/thread/99396?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 13:10:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12cd6f88-5a0f-4836-ac76-401c670324f6</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure why you get 15 ms, but try to set MIN_CONNECTION_INTERVAL = MAX_CONNECTION_INTERVAL = MSEC_TO_UNITS(16, UNIT_1_25_MS) Then you should get a connection interval of 20 ms, and then you should check the the peripheral isn&amp;#39;t requesting to change it. If you are not getting a BLE_GAP_EVT_CONN_PARAM_UPDATE event, you are good.&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;these sensors are sending in every package 8 bytes in a connection interval of 30 ms&amp;quot;? The connection interval is independent of how often you send data. Are you using a timer to send one package every 30 ms? How are you sending the data? Notifications? How are you timestamping?&lt;/p&gt;
&lt;p&gt;Does it work with only one connection? I would try to get one working first, before scaling to 8.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: get the min connection interval with 8 sensors</title><link>https://devzone.nordicsemi.com/thread/99395?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 12:53:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0314acad-c30d-46f1-a3f3-065b1799dd97</guid><dc:creator>DavidC</dc:creator><description>&lt;p&gt;Hello Petter,
the central is connecting to 8 peripheral (Motions sensors), these sensors are sending in every package 8 bytes in a connection interval of 30 ms (Accoring to the timestamp).&lt;/p&gt;
&lt;p&gt;My connection interval set up is  the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define MIN_CONNECTION_INTERVAL MSEC_TO_UNITS(10, UNIT_1_25_MS)  
#define MAX_CONNECTION_INTERVAL MSEC_TO_UNITS(16, UNIT_1_25_MS) 
#define SLAVE_LATENCY           0                           
#define SUPERVISION_TIMEOUT     MSEC_TO_UNITS(200, UNIT_10_MS)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Using the link that you send me, i am checking which  range is my connection time , for MAX = 15 ms and MIN = 15ms.&lt;/p&gt;
&lt;p&gt;But when I checking my data, the interval is not 15 ms but rather 30 ms.&lt;/p&gt;
&lt;p&gt;I dont know why is changing my interval.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: get the min connection interval with 8 sensors</title><link>https://devzone.nordicsemi.com/thread/99394?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 14:09:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:226e16db-19fe-4b9c-a022-c0db5147e709</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;slaves are sending every time 8 bytes when they are connected&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I don&amp;#39;t understand. Every time? How often are you sending 8 bytes?&lt;/p&gt;
&lt;p&gt;What is the actual connection interval you are using? See &lt;a href="https://devzone.nordicsemi.com/question/56471/check-ble-connection-interval/"&gt;this&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>