<?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>How to avoid the Not expected connect?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17492/how-to-avoid-the-not-expected-connect</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Nov 2016 09:02:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17492/how-to-avoid-the-not-expected-connect" /><item><title>RE: How to avoid the Not expected connect?</title><link>https://devzone.nordicsemi.com/thread/67232?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 09:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cac1b797-cfe6-4b2e-8dae-55e016d6816c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, it&amp;#39;s the most common solution (note: there is nothing called public key unless you are talking about LESecure connection).&lt;/p&gt;
&lt;p&gt;Another solution is to let the application disconnect the connection if the central device can&amp;#39;t provide correct &amp;quot;password&amp;quot;. For example, the central must write to a characteristic a
&amp;quot;code&amp;quot; in the first 30 seconds after connected or it will be disconnected. But this is not very common only used when whitelisting can&amp;#39;t be used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to avoid the Not expected connect?</title><link>https://devzone.nordicsemi.com/thread/67233?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 02:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cf7aa34-9d0d-49a8-b789-f2a8285b4ebf</guid><dc:creator>ligang</dc:creator><description>&lt;p&gt;I have read it. I think that, Let the master use public address, and when the slave receive the data, I use a button trig the program, and let the slave remember the public key, and add the address to the whitelisting.  I think this is the only method to solve the question. But, I can not know this is the only correct. and I want to know that whether somebody have betters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to avoid the Not expected connect?</title><link>https://devzone.nordicsemi.com/thread/67231?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 12:22:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a43ccdc7-eb37-4fb8-85a0-b3cb6bb3e02e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You can read more about whitelisting &lt;a href="https://devzone.nordicsemi.com/blogs/841/bluetooth-smart-and-the-nordics-softdevice-part-2-/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can try to test with the ble_app_proximity example if you SDK v10 or earlier we demonstrated whitelist in that example. Or have a look at ble_app_keyboard ifyou use  SDK v11 and later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to avoid the Not expected connect?</title><link>https://devzone.nordicsemi.com/thread/67235?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 08:41:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:290632e0-a5db-4d63-b72e-b56b18a09d13</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Search for Whitelist functionality in InforCenter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to avoid the Not expected connect?</title><link>https://devzone.nordicsemi.com/thread/67234?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 07:47:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12380197-c828-437d-abc9-acb022a19292</guid><dc:creator>ligang</dc:creator><description>&lt;p&gt;Now, I can send data to Nordic board through ble, and I can get the data from it.
But , I can not sure that when I disconnect the board, then someone connect the board.&lt;/p&gt;
&lt;p&gt;If I use the board to mark my box. When Someone connect the board, he can say that the box is his box.&lt;/p&gt;
&lt;p&gt;So, we need safe connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>