<?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 pair with master by button press instead of passkey?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/698/how-to-pair-with-master-by-button-press-instead-of-passkey</link><description>Hi,
I need to pair with the master after pressing the button in my slave device, instead of asking for passkey. Through the master control panel, i can able to see that, when the select device button is pressed, the master connects with the slave, which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Nov 2013 14:27:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/698/how-to-pair-with-master-by-button-press-instead-of-passkey" /><item><title>RE: how  to pair with master by button press instead of passkey?</title><link>https://devzone.nordicsemi.com/thread/3506?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2013 14:27:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e29d451-5eb1-4168-9728-f13cbac828a4</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;It isn&amp;#39;t quite clear to me exactly what you need, but if you only want to be available for new devices when the user presses a button, and otherwise only be connectable for devices that are already bonded, you should look into using whitelisting.&lt;/p&gt;
&lt;p&gt;Whitelisting allows a Peripheral to be connectable only for Centrals that it is already bonded with. If you use this by default, and only starts advertising without whitelist when the user presses a button, you should be able to achieve what you need.&lt;/p&gt;
&lt;p&gt;Almost all the SDK examples use a whitelist, for example the ble_app_proximity.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how  to pair with master by button press instead of passkey?</title><link>https://devzone.nordicsemi.com/thread/3505?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2013 20:21:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beb738a5-408c-4eb6-8445-ab73c44a2abe</guid><dc:creator>syntroniks</dc:creator><description>&lt;p&gt;Are you sure you need pairing instead of a plain connection?
You may be able to use directed advertisement packets to request the master to connect to you then use the &amp;#39;just works&amp;#39; method of pairing (which is a passkey of 000000 if I remember correctly)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>