<?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>NRF51822 Beacon Advertisement Function?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14693/nrf51822-beacon-advertisement-function</link><description>Hello, I have the Beacon Development board and the sample firmware downloaded and up and running in the Keil MDK IDE. My specific application requires some code to execute before the beacon advertisement, so is there a function somewhere that I can insert</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Jun 2016 15:20:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14693/nrf51822-beacon-advertisement-function" /><item><title>RE: NRF51822 Beacon Advertisement Function?</title><link>https://devzone.nordicsemi.com/thread/56068?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2016 15:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e58019e-dd36-4ae8-aed1-be1b3fe4d32e</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;ok, perhaps I misunderstood your question before. You can use &lt;a href="https://devzone.nordicsemi.com/tutorials/14/"&gt;radio notifications&lt;/a&gt; to get notification certain time before the advertising event and also when it ends.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Beacon Advertisement Function?</title><link>https://devzone.nordicsemi.com/thread/56067?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2016 20:10:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9545de68-9091-4506-9abb-437bf7dc924d</guid><dc:creator>Kevin</dc:creator><description>&lt;p&gt;thanks for the quick response!  One thing I&amp;#39;d like to do is execute some code at the advertisement interval.  Is there some function that is called every time the beacon advertises?  Right now, I&amp;#39;m using a timer, but that seems inefficient.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Beacon Advertisement Function?</title><link>https://devzone.nordicsemi.com/thread/56066?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2016 19:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c0983e5-dc6b-4243-aa0a-7454ee9c8b06</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Kevin&lt;/p&gt;
&lt;p&gt;Open main.c file and find the main function. The beacon_start function starts the advertising so if you want to execute code before starting the beacon advertising, you could place it before the beacon_start call.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>