<?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>Push Button to confirm connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5951/push-button-to-confirm-connection</link><description>Hey, I noticed that most of the wearable ble devices (without keyboard and screen) on the market are using &amp;#39;push to confirm connection&amp;#39; authentication, when you have to push button on the device to confirm smartphone connection within given timeout. All</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Mar 2015 12:28:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5951/push-button-to-confirm-connection" /><item><title>RE: Push Button to confirm connection</title><link>https://devzone.nordicsemi.com/thread/20721?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2015 12:28:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc5ab024-f276-40cc-8bdc-1d229acb37ad</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Justin,&lt;/p&gt;
&lt;p&gt;Maybe I haven&amp;#39;t tried the a device with that feature but by spec if you don&amp;#39;t use whitelist or directed advertise when advertising, you won&amp;#39;t be able to allow or discard a connection before it is made. The peripheral will accept any connect request from central.&lt;/p&gt;
&lt;p&gt;What I can suggest you to do is to have a state that you ignore any event from BLE and not putting any data into the characteristics on the peripheral. The device remains in that stat until the &amp;quot;push to to confirm&amp;quot; button is press after that you can return the normal functionality of the device.&lt;/p&gt;
&lt;p&gt;If the button is not pressed after a timeout, you can terminate the connection. You can also refuse to do pairing in that waiting state as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>