<?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>NCS1.9.1 NRF52805 not bonding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87255/ncs1-9-1-nrf52805-not-bonding</link><description>Hello, 
 I&amp;#39;m working with a little project in NCS 1.9.1, chip is NRF52805 acting as central, connecting to a peripheral that requires passkey and L3 security. Everything works as expected, but I&amp;#39;m now trying to store the bond information so that it works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 May 2022 09:58:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87255/ncs1-9-1-nrf52805-not-bonding" /><item><title>RE: NCS1.9.1 NRF52805 not bonding</title><link>https://devzone.nordicsemi.com/thread/366664?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 09:58:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f74e94f-8c91-4e84-8bfc-21cfe5210827</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Is there any different if you use the softdevice controller vs. the zephyr controller? E.g. in prj.conf&lt;br /&gt;CONFIG_BT_LL_SOFTDEVICE=y&lt;br /&gt;vs.&lt;br /&gt;CONFIG_BT_LL_SW_SPLIT=y&lt;/p&gt;
&lt;p&gt;Any difference if you enable/use slave latency when you establish connection? E.g. try to set latency = 5.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1 NRF52805 not bonding</title><link>https://devzone.nordicsemi.com/thread/366601?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 07:27:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bff1b1f9-6c81-4670-ad07-4ef1dca02e97</guid><dc:creator>Jouke Waleson</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    err = settings_load();
    if (err) {
        printk(&amp;quot;Settings loaded failed (err %d)\n&amp;quot;, err);
        shut_down();
        return;
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This is the code (shut_down is my custom exit functionality).&lt;/p&gt;
&lt;p&gt;Like I said in the post, pairing_complete is never called. I think this is either a bug in the SDK or a configuration problem on my side, but I have a hard time finding it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1 NRF52805 not bonding</title><link>https://devzone.nordicsemi.com/thread/365802?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 13:32:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4338702c-54e7-410e-b3bc-e372aea28b49</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I can&amp;#39;t find any errors no.&lt;/p&gt;
&lt;p&gt;Can you check if&amp;nbsp;&lt;span&gt;settings_load() return any error code?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you also check the pairing_complete() cb whether &amp;quot;bool bonded&amp;quot; is set? &lt;br /&gt;Ref static void pairing_complete(struct bt_conn *conn, bool bonded).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1 NRF52805 not bonding</title><link>https://devzone.nordicsemi.com/thread/365660?ContentTypeID=1</link><pubDate>Sun, 01 May 2022 09:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a363452-1182-4bc5-b0a8-2a23dcae651a</guid><dc:creator>Jouke Waleson</dc:creator><description>&lt;p&gt;It took some time to get working, but here you go!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/capture_2D00_cowboy_2D00_no_2D00_bonding.pcapng"&gt;devzone.nordicsemi.com/.../capture_2D00_cowboy_2D00_no_2D00_bonding.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1 NRF52805 not bonding</title><link>https://devzone.nordicsemi.com/thread/365436?ContentTypeID=1</link><pubDate>Thu, 28 Apr 2022 13:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:700fb241-696e-4086-b2e3-9175c9c5d6e4</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Are you able to provide an on-air sniffer log for BLE?&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That was I can check if there are any errors occurding during bonding that may explain what you see.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1 NRF52805 not bonding</title><link>https://devzone.nordicsemi.com/thread/365363?ContentTypeID=1</link><pubDate>Thu, 28 Apr 2022 10:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:512f2e9d-7bb4-40bb-b73a-e6b8da359c23</guid><dc:creator>Jouke Waleson</dc:creator><description>&lt;p&gt;There are no examples for passkey_entry, and the other ones&amp;nbsp;just have passkey_confirm and passkey_display listed (which makes sense for the variant where the key is only displayed).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1 NRF52805 not bonding</title><link>https://devzone.nordicsemi.com/thread/364804?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 05:23:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57fd1193-a051-4f39-a691-0f11a32e64b4</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you take a look at some of the example project in NCS that support passkey? For instance there are both central and peripheral implementation for hids that support passkey.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1 NRF52805 not bonding</title><link>https://devzone.nordicsemi.com/thread/364800?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 04:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d51bda1-0de9-43b1-b660-d8d912ca7c62</guid><dc:creator>Jouke Waleson</dc:creator><description>&lt;p&gt;that is:&lt;/p&gt;
&lt;table class="highlight tab-size js-file-line-container js-code-nav-container js-tagsearch-file"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="blob-code blob-code-inner js-file-line" id="LC354"&gt;&lt;span class="pl-k"&gt;static&lt;/span&gt; &lt;span class="pl-k"&gt;struct&lt;/span&gt; bt_conn_auth_cb conn_auth_callbacks = {&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" id="L355"&gt;&lt;/td&gt;
&lt;td class="blob-code blob-code-inner js-file-line" id="LC355"&gt;.&lt;span class="pl-smi"&gt;pairing_complete&lt;/span&gt; = pairing_complete,&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" id="L356"&gt;&lt;/td&gt;
&lt;td class="blob-code blob-code-inner js-file-line" id="LC356"&gt;.&lt;span class="pl-smi"&gt;passkey_entry&lt;/span&gt; = passkey_entry,&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" id="L357"&gt;&lt;/td&gt;
&lt;td class="blob-code blob-code-inner js-file-line" id="LC357"&gt;.&lt;span class="pl-smi"&gt;pairing_failed&lt;/span&gt; = pairing_failed,&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" id="L358"&gt;&lt;/td&gt;
&lt;td class="blob-code blob-code-inner js-file-line" id="LC358"&gt;.&lt;span class="pl-smi"&gt;cancel&lt;/span&gt; = cancel,&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" id="L359"&gt;&lt;/td&gt;
&lt;td class="blob-code blob-code-inner js-file-line" id="LC359"&gt;};&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;I&amp;rsquo;ve tried NVS too, didn&amp;rsquo;t get far with that, but as data is being written I don&amp;rsquo;t think the storage backend is the problem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1 NRF52805 not bonding</title><link>https://devzone.nordicsemi.com/thread/364758?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 14:53:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08f3943e-8866-4e06-b0c6-a44d875d3ef0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Which&amp;nbsp;conn_auth_callbacks have you defined? Which of them occur here? Have you tried&amp;nbsp;CONFIG_SETTINGS_NVS instead?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>