<?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 peripherals(nrf5340dk) disconnect instantly after connecting with central(nrf5240 dongle) sometimes</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94149/ble-peripherals-nrf5340dk-disconnect-instantly-after-connecting-with-central-nrf5240-dongle-sometimes</link><description>Hi Team, 
 I am working on connecting multiple peripherals (nrf534odk) with a central (nrf52840-dongle), some times all the peripherals are able to connect with central smoothly, but some times few peripherals gets disconnected instantly after connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Nov 2022 10:01:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94149/ble-peripherals-nrf5340dk-disconnect-instantly-after-connecting-with-central-nrf5240-dongle-sometimes" /><item><title>RE: Ble peripherals(nrf5340dk) disconnect instantly after connecting with central(nrf5240 dongle) sometimes</title><link>https://devzone.nordicsemi.com/thread/397108?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2022 10:01:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:096bbcb8-e3b7-4144-bc5e-35839b674472</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no built-in retry mechanism. You just need to try to connect again by calling&amp;nbsp;bt_conn_le_create() again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble peripherals(nrf5340dk) disconnect instantly after connecting with central(nrf5240 dongle) sometimes</title><link>https://devzone.nordicsemi.com/thread/397059?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2022 07:20:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67caee02-70e9-4217-a901-415ecd6d2b33</guid><dc:creator>Bhavya Mathukiya</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/eith"&gt;Einar Thorsrud&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Thanks for the response. Is there any retry mechanism in NCS so that central do retry itself to connect with peripheral in such cases. If yes maximum how many times does it retry?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble peripherals(nrf5340dk) disconnect instantly after connecting with central(nrf5240 dongle) sometimes</title><link>https://devzone.nordicsemi.com/thread/396967?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2022 14:25:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:055fe5cc-8266-476f-84e5-b9b845e232fc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;0x3E is a standard Bluetooth error code that means that the connection failed to be established, which you will get if there are no successful connection events after the central sent the connection indication (see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44756/how-to-minimize-hci-error-0x3e-and-0x22-connection-failures-of-ble-connections/176809"&gt;this post&lt;/a&gt;). It is not uncommon to get this from time to time when there are many active connections concurrently or if the RF environment is noisy etc. If the problem is the former, then you should see less of it with fewer concurrent connections and/or longer connection intervals or shorter event lengths. And if the&amp;nbsp;cause&amp;nbsp;is the latter, you should see less in a better RF environment. When this happens, the right thing to do is simply to try again until the connection is established successfully.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>