<?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>NRF52840 NRF Connect desktop pairing / bonding issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75338/nrf52840-nrf-connect-desktop-pairing-bonding-issue</link><description>Good day 
 I use NRF52840 + SDK v17.0.2. My application relies on _gls example and mainly copies its security settings ( also uses peer manager ) except I use MITM protection for my characteristics and static pin code approach. 
 The root cause of issue</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Jun 2021 11:20:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75338/nrf52840-nrf-connect-desktop-pairing-bonding-issue" /><item><title>RE: NRF52840 NRF Connect desktop pairing / bonding issue</title><link>https://devzone.nordicsemi.com/thread/313625?ContentTypeID=1</link><pubDate>Fri, 04 Jun 2021 11:20:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:655234ce-8729-471f-9901-8bef01ac3c10</guid><dc:creator>swisst</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 NRF Connect desktop pairing / bonding issue</title><link>https://devzone.nordicsemi.com/thread/312404?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 13:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d53b9252-1d63-41b1-a721-33bc3a462176</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The issue here is the IO Capabilities you configure. You set &amp;quot;Display, no keyboard&amp;quot; in the nRF Connect BLE app, which is the same as the glucose application. When both peers support only display, no MITM is possible. You need to set &amp;quot;Keyboard and display&amp;quot; on nRF Connect. Then the combined IO capabilities will allow passkey display on the nRF device and passkey entry on nRF Connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 NRF Connect desktop pairing / bonding issue</title><link>https://devzone.nordicsemi.com/thread/312147?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 13:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32f6978c-e158-4991-a8a6-81ba4e53ea0d</guid><dc:creator>swisst</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thank you for quick reply and sorry for delay&lt;/p&gt;
&lt;p&gt;For now lets focus on pca10056 board only - custom application relies on it so if I get result with glucose application I&amp;#39;ll success with custom app&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve downloaded clear glucose example ( diifs were only in line endings ) and rebuild it - same result as above&lt;/p&gt;
&lt;p&gt;The only changes I have in SDK are about verbosity with NRF_LOF_INFO in peer manager&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peer_5F00_manager_5F00_handler.diff"&gt;devzone.nordicsemi.com/.../peer_5F00_manager_5F00_handler.diff&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Screenshot from NRF Connect but did try all option variants&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-from-2021_2D00_05_2D00_27-16_2D00_45_2D00_19.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 NRF Connect desktop pairing / bonding issue</title><link>https://devzone.nordicsemi.com/thread/311799?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 12:47:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0fd1da7-f6cd-44f8-ae84-56f5b070d624</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you confirm that you reproduce this with an unmodified GLS example from SDK 17.0.2 as well as your custom app? If so, we need to look at your configuration in nRF Connect BLE. If you click on the gear icon, is &amp;quot;Auto reply security requests&amp;quot; checked or not? What is the configuration in &amp;quot;Security Parameters...&amp;quot;? When you initiate bonding, what parameters do you select? Screenshots would be good so that I can see that I match the exact same configuration on my side.&lt;/p&gt;
&lt;p&gt;If this is not reproducible with the unmodified GLS app, then we need to look at your custom app and see if we see something there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 NRF Connect desktop pairing / bonding issue</title><link>https://devzone.nordicsemi.com/thread/311468?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 13:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70725588-4355-43d4-8e7c-6cf9c7d5fc1f</guid><dc:creator>swisst</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry for delayed reply&lt;/p&gt;
&lt;p&gt;NRF Connect is recent one v3.6.1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/NRF_5F00_Connect_5F00_log_5F00_autoresponse.log"&gt;devzone.nordicsemi.com/.../NRF_5F00_Connect_5F00_log_5F00_autoresponse.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 NRF Connect desktop pairing / bonding issue</title><link>https://devzone.nordicsemi.com/thread/310840?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 16:38:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b01b3801-f26c-42ef-9b08-3203e208e18d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not able to reproduce this. Using the unmodified GLS example from SDK 17.0.2 and nRF Connect 3.6.1&amp;nbsp;with BLE app 2.5.1 I connect and immediately pair with MITM.&lt;/p&gt;
&lt;p&gt;nRF side log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app_timer: RTC: initialized.
&amp;lt;info&amp;gt; app: advdata size: 31
&amp;lt;info&amp;gt; app: srdata size: 0
&amp;lt;info&amp;gt; app: Glucose example started.
&amp;lt;info&amp;gt; app: Fast advertising
&amp;lt;info&amp;gt; app: Connected
&amp;lt;info&amp;gt; app: Passkey: 671717
&amp;lt;info&amp;gt; app: BLE_GAP_EVT_LESC_DHKEY_REQUEST
&amp;lt;info&amp;gt; nrf_ble_lesc: Calling sd_ble_gap_lesc_dhkey_reply on conn_handle: 0
&amp;lt;info&amp;gt; peer_manager_handler: Connection secured: role: Peripheral, conn_handle: 0, procedure: Pairing
&amp;lt;info&amp;gt; app: Link secured. Role: 1. conn_handle: 0, Procedure: 2
&amp;lt;info&amp;gt; app: BLE_GAP_EVT_AUTH_STATUS: status=0x0 bond=0x0 lv4: 1 kdist_own:0x0 kdist_peer:0x0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;nRF Connect log:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2021_2D00_05_2D00_20T16_5F00_28_5F00_50.764Z_2D00_log.txt"&gt;devzone.nordicsemi.com/.../2021_2D00_05_2D00_20T16_5F00_28_5F00_50.764Z_2D00_log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Which version of the nRF Connect BLE app are you using? Could there be other factors here? Can you upload the log from nRF Connect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 NRF Connect desktop pairing / bonding issue</title><link>https://devzone.nordicsemi.com/thread/310722?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 11:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95bd2d27-c8e2-4909-885e-88c9a0c94396</guid><dc:creator>swisst</dc:creator><description>&lt;p&gt;Tested with gls example without any modifications - result is the same as described above&lt;/p&gt;
&lt;p&gt;NRF connect for desktop + NRF52840-DK ( pca10056 ) - see attached log&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/gls_5F00_example_5F00_log.log"&gt;devzone.nordicsemi.com/.../gls_5F00_example_5F00_log.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>