<?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 peripheral find out if another potential central is present?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5253/can-peripheral-find-out-if-another-potential-central-is-present</link><description>Hi, 
 I have a scenario where we may want a peripheral (using S110 softdevice) to switch connections between 2 centrals, depending on whether the centrals are present or not. 
 P = peripheral; C1 = central #1; C2 = central #2 
 Here is the question</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Feb 2015 12:19:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5253/can-peripheral-find-out-if-another-potential-central-is-present" /><item><title>RE: Can peripheral find out if another potential central is present?</title><link>https://devzone.nordicsemi.com/thread/18391?ContentTypeID=1</link><pubDate>Tue, 24 Feb 2015 12:19:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f184f057-2628-462d-a1a1-b1bacf2b3b5a</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;When a peripheral is in a connection with a central, it can not connect with another central. A peripheral can only maintain one connection. However, a peripheral device can advertise while in a connection in a scannable mode. That means that any central can send a scan request and get a scan response from an advertising nRF51 peripheral which is in a connection at the same time, see &lt;a href="https://devzone.nordicsemi.com/question/16578/advertising-while-connected-with-sd-7/"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When a peripheral is in a connection and is also advertising in a scannable mode, the S110 softdevice will automatically handle the scan request and respond with a scan response packet, the application will not receive any event for this. However, with the upcoming S110 v8.0 softdevice and nRF51 SDK v8.0, it will be possible for the application to receive RSSI event when a nearby central sends scan request. That way, the peripheral is able to detect if an active scanner is in vicinity when the peripheral is in a connection at the same time.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 19.5.2015&lt;/strong&gt;
How to advertise in a scannable mode and receive RSSI events when a central sends a scan request is described on &lt;a href="https://devzone.nordicsemi.com/question/34070/can-two-masters-connect-two-slaves-at-the-same-time/?answer=34250#post-id-34250"&gt;this thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can peripheral find out if another potential central is present?</title><link>https://devzone.nordicsemi.com/thread/18390?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 11:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04684a26-6929-497e-afcd-d258a0d2174a</guid><dc:creator>Alessandro</dc:creator><description>&lt;p&gt;Hi TBone,
I would like to do a similar thing, in particular I would like to be notified at the application layer if the Peripheral receives a scan request from a Central.
Did you have success with this?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>