<?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>Advertising restart after a disconnect event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26032/advertising-restart-after-a-disconnect-event</link><description>Hi! 
 Using SDK 14, I am advertising and see my device on the phone with nRFConnect. The indication LED flashes (indication) properly and in fixed intervals. When I connect with my phone the LED lights up without flashing as expected. After I disconnect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Oct 2017 06:18:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26032/advertising-restart-after-a-disconnect-event" /><item><title>RE: Advertising restart after a disconnect event</title><link>https://devzone.nordicsemi.com/thread/102614?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 06:18:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46f10739-9406-43ec-bf7e-664ebd50d2e2</guid><dc:creator>Yatekii</dc:creator><description>&lt;p&gt;The BAS example is officially called like that, I didn&amp;#39;t make the name ;) Ofc I followed the migration documents of SDK 14 but nut the ones of SDK 13. WIll try, thanks :) &lt;code&gt;ble_advertising_on_ble_evt()&lt;/code&gt; is never called ... it&amp;#39;s just defined in the SDK ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising restart after a disconnect event</title><link>https://devzone.nordicsemi.com/thread/102611?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2017 09:33:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00ae1ad6-f5e2-4ff4-a133-aadd6b5b5588</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;I don&amp;#39;t know what you mean by the BAS example, but did you take a look at the migration notes when porting your project? When porting from SDK12 to SDK14, it might be a good idea to look at the SDK13 migration document first, before migrating to SDK14.&lt;br /&gt;
You can take a look at how the advertising is handled for the &lt;code&gt;BLE_GAP_EVT_DISCONNECTED&lt;/code&gt; by taking a look at &lt;code&gt;ble_advertising_on_ble_evt()&lt;/code&gt; in the &lt;code&gt;ble_advertising.c file&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising restart after a disconnect event</title><link>https://devzone.nordicsemi.com/thread/102613?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 08:48:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60fdd048-d65e-4a16-ac11-6f1840864b23</guid><dc:creator>Yatekii</dc:creator><description>&lt;p&gt;Hi Joakim&lt;/p&gt;
&lt;p&gt;I am using a custom board. But that does not have any impact. As the LED just works fine :) (I adjusted the BSP variables)
I used the BAS example and ported it from SDK 12 to SDK 14 (as I already started the project in SDK 12 and then decided to switch to 14 (which was a huge mistake due to various reasons (Mesh being one))).
Of course I had a look for different changes and I checked the few I had (I did a git bisect) but I am afraid it&amp;#39;s a problem from after the SDK 14 port. So I am not sure if I missed something or if it&amp;#39;s a bug in the SDK 14.
The question is: do I have to restart advertising on my own? Because I was kind of 100% sure I didn&amp;#39;t with SDK 12. If so, why doesn&amp;#39;t an advertising_start() work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising restart after a disconnect event</title><link>https://devzone.nordicsemi.com/thread/102612?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 08:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3fe5150-f33c-4814-9c85-20627d3375c7</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Noah!&lt;br /&gt;
Are you using the nRF52 DK? What example are you using? And did you make any changes to the code, besides the &lt;code&gt;advertising_start(false)&lt;/code&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>