<?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>Possible to know TX complete of single advertisement within timeout period?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10426/possible-to-know-tx-complete-of-single-advertisement-within-timeout-period</link><description>Hey guys, 
 I’m trying to send a single non-connectable beacon every few minutes in the lowest power way possible. nRF51822, SD S110 8.0, SDK 9-2. Different scenario from previous post. 
 I’ve done this by setting the interval to 1sec, and timeout to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Nov 2015 10:33:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10426/possible-to-know-tx-complete-of-single-advertisement-within-timeout-period" /><item><title>RE: Possible to know TX complete of single advertisement within timeout period?</title><link>https://devzone.nordicsemi.com/thread/38745?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 10:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a59bc1c-452e-45e0-9ddd-66f86bbe6c41</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I just wanted to add that we have a &lt;a href="https://devzone.nordicsemi.com/tutorials/14/"&gt;tutorial on Radio Notification&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possible to know TX complete of single advertisement within timeout period?</title><link>https://devzone.nordicsemi.com/thread/38744?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2015 07:45:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44f89458-19b0-44a9-9767-361f7eda0c71</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;You can use the radio notification functionality found in nRF51_SDK_9.0.0_2e23562\components\ble\ble_radio_notification.&lt;/p&gt;
&lt;p&gt;This will allow you to have a callback every time the radio goes from active to disabled and vice versa. I think the first active-disabled loop will come after an entire advertisement event (I.E. three packets) has been completed.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void m_on_radio_notification_evt(bool radio_active)
{
    static bool has_been_active = false;

    if(radio_active)
        has_been_active = true;

    else if(!radio_active &amp;amp;&amp;amp; has_been_active)
    {
        // ADV event completed
    }
}


....
void init(void)
{
    ble_radio_notification_init(NRF_APP_PRIORITY_HIGH,
                                NRF_RADIO_NOTIFICATION_DISTANCE_800US,
                                m_on_radio_notification_evt);
...
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>