<?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>What&amp;#39;s the unit of advertising interval parameter?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9251/what-s-the-unit-of-advertising-interval-parameter</link><description>I am not a native English speaker, I am totally confused with this line of code where I have found in many samples 
 #define APP_ADV_INTERVAL 300 /**&amp;lt; The advertising interval (in units of 0.625 ms. This value corresponds to 25 ms). */
 
 Could anyone</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Sep 2015 17:38:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9251/what-s-the-unit-of-advertising-interval-parameter" /><item><title>RE: What's the unit of advertising interval parameter?</title><link>https://devzone.nordicsemi.com/thread/34138?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2015 17:38:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec5cf2ce-0d61-491b-8433-6e11504063d5</guid><dc:creator>Xuhui Huang</dc:creator><description>&lt;p&gt;Thank you very much Kevin, I just wanna make sure if it is a typo, thank you :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What's the unit of advertising interval parameter?</title><link>https://devzone.nordicsemi.com/thread/34137?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2015 07:05:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9686489d-ecda-46f2-b1e7-5b2bc67007a0</guid><dc:creator>Kevin K.</dc:creator><description>&lt;p&gt;I think it is a typo. For 25 ms we would expect APP_ADV_INTERVAL to have a value of 40. In some of the other example applications (look at ble_app_gls) we see the correct value of 40 with an identical comment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What's the unit of advertising interval parameter?</title><link>https://devzone.nordicsemi.com/thread/34136?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2015 05:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:494d23ca-562b-4dc8-bf02-a09b0451ddb6</guid><dc:creator>Xuhui Huang</dc:creator><description>&lt;p&gt;Thanks for your answer Kevin, I totally understand what you are talking about, but what make me really confused is the comment &amp;quot;This value corresponds to 25 ms&amp;quot;, as you said, it should be 187.5 ms, do you think it is a typo?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What's the unit of advertising interval parameter?</title><link>https://devzone.nordicsemi.com/thread/34135?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2015 23:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2baceb7b-013e-4b79-8dd9-5d7b7bb1b6af</guid><dc:creator>Kevin K.</dc:creator><description>&lt;p&gt;The comment says the advertising interval is in units of 0.625ms. 0.625ms equals 0.000625 seconds. (ms stands for &lt;a href="https://en.wikipedia.org/wiki/Millisecond"&gt;milliseconds&lt;/a&gt;). To get the advertising interval we just multiply APP_ADV_INTERVAL by the unit.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;APP_ADV_INTERVAL * 0.000625 seconds = 300 * 0.000625 seconds = 0.1875 seconds
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Hopefully that makes sense! I can try explaining it another way if you&amp;#39;re still confused :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>