<?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>APP_ADV_INTERVAL and APP_ADV_DURATION</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47887/app_adv_interval-and-app_adv_duration</link><description>Hi, 
 I&amp;#39;m trying to look for a definition for the APP_ADV_DURATION and APP_ADV_INTERVAL. 
 
 How does we know the value we set is in units of 0.625ms or 10ms ? 
 Can anyone teach me? or guide me any module shall I look into?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Jun 2019 04:03:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47887/app_adv_interval-and-app_adv_duration" /><item><title>RE: APP_ADV_INTERVAL and APP_ADV_DURATION</title><link>https://devzone.nordicsemi.com/thread/190402?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 04:03:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:953d649b-715b-4b8b-9e6c-41abdac554ce</guid><dc:creator>kathleenlai</dc:creator><description>&lt;p&gt;Hi Simonr, by the way, where can I get the concatenate function declaration&amp;nbsp; for the specific word &amp;quot;interval &amp;quot; and &amp;quot;duration&amp;quot; since&amp;nbsp;&lt;span&gt;APP_ADV_INTERVAL and DURATION are not possible to edit though and have these units for a reason.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_ADV_INTERVAL and APP_ADV_DURATION</title><link>https://devzone.nordicsemi.com/thread/190039?ContentTypeID=1</link><pubDate>Thu, 30 May 2019 09:50:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6582c796-633a-4f03-9b28-1363e3bc6d0e</guid><dc:creator>kathleenlai</dc:creator><description>&lt;p&gt;Hi Simonr, thank you so much, you are so helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_ADV_INTERVAL and APP_ADV_DURATION</title><link>https://devzone.nordicsemi.com/thread/190034?ContentTypeID=1</link><pubDate>Thu, 30 May 2019 09:33:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b611ba0-4184-42d4-9199-c07b93d4f1a5</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Yes, I forgot to mention that. But you are correct!&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: APP_ADV_INTERVAL and APP_ADV_DURATION</title><link>https://devzone.nordicsemi.com/thread/190031?ContentTypeID=1</link><pubDate>Thu, 30 May 2019 09:22:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62201344-50d5-48e6-9ec2-adf49439bd5b</guid><dc:creator>kathleenlai</dc:creator><description>&lt;p&gt;Oh so grateful U get what I want.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I found if I&amp;nbsp; #define MYTIME_INTERVAL&amp;nbsp; 3000 (with &lt;span style="text-decoration:underline;"&gt;interva&lt;/span&gt;l word) this will be in units of 0.625 ms.&lt;/p&gt;
&lt;p&gt;with duration word , it will be in units of 10ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_ADV_INTERVAL and APP_ADV_DURATION</title><link>https://devzone.nordicsemi.com/thread/190030?ContentTypeID=1</link><pubDate>Thu, 30 May 2019 09:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b52150d-60a3-450e-8008-ade9298212c6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Kathleen&lt;/p&gt;
&lt;p&gt;Sorry about the confusion, but I see what you mean now.&lt;/p&gt;
&lt;p&gt;All timer units are by default in ms (milliseconds). However, as you can see in I.E. the ble_app_blinky example in the MIN_CONN_INTERVAL define, you can convert them to units of your choice by way of the MSEC_TO_UNITS() function. APP_ADV_INTERVAL and DURATION are not possible to edit though and have these units for a reason.&lt;/p&gt;
&lt;p&gt;In conclusion, timers that are defined by you, will by default be stated in units of 1ms, unless you convert them using the MSEC_TO_UNITS() function.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_ADV_INTERVAL and APP_ADV_DURATION</title><link>https://devzone.nordicsemi.com/thread/189998?ContentTypeID=1</link><pubDate>Thu, 30 May 2019 00:56:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee54babc-559b-4a90-a07d-67641d438956</guid><dc:creator>kathleenlai</dc:creator><description>&lt;p&gt;Hi Simon, thanks for the reply. I do know the comment // written. To program own time, I do not know which specific word linked to the unit of 10ms or unit of 0.625ms..&lt;/p&gt;
&lt;p&gt;for example , i need a duration of 30s with interval 625ms . how do i know the compiler build the 30s and 625ms accordingly since the comment didn&amp;#39;t show up if i #define a macro myself. Or I have 5 timing for advertising. All of them are not the same timing, how to I know which to which.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#define mytime1&amp;nbsp; 30000&lt;/p&gt;
&lt;p&gt;#define mytime2&amp;nbsp; 50000&lt;/p&gt;
&lt;p&gt;#define mytime3&amp;nbsp; &amp;nbsp;10000&lt;/p&gt;
&lt;p&gt;#define mytime4&amp;nbsp; &amp;nbsp;25000&lt;/p&gt;
&lt;p&gt;#define mytime5&amp;nbsp; &amp;nbsp;32000&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope you get my idea. Thank you .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APP_ADV_INTERVAL and APP_ADV_DURATION</title><link>https://devzone.nordicsemi.com/thread/189863?ContentTypeID=1</link><pubDate>Wed, 29 May 2019 11:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93e38780-6f06-4b1f-bece-f9d20624f9b6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;In our SDK the comments always tell what units you are working with, so I don&amp;#39;t see what exactly you want to be taught.&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>