<?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>Can&amp;#39;t find BLE Peripheral after disconnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17066/can-t-find-ble-peripheral-after-disconnect</link><description>Hi, 
 After I&amp;#39;ve successfully connected my smartphone via nRF Toolbox&amp;#39;s UART-BLE Service to my nRF52 peripheral, I tried to mimic the scenario when the devices get disconnected. This is done by disconnecting the device on the central/smartphone using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Oct 2016 09:42:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17066/can-t-find-ble-peripheral-after-disconnect" /><item><title>RE: Can't find BLE Peripheral after disconnect</title><link>https://devzone.nordicsemi.com/thread/65453?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2016 09:42:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96a67163-982b-41c6-9156-2328b5887ad2</guid><dc:creator>AmiguelS</dc:creator><description>&lt;p&gt;In order to restart advertising you could do something like the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void ble_on_evt(ble_evt_t * p_ble_evt){
    switch (p_ble_evt-&amp;gt;header.evt_id) {
	    case BLE_GAP_EVT_DISCONNECTED:
		    ble_advertise_start();
		    break;
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The function &lt;code&gt;ble_advertise_start()&lt;/code&gt; is the same one you used to start advertising the first time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't find BLE Peripheral after disconnect</title><link>https://devzone.nordicsemi.com/thread/65455?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2016 20:30:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f388004a-6c38-4cfe-b098-7af9112db0b3</guid><dc:creator>leehong</dc:creator><description>&lt;p&gt;is there any reference i can refer to in doing so?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't find BLE Peripheral after disconnect</title><link>https://devzone.nordicsemi.com/thread/65454?ContentTypeID=1</link><pubDate>Sat, 15 Oct 2016 22:14:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdfab357-e532-4a3a-97c4-88b6b87a4e6d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Sounds like you&amp;#39;re not restarting Advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>