<?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>BLE pairing issue when BT_SECURITY_L4 with nRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83138/ble-pairing-issue-when-bt_security_l4-with-nrf5340</link><description>Hello, 
 
 I am using SDK1.5.1 with one nRf5340 as central and another nRf5340 as peripheral. My use case is, I am setting security level 4 (BT_SECURITY_L4) after establishing the connection. In a normal scenario, it is working and I am able to establish</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Dec 2021 09:44:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83138/ble-pairing-issue-when-bt_security_l4-with-nrf5340" /><item><title>RE: BLE pairing issue when BT_SECURITY_L4 with nRF5340</title><link>https://devzone.nordicsemi.com/thread/345441?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 09:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e4f53df-4ec6-4506-9ce4-aa6d7bd26d88</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Thanks, I would suggest to test with the peripheral_sc_only, just in case if it works, then you can use it as the reference.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE pairing issue when BT_SECURITY_L4 with nRF5340</title><link>https://devzone.nordicsemi.com/thread/345437?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 09:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d308f1c4-877e-420d-ac24-35a8bd1f524b</guid><dc:creator>SanketC</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Actually, I have not used peripheral_sc_only example. I am using central_uart and peripheral_uart in which I have enabled the security. I shall try to provide the file with minimum changes on which you can reproduce this issue. Give me some time. I shall get back to you on this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;SC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE pairing issue when BT_SECURITY_L4 with nRF5340</title><link>https://devzone.nordicsemi.com/thread/345387?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 15:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e182fb6-837d-459e-90b6-bf7c421c6599</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi SC,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you provide the sample that can reproduce the issue so I can test here ?&amp;nbsp;&lt;br /&gt;I did a quick test with the peripheral_sc_only and the nRF Connect Desktop but couldn&amp;#39;t reproduce the issue on the peripheral side. The central was able to re-connect after disconnect.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/585x148/__key/communityserver-discussions-components-files/4/pastedimage1640791306633v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE pairing issue when BT_SECURITY_L4 with nRF5340</title><link>https://devzone.nordicsemi.com/thread/345310?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 05:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2fc982b-0d33-42cf-a516-4cc663593082</guid><dc:creator>SanketC</dc:creator><description>&lt;p&gt;Hello Hung,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have already gone through the case shared by you. Please see my reply below for your question:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;You mentioned &amp;quot;if peripheral or central is unable to call&amp;nbsp;bt_conn_auth_passkey_confirm()&amp;nbsp;&amp;quot;, what exactly happened there ? Was&amp;nbsp;bt_conn_auth_cancel() called or the connection simply dropped from one side at that time ?&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;SC: basically there is one use case because of that central and peripheral is not able to call&amp;nbsp;bt_conn_auth_passkey_confirm() so after approx 10seconds I get &amp;quot; SMP time out &amp;quot; and &amp;quot;security failed&amp;quot; log I get from security_changed() call back. After this, if If I try to again pair then I get&amp;nbsp;&lt;strong&gt;&amp;quot;Found valid connection in the disconnected state&amp;quot;.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;So, I want to clear out this&amp;nbsp;reference and start fresh pair.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;SC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE pairing issue when BT_SECURITY_L4 with nRF5340</title><link>https://devzone.nordicsemi.com/thread/345252?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 13:20:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc3b4675-64b6-4624-a08b-4b69c1e9c464</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sanket,&lt;/p&gt;
&lt;p&gt;Can the issue be reproduced using the&amp;nbsp;peripheral_sc_only example ? So we can test here.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You mentioned &amp;quot;&lt;span&gt;if peripheral or central is unable to call&amp;nbsp;bt_conn_auth_passkey_confirm()&amp;nbsp;&amp;quot;, what exactly happened there ? Was&amp;nbsp;&lt;/span&gt;bt_conn_auth_cancel() called or the connection simply dropped from one side at that time ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;We have a case with similar error, could you have a look and check if the solution there can help ?&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/68150/bluetooth-codded-phy-couldn-t-connect-after-disconnecting-w-found-valid-connection-in-disconnected-state"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/68150/bluetooth-codded-phy-couldn-t-connect-after-disconnecting-w-found-valid-connection-in-disconnected-state&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>