<?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>Windows 10 pairing issue.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39679/windows-10-pairing-issue</link><description>I am using the latest SDK 15.2 example of ble_app_hrs as a template for my code, modified it but by an large the initialization code is the same. When I try to pair it with Windows 10 right after the MTU exchange it fails to pair. Bonding is turned off</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Oct 2018 08:23:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39679/windows-10-pairing-issue" /><item><title>RE: Windows 10 pairing issue.</title><link>https://devzone.nordicsemi.com/thread/153993?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 08:23:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc552628-8aac-4be3-80c5-ecb1cf17e451</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Thanks for the update.&lt;/p&gt;
&lt;p&gt;I know Win 10 by default always will try to encrypt the link after connection, while that is not the case for other OS that I am aware of. Typically other OS will first discover services and then only encrypt the link if any of the services require security.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows 10 pairing issue.</title><link>https://devzone.nordicsemi.com/thread/153944?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 03:22:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e31b882-64ab-43e9-9c66-39abd62dc650</guid><dc:creator>Ranajyoti Chakraborti</dc:creator><description>&lt;p&gt;Just one followup question. I am trying to do just bonding when I receive the&amp;nbsp;BLE_GAP_EVT_SEC_PARAMS_REQUEST event as described in the sequence chart in this link&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v6.0.0%2Fgroup___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v6.0.0%2Fgroup___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html&lt;/a&gt;&amp;nbsp;unfortunately I always get NRF_ERROR_INVALID_PARAM. Not really sure what I am doing wrong here.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_LOG_INFO(&amp;quot;BLE_GAP_EVT_SEC_PARAMS_REQUEST&amp;quot;);
memset(&amp;amp;m_sec_keyset, 0, sizeof(ble_gap_sec_keyset_t));
err_code = sd_ble_gap_sec_params_reply(p_ble_evt-&amp;gt;evt.gap_evt.conn_handle,
									   BLE_GAP_SEC_STATUS_SUCCESS,
									   &amp;amp;m_sec_param,
									   &amp;amp;m_sec_keyset);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Windows 10 pairing issue.</title><link>https://devzone.nordicsemi.com/thread/153942?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 02:48:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24823e8a-7923-4d37-9675-9917eb45b361</guid><dc:creator>Ranajyoti Chakraborti</dc:creator><description>&lt;p&gt;Just to let you know I had to implement the following event like this to resolve the issue. This seems to be unique with windows.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;case BLE_GAP_EVT_SEC_PARAMS_REQUEST:
    NRF_LOG_INFO(&amp;quot;BLE_GAP_EVT_SEC_PARAMS_REQUEST&amp;quot;);
    err_code = sd_ble_gap_sec_params_reply(p_ble_evt-&amp;gt;evt.gap_evt.conn_handle,
    									   BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP,
    									   NULL,
    									   NULL);
    APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>