<?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 Pairing confirmation with hardware button click with Mobile App</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51493/nrf51822-pairing-confirmation-with-hardware-button-click-with-mobile-app</link><description>Hi There, 
 
 I am working on a project based on nrf51822. I need to establish pairing the device with smart phone by clicking a button as confirmation on the nrf51822. 
 How can I achieve this? I have gone through the developer forum but unfortunately</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Feb 2022 02:27:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51493/nrf51822-pairing-confirmation-with-hardware-button-click-with-mobile-app" /><item><title>RE: nRF51822 Pairing confirmation with hardware button click with Mobile App</title><link>https://devzone.nordicsemi.com/thread/351443?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 02:27:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b9a587c-1974-456a-9cd7-1010ce9e1846</guid><dc:creator>Wwing</dc:creator><description>&lt;p&gt;Hi,Bjorn&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;font-size:inherit;"&gt;&amp;nbsp;I had the same problem with him, I&amp;nbsp;I need to establish pairing the device with smart phone by clicking a button as confirmation on the&amp;nbsp;nRF52833 ,so I can get&amp;nbsp; the response&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#000000;font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;font-size:inherit;"&gt;BLE_GAP_EVT_SEC_PARAMS_REQUEST.but how can I reply it and disabled pairing.In other words, what function do I need to use to realize the function of clicking the button of the APP to initiate pairing and not clicking it will not be paired.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 Pairing confirmation with hardware button click with Mobile App</title><link>https://devzone.nordicsemi.com/thread/206587?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 11:14:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:411d79fd-0397-477e-90e3-98e5796742bd</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Krishna,&lt;/p&gt;
&lt;p&gt;upon receiving a paring request from a BLE central, the SD will generate an event, BLE_GAP_EVT_SEC_PARAMS_REQUEST,&amp;nbsp; which triggers a callback where the appropriate &amp;quot;reply&amp;quot; function, sd_ble_gap_sec_params_reply() is called. So if you only want to pair if the button is pressed, then you can wait for the butten press when handling the&amp;nbsp;&lt;span&gt;BLE_GAP_EVT_SEC_PARAMS_REQUEST. If the button is not pressed, then you do not send&amp;nbsp;sd_ble_gap_sec_params_reply().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;See the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/group___b_l_e___g_a_p___p_e_r_i_p_h___s_e_c___m_s_c.html"&gt;Peripheral Security Procedures&lt;/a&gt;&amp;nbsp;message sequence charts for more information on which events that are generated during the pairing process for the different pairing methods.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>