<?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>Device not advertising after disconnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23504/device-not-advertising-after-disconnect</link><description>Hi, 
 I am facing a frustrating problem which came up all over sudden: I am using the nordic uart serice/nRF52/SDK13 and after a couple of connects/disconnects of my peripheral I can not see it anymore, neither from my mobile application nor from any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 10 Feb 2019 20:51:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23504/device-not-advertising-after-disconnect" /><item><title>RE: Device not advertising after disconnect</title><link>https://devzone.nordicsemi.com/thread/170244?ContentTypeID=1</link><pubDate>Sun, 10 Feb 2019 20:51:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ac3be15-be46-46e0-97ed-2b047bcf1143</guid><dc:creator>brian fleming</dc:creator><description>&lt;p&gt;Thanks!&amp;nbsp; I have the same problem but different, but at least I have isolated the problem to my C code on the nRF, not the Java code in my APP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not advertising after disconnect</title><link>https://devzone.nordicsemi.com/thread/92337?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2017 07:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc5b6c40-37e5-4088-bb16-8a438b9ba6d8</guid><dc:creator>joe.ker</dc:creator><description>&lt;p&gt;Hi, thanks for the suggestions.
I managed to isolate the issue to a particular function of the code which deactivates a portion of my custom PCB (SPI connected ADC) by disabling a load switch and reactivates it when it is needed. If I leave the external ADC constantly powered, the issue does not appear.
Since these parts of the code (Advertising and ADC reading over SPI) are in no way related, i imagine that the remaining charge after disabling the load switch has some kind of influence on the nRF pins...
I will keep looking...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not advertising after disconnect</title><link>https://devzone.nordicsemi.com/thread/92336?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2017 21:49:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebfff39f-5224-460c-ac28-18952d08d777</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;It might be caused by any error/hard fault and its wrong handling in your code. The usual (and sometimes the only;) way is to run it in debug mode with UART or SEGGER RTT print-outs at such level that you can easily trace what your code is doing without disturbing the timing and APP/SD flow. With high probability you will then see some bad return (error) code from some &lt;code&gt;sd_xxx&lt;/code&gt; function call or deadlock inside your own code...&lt;/p&gt;
&lt;p&gt;Normally Nordic BLE Stack (SD) doesn&amp;#39;t start advertising after GAP Peripheral link is terminated, it&amp;#39;s always application which requests to start it through &lt;code&gt;sd_ble_gap&lt;/code&gt; API. If you haven&amp;#39;t been doing it before and you&amp;#39;ve anyway seen you board to start advertising after disconnection then you most probably use some thick library/module from SDK which does it for you (and then if not using correctly or if there is a bug it explains the failures you see).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>