<?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>nRF51822-BK proximity connection ways</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15031/nrf51822-bk-proximity-connection-ways</link><description>I want to connect two nRF51822-BKs and find their proximity. If one of the beacons go &amp;gt;5m away from the other beacon then one should beep/LED ON. 
 What is the best way to do that? 
 
 Connect two beacons (master-slave)? 
 One advertise all time and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jul 2016 11:13:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15031/nrf51822-bk-proximity-connection-ways" /><item><title>RE: nRF51822-BK proximity connection ways</title><link>https://devzone.nordicsemi.com/thread/57353?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 11:13:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5870b2e5-6028-445c-922a-be07e0c65681</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;No problem!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822-BK proximity connection ways</title><link>https://devzone.nordicsemi.com/thread/57352?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 11:11:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbabd8ae-b139-4f98-a2b8-de9e85e28b99</guid><dc:creator>arsalanjun</dc:creator><description>&lt;p&gt;Thanks so much for your support Bjørn. I will have a look at the ble_app_hrs_c example and let you know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822-BK proximity connection ways</title><link>https://devzone.nordicsemi.com/thread/57351?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 11:03:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5ec5304-4ac6-4446-9ee2-0370f1643cfd</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help! Yes, one of the devices must run be a peripheral role and one  a central.  If you use the S130 SoftDevice, then the device can operate as both a central and peripheral at the same time. I recommend taking a look at one of the central examples in our SDK, e.g. the ble_app_hrs_c example (Heart Rate central).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822-BK proximity connection ways</title><link>https://devzone.nordicsemi.com/thread/57350?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 10:38:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d4ec819-2d8c-4ddb-b39b-73259aa2bd48</guid><dc:creator>arsalanjun</dc:creator><description>&lt;p&gt;Thanks for the quick answer Bjørn. Could you please confirm if I have understood properly. I have two beacons, one will be programmed with ble_peripheral\ble_app_proximity and the other beacon should be programmed with a ble_central app right?
Can two peripheral connect each other? or is it have to be always one peripheral and one central in order to make a connection?
What is the suitable application example for the central beacon?
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822-BK proximity connection ways</title><link>https://devzone.nordicsemi.com/thread/57349?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 12:14:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c289caab-9e46-48d7-8ca7-d92054d0ffb4</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I would recommend the connection based alternative, i.e. alternative 1, and use the RSSI to estimate the distance between the two beacons.&lt;/p&gt;
&lt;p&gt;I recommend taking a look at the proximity application example in our SDK, &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_proximity.html?cp=6_0_0_4_2_2_15"&gt;here&lt;/a&gt; is the link to the Infocenter page describing the example.&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>