<?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>notification packet interval</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16626/notification-packet-interval</link><description>Hi, I got a problem. 
 I created a timer, interval is 30ms. 
 #define MIN_CONN_INTERVAL MSEC_TO_UNITS(150, UNIT_10_MS) /**&amp;lt; Minimum acceptable connection interval (0.02 seconds). */
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(400, UNIT_10_MS) /**&amp;lt; Maximum</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 24 Sep 2016 02:34:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16626/notification-packet-interval" /><item><title>RE: notification packet interval</title><link>https://devzone.nordicsemi.com/thread/63579?ContentTypeID=1</link><pubDate>Sat, 24 Sep 2016 02:34:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c134bdb0-b794-424c-8f59-c6a34efa6014</guid><dc:creator>frogofmagic</dc:creator><description>&lt;p&gt;Hi Ole bauk, thanks for comment, I&amp;#39;ll fix it and test again:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: notification packet interval</title><link>https://devzone.nordicsemi.com/thread/63578?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2016 12:07:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19f55ec6-7807-4d42-b677-f3e08d136b53</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The notifications will be sent next connection event, so if you try to send two notifications before a connection event has happened then both notifications will be sent during the next connection event.&lt;/p&gt;
&lt;p&gt;Also, why are you using MSEC_TO_UNITS(80, UNIT_10_MS) and not MSEC_TO_UNITS(8, UNIT_1_25_MS)? The connection interval is specified in 1.25ms units, so if you want to set it to 8ms (it will be actually be set to 7.5ms as this is factor of 1.25ms) you have to use MSEC_TO_UNITS(8, UNIT_1_25_MS). Also be aware that the central decides the connection interval and it may not accept the intervals proposed by the peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: notification packet interval</title><link>https://devzone.nordicsemi.com/thread/63577?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2016 06:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d34e2c03-d7ec-4e9c-915e-ef838fc3d5c3</guid><dc:creator>frogofmagic</dc:creator><description>&lt;p&gt;Ok, it seems I misunderstand min_conn_interval / max_conn_interval.&lt;/p&gt;
&lt;p&gt;If I want notify every 30ms, the max_conn_interval should be less than 30ms.&lt;/p&gt;
&lt;p&gt;I changed to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define MIN_CONN_INTERVAL                MSEC_TO_UNITS(80, UNIT_10_MS)           /**&amp;lt; Minimum acceptable connection interval (0.008  seconds). */
#define MAX_CONN_INTERVAL                MSEC_TO_UNITS(100, UNIT_10_MS)           /**&amp;lt; Maximum acceptable connection interval (0.010  second). */
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and problem seems solved.&lt;/p&gt;
&lt;p&gt;Please let me know if I was doing the wrong thing &amp;gt;&amp;quot;&amp;lt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>