<?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, Connection fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113391/nrf52840-connection-fail</link><description>Hi, my device is central device( Central UART ) and I couldn&amp;#39;t get stable pairing with peripheral device with display which provides passkey code. The scenario: 1. From the start, I get a successful pairing (34931_pairing_OK_212.txt 34931_pairing_OK_212</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jul 2024 17:28:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113391/nrf52840-connection-fail" /><item><title>RE: nRF52840, Connection fail</title><link>https://devzone.nordicsemi.com/thread/495495?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2024 17:28:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b011a473-d9d7-4080-ae5c-2730a8a4daf0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What NCS version are you using?&lt;/p&gt;
&lt;p&gt;Disconnection reason 0x05 means BLE_HCI_AUTHENTICATION_FAILURE because&amp;nbsp;Pairing is failed. Do you&amp;nbsp;Call&amp;nbsp;&lt;code&gt;settings_load()&lt;/code&gt;&amp;nbsp;after initializing Bluetooth so that previous bonds can be restored? See this course&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-5-bluetooth-le-security-fundamentals/topic/blefund-lesson-5-exercise-2/"&gt;https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-5-bluetooth-le-security-fundamentals/topic/blefund-lesson-5-exercise-2/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>