<?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>How to turn on Leds only for advertising time?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25840/how-to-turn-on-leds-only-for-advertising-time</link><description>Hi,
i am using SDK v8.0
and in main function, initialization like this err_code = bsp_init(BSP_INIT_LED | BSP_INIT_BUTTONS, APP_TIMER_TICKS(100, APP_TIMER_PRESCALER), button_event_handler); 
and 
 in advertising_start function, calling function is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Oct 2017 10:26:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25840/how-to-turn-on-leds-only-for-advertising-time" /><item><title>RE: How to turn on Leds only for advertising time?</title><link>https://devzone.nordicsemi.com/thread/101784?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 10:26:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2e40573-cb23-4188-9319-0f478e6b8ee8</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Ketan_Patel. I&amp;#39;m not sure if I understand what you are trying to do.&lt;br /&gt;
You want the LED to blink when your device is advertising, but turned OFF when in a connection?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>