<?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>Setting a Passkey to my Device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9201/setting-a-passkey-to-my-device</link><description>I&amp;#39;m working on a project &amp;amp; I followed the procedure found here 
in the answer, it works with me when I tested it when pairing from the bluetooth devices shown, when I tested it with Nordic Master Control Panel, I found it connects directly without asking</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Dec 2018 13:10:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9201/setting-a-passkey-to-my-device" /><item><title>RE: Setting a Passkey to my Device</title><link>https://devzone.nordicsemi.com/thread/163006?ContentTypeID=1</link><pubDate>Wed, 26 Dec 2018 13:10:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b1f8327-b3a6-4c35-99e0-c659b3e27561</guid><dc:creator>turki</dc:creator><description>&lt;p&gt;did it work or not ??&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting a Passkey to my Device</title><link>https://devzone.nordicsemi.com/thread/33928?ContentTypeID=1</link><pubDate>Sun, 05 Feb 2017 14:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9268508-340e-4ff9-8b93-76408162973e</guid><dc:creator>Akram Karimi</dc:creator><description>&lt;p&gt;Hello,
I am also looking to update the passkey using&lt;br /&gt;
err_code =  sd_ble_opt_set(BLE_GAP_OPT_PASSKEY, &amp;amp;static_pin_option);&lt;/p&gt;
&lt;p&gt;Can you please tell me, if it worked. If not; what&amp;#39;s the alternative to change the passkey.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting a Passkey to my Device</title><link>https://devzone.nordicsemi.com/thread/33927?ContentTypeID=1</link><pubDate>Fri, 18 Sep 2015 13:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84065e6f-5db8-439b-8105-68e3b4a5393e</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;you mean I can change the passkey variable as I did already,may be the test of that case with MCP also isn&amp;#39;t correct !!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting a Passkey to my Device</title><link>https://devzone.nordicsemi.com/thread/33925?ContentTypeID=1</link><pubDate>Fri, 18 Sep 2015 07:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83c42627-a9a5-4ccf-bfce-4201f98acb1c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;whenever you want to change the passkey , can change this in your application using&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   static_pin_option.gap_opt.passkey.p_passkey = passkey;
    err_code =  sd_ble_opt_set(BLE_GAP_OPT_PASSKEY, &amp;amp;static_pin_option);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting a Passkey to my Device</title><link>https://devzone.nordicsemi.com/thread/33926?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2015 15:42:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1cdbfd2-8f38-428c-8b30-b6855f4c6f6d</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;this good point aryan &amp;amp; it may be that reason is correct, I wanna know how to make that passkey user dependent &amp;amp; the user can change it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting a Passkey to my Device</title><link>https://devzone.nordicsemi.com/thread/33924?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2015 12:20:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f351f0b9-6936-453b-b538-b83946ce77d6</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I think &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.api.v1.0.0%2Fgroup___b_l_e___g_a_p___p_e_r_i_p_h___b_o_n_d_i_n_g___s_t_a_t_i_c___p_k___p_e_r_i_p_h_e_r_a_l.html"&gt;this&lt;/a&gt; diagram suits you better&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;when MCP sent your device a pairing request and when you app got BLE_GAP_EVT_SEC_PARAMS_REQUEST, did you check if MCP has keyboard  IO capabilities?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It is possible that the security setup failed and the devices are connected without any encryption?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting a Passkey to my Device</title><link>https://devzone.nordicsemi.com/thread/33923?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2015 15:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d55a0ed5-7e48-49b9-88a9-5bf86d59ab30</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;any help please !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>