<?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>nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9077/nrf51422-static-passkey-in-uart-app-with-s110</link><description>I am using nrf51422 and ble app uart as my example code and trying to connect to my ios app nrf toolbox by enabling a static key for the pairing process. i have read all the previous threads on this problem and do all the necessary steps but my code does</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Sep 2015 05:03:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9077/nrf51422-static-passkey-in-uart-app-with-s110" /><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33415?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2015 05:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f36f01bb-ae7c-4147-bae4-7c742f310add</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33414?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2015 09:24:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7a8f142-137d-45d4-8bbf-03fb9db59170</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Nomi,
I saw that in your code you didn&amp;#39;t set any characteristic&amp;#39;s permission to require encryption. All of them was set with BLE_GAP_CONN_SEC_MODE_SET_OPEN. The central device will not do bonding if they don&amp;#39;t need to.&lt;/p&gt;
&lt;p&gt;What you need to do is to set the read/write permission with encryption using MITM for the characteristics (so that passkey will be used) with BLE_GAP_CONN_SEC_MODE_SET_ENC_WITH_MITM().&lt;/p&gt;
&lt;p&gt;You can find this at line 118, 119 and 173 in the source code of the example &lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-app-uart-static-passkey/blob/master/ble_nus.c"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33413?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2015 05:45:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad7eb008-ead8-4e9e-a121-3cae3faa97d9</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;i have implemented all the necessary function of this example into my code but its still not working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33409?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2015 05:42:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5caa0b4-6511-4904-a900-dfc89f58bb4a</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;And if you take a look at my code i am using device manager too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33408?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2015 05:22:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4625d7a7-ebac-4039-bc9d-6b4a772931a1</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;Now i have added this event in my on_ble_evt and its still not working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33407?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2015 11:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75bd9576-9051-4c5c-9a8e-c3bb319db114</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;Note that this example uses the device manager, which in turn includes handling of this event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33412?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2015 10:46:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3e16fd9-a19e-41e4-b6a7-63b81c2a69e4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Nomi: As mentioned in the readme.md, the example was made for SDK v6.1 with S110_v7.0. But the principles are the same. You can test the example first with SDKv6.1. Then you can refer to what we do in the example and implement that in your application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33406?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2015 10:36:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9243a31-37de-42ad-8136-70a743910ac3</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;In ble_app_gls BLE_GAP_EVT_SEC_PARAMS_REQUEST event is not used but in this example a key is sent to uart for pairing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33411?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2015 04:58:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e741abf-e570-4335-9af5-1d9204f27a6f</guid><dc:creator>Nomi</dc:creator><description>&lt;p&gt;i am using nrf51422 with pca 10028 kit softdevice s110_8.0.0. i just copied your main code and it got lots of error. i think this project is for an older version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33410?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2015 15:31:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e0aae74-aebf-4617-bca7-cd5a02d4b349</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Nomi,&lt;/p&gt;
&lt;p&gt;Have you tried &lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-app-uart-static-passkey"&gt;this example&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51422 static passkey in uart app with s110</title><link>https://devzone.nordicsemi.com/thread/33405?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2015 07:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2336c8d-c5f6-484e-b4d3-db54f5539733</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;In order to use static passkey you need to add handling of the event BLE_GAP_EVT_SEC_PARAMS_REQUEST as described &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s110.api.v8.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;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that I have not read through your entire project code, just found one missing bit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>