<?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>Unnecessary connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9101/unnecessary-connection</link><description>Hello,
I have question. I using examples with nRF51-ble-peripheral-bond-handling with bls_service (PCA10028) and i have problem with unnecessary connection. I want that my unbonded (Android, iOs) devices didn&amp;#39;t have a connection with PCA10028. When i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 12 Sep 2015 09:59:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9101/unnecessary-connection" /><item><title>RE: Unnecessary connection</title><link>https://devzone.nordicsemi.com/thread/33514?ContentTypeID=1</link><pubDate>Sat, 12 Sep 2015 09:59:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95d98034-8865-47a5-bb2f-d89d7c4ec128</guid><dc:creator>GEO</dc:creator><description>&lt;p&gt;I deleted all bonded information on my PCA10028 and on the Android phone, then i download and program my PCA10028 proximity example, then go to nRF control panel,  finde nordic proximity conection click on and... it connected without bond and will can stand still in this state long time (importent &amp;quot;without bond procedure&amp;quot; and with whitelist implementaition in this example). I didn&amp;#39;t whant that unnecessary devices connect and do busy my PCA10028 long time... For examle.... I develope application which open my home door throw the phone (PCA10028 is peripheral, pone - central) i bonded my phone and PCA10028 and it workin good,  i open close door as i whant.... but other gay take other phone, open the nRF control panel find my connection &amp;quot;open door&amp;quot; and connect it ...of course hi cann&amp;#39;t open dore beacose it should go throw the security procedure,  but hi can state in connection state (LED1 turn on) long time, then i comeback after job to home and cannot finde the &amp;quot;open_door&amp;quot; connection beacase it still busy by other phone ...this is problem...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unnecessary connection</title><link>https://devzone.nordicsemi.com/thread/33513?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2015 11:28:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4851c20f-fc41-47a4-8991-83aa148426e6</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I do not fully understand what you mean by &amp;quot;but i have a connection without bonded device throw the nRF Control Panel on Android device, why is occur?&amp;quot;
Can you try to explain your test method step by step, so that i can try to do the same here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unnecessary connection</title><link>https://devzone.nordicsemi.com/thread/33512?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2015 16:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5eab27ba-e316-4d96-bfac-629bb8bbd88f</guid><dc:creator>GEO</dc:creator><description>&lt;p&gt;I download the proximity example compiling and program, erase all bond forget device on phone , but i have a connection without bonded device throw the nRF Control Panel on Android device, why is occur? The PCA10028 shouldn&amp;#39;t have the connection because it not bonded and didn&amp;#39;t included in whitelist table, but it still have connect (LED1 turned on).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unnecessary connection</title><link>https://devzone.nordicsemi.com/thread/33511?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2015 14:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08cb3103-ca85-468b-a303-ae1b625aad84</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hey!&lt;/p&gt;
&lt;p&gt;If you want to only allow connections from bonded devices, there is a method for this called whitelist advertising. This is done by providing the advertiser with a list of bonded devices. The softdevice will then only accept connection requests from these devices.
Whitelist advertisement is implemented in several of our example projects, for example the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/ble_sdk_app_proximity.html?cp=4_1_0_4_4_14"&gt;proximity&lt;/a&gt; example.&lt;/p&gt;
&lt;p&gt;You need to enable whitelisting and provide a whitelist in the advertising_start() function. The whitelist is extracted from the device manager using the dm_whitelist_create() function. Some devzone posts might also be helpful, for example &lt;a href="https://devzone.nordicsemi.com/question/36944/enabling-whitelisting/"&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;PS:
You should be able to &amp;quot;forget&amp;quot; your device on the smartphones you are using. After &amp;quot;forgetting&amp;quot; the device, they should not connect automatically any more. This is normally done inside the bluetooth settings in the smartphone menu.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>