<?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>How to avoid duplicate connections?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106802/how-to-avoid-duplicate-connections</link><description>I&amp;#39;m using SDK 17.1.0 and the S140 SoftDevice to implement a central on an nRF52840 that can connect to multiple peripherals. When a peripheral is quickly power cycled, it restarts advertising long before the central has noticed that the previous connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Dec 2023 17:52:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106802/how-to-avoid-duplicate-connections" /><item><title>RE: How to avoid duplicate connections?</title><link>https://devzone.nordicsemi.com/thread/461494?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2023 17:52:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a9865cd-813c-45c2-9f6f-382db999ed8c</guid><dc:creator>pderocco</dc:creator><description>&lt;p&gt;In other words, no, there is no way for the application to tell the softdevice to kill off a connection immediately. You should consider adding this functionality for this particular situation, or better, the ability to update an existing connection and continue to use the same handle when this happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to avoid duplicate connections?</title><link>https://devzone.nordicsemi.com/thread/461208?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 07:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84a6a707-4892-4759-8b0e-6a2aa1495916</guid><dc:creator>AlexMiner</dc:creator><description>&lt;p&gt;Effectively managing scenarios involving rapid power-cycling of peripherals while avoiding duplicate connections poses a considerable challenge.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Adjusting the connection parameters, specifically minimizing the connection interval and connection timeout, can significantly reduce the time it takes for the central device to recognize a disconnection and initiate reconnection.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Set a shorter connection supervision timeout, defining the duration within which two devices must communicate. If this timeout is exceeded, the connection is deemed lost, aiding in quicker recognition of disconnections.&lt;/p&gt;
&lt;p&gt;Ensure that you are utilizing the latest version of the SoftDevice. Updates may introduce enhancements and bug fixes that can positively impact connection handling.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>