<?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 we connect directly to BT device with MAC ID only</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6481/can-we-connect-directly-to-bt-device-with-mac-id-only</link><description>Hello Everyone, 
 Scenario is i am getting some commands from Master(Android based Mobile App) to start some function , After i get the commands i disconnect from master with this function sd_ble_gap_disconnect () and stops advertising and then i expect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Apr 2015 10:56:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6481/can-we-connect-directly-to-bt-device-with-mac-id-only" /><item><title>RE: Can we connect directly to BT device with MAC ID only</title><link>https://devzone.nordicsemi.com/thread/22624?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2015 10:56:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70cbd5c7-1cfb-4fec-9bb3-f85b6e984e69</guid><dc:creator>asma</dc:creator><description>&lt;p&gt;Yes its true...thank you shibshab&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we connect directly to BT device with MAC ID only</title><link>https://devzone.nordicsemi.com/thread/22623?ContentTypeID=1</link><pubDate>Mon, 13 Apr 2015 12:19:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68c26c7f-99c5-4d6e-92a7-b350b4fbe90d</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;It is impossible to connect to a device that is not advertising, so I think that your problem is that you are still advertising after calling sd_ble_gap_disconnect.&lt;/p&gt;
&lt;p&gt;Calling sd_ble_gap_disconnect does not (as far as I know) ensure that advertisement is stopped.&lt;/p&gt;
&lt;p&gt;You need to call sd_ble_gap_adv_stop() to ensure that nothing is able to connect to your device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>