<?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>Radio InActive Notification</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15159/radio-inactive-notification</link><description>Hi, 
 I want to advertise in variable intervals and mostly only one advertisement at a time. I planned to do it like this: 
 1- start advertising with any interval (e.g., 100msec) in non-connectable mode 
 2- in the radio INACTIVE notification handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jul 2016 12:02:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15159/radio-inactive-notification" /><item><title>RE: Radio InActive Notification</title><link>https://devzone.nordicsemi.com/thread/57885?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2016 12:02:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f32c997-7367-44cc-b293-134fce1ff1a0</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Unfortunately, there is no way to disable the delay for the first one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio InActive Notification</title><link>https://devzone.nordicsemi.com/thread/57884?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2016 03:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77736609-0d81-4e5c-8b6f-b31340e190bb</guid><dc:creator>FA</dc:creator><description>&lt;p&gt;About the 0-10msec random delay, I knew that, but I was thinking it only happens between advertisements and the first one always happen immediately. As you said my tests show that the delay is there even for the very first packet. Is there any way to disable that at least for the first one?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio InActive Notification</title><link>https://devzone.nordicsemi.com/thread/57883?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2016 03:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3546ea2-62e4-4f35-bedd-0ed9db8dd4b1</guid><dc:creator>FA</dc:creator><description>&lt;p&gt;Thanks Petter! With your code in my project the results were the same. However, as a stand alone code it was working fine. So, I decided to re-build my program around the working notification and see which block make it go wrong (and that&amp;#39;s why it took so long!) Finally, here is what I think is happening: Before starting the advertisement and notification, I&amp;#39;m running scanning in timeslot. When I close it, it will generate an inactive notification and in the handler I&amp;#39;m turning off advertisement (as it&amp;#39;s needed in the program). I can see a delay of 20msec or 120msec between disabling timeslot scanning and its inactive notification (depending on where initializing notification). During this time it seems the radio can not advertise and waits for timeslot to be closed, and as I stop advertisement in the handler, the first adv never happens, and this is fine for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio InActive Notification</title><link>https://devzone.nordicsemi.com/thread/57882?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 11:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50c090a5-a946-4ec7-bd83-812a7a13bda8</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I tested this with S110 v8 and S130 v1 and SDK 9.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not able to reproduce your first problem. &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_beacon_5F00_radio_5F00_notification.rar"&gt;Here&lt;/a&gt; is my project, see if you experience the same with it.&lt;/p&gt;
&lt;p&gt;The interrupt is set immidiately after TX/RX. The actual radio transmission of the advertisment (3 packets on 3 channels) only takes around 2.5 ms, but there is a &lt;a href="https://devzone.nordicsemi.com/question/38250/ble-advertisement-rate-actual-rate-do-not-match/"&gt;random delay&lt;/a&gt; between 0 and 10 ms, and with some preprocessing 5-15 ms between sd_ble_gap_adv_start() and the end of the first advertising is expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>