<?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 reconnection distance</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120175/nrf52840-reconnection-distance</link><description>I conducted a BLE test using two nRF52840 Dongles. Since I used Dongles, I based my code on the usbd example from the sample programs. During testing, the connection between the two Dongles dropped at a distance of approximately 50 meters , but reconnection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Apr 2025 13:40:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120175/nrf52840-reconnection-distance" /><item><title>RE: nRF52840 reconnection distance</title><link>https://devzone.nordicsemi.com/thread/530641?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 13:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61256ed2-4083-4ae4-a049-7d61c86ba3fa</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi again guys,&lt;/p&gt;
[quote user="kimhh"]Do you have any data on BLE disconnection and reconnection distance testing using a Dongle in any environments? If so, could you provide it?[/quote]
&lt;p&gt;Not that I know of. Like I said, dongles (or DKs for that matter) aren&amp;#39;t made&amp;nbsp;for this purpose, but I guess if we had data on this it would presumably be for DKs.&amp;nbsp;&lt;/p&gt;
[quote user="kimhh"]Additionally, to rule out potential noise issues, I conducted the test in a shielded environment, but the problem persisted.[/quote]
&lt;p&gt;I see. Then I would assume it&amp;#39;s SW related. Some difference in distance here would make sense,&amp;nbsp;as for a connection you have&amp;nbsp;&lt;span&gt;slave latency&amp;nbsp;and supervision timeout, which lets you withstand a few packet losses before having to lose the connection.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;A sniffer trace and/or would help a lot, to help us see what caused the two to lose the connection. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards and have a good week-end,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 reconnection distance</title><link>https://devzone.nordicsemi.com/thread/529792?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2025 12:20:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b949cf33-0fbd-4ad4-bf4b-1ffd749c7a03</guid><dc:creator>Jakob Ruhe</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;kimhh&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;For what it is worth, I&amp;nbsp;have the same experience.&lt;/p&gt;
&lt;p&gt;Very often I see this in the logs:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;wrn&amp;gt; [MPSL Work] bt_conn: conn 0x20006b68 failed to establish. RF noise?
&amp;lt;inf&amp;gt; [sysworkq] ap: Disconnected: BT_HCI_ERR_CONN_FAIL_TO_ESTAB (62)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Sometimes I instead get an early disconnect during the initial exchange of connection parameters. At which stage does the connection establishment fail for you?&lt;/p&gt;
&lt;p&gt;I have not found the reason for this. But here are some things that hopefully are worth mentioning.&lt;/p&gt;
&lt;p&gt;To find a peripheral it is crucial that the Central can hear the peripheral on at least 1 of the 3 primary advertising channels.&lt;/p&gt;
&lt;p&gt;If Legacy Advertising is used the connection is also established using any of those 3 channels. If Extended Advertising is used, the connection is instead established using one of the 37 data channels.&lt;/p&gt;
&lt;p&gt;Once a connection is up, all communication happens on the 37 data channels. So, as Elfving mentioned, if you have a lot of noise on the 3 primary advertising channels it would explain the results we have observed to some extent. But I do not buy that explanation fully. And I guess you do not either, since you have even had the time to actually test this in a shielded environment.&lt;/p&gt;
&lt;p&gt;When you say that you have changed PHY and TX Power, how did you do that? Have you been able to verify that your advertising messages actually are using the PHY and TX Power you have configured?&amp;nbsp;What kind of advertising are you using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;During establishment of a Connection some parameters are exchanged between the two nodes. What I have not figured out is how the retry mechanism looks like during the initialization phase. I suspect that some moment in this phase is very sensitive when establishing connections in environments with packet loss. But it is nothing more than a clever guess from my side. I have not had the time to really dig into this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 reconnection distance</title><link>https://devzone.nordicsemi.com/thread/529657?ContentTypeID=1</link><pubDate>Sun, 30 Mar 2025 23:25:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb80bf01-d062-4288-8a55-024f96e08375</guid><dc:creator>kimhh</dc:creator><description>&lt;p class="" data-start="0" data-end="331"&gt;When testing with a different sample (blinky - pca10059 example) using the Dongle, I observed the same issue as in the previous test: the reconnection distance was shorter than the disconnection distance. Additionally, to rule out potential noise issues, I conducted the test in a shielded environment, but the problem persisted.&lt;/p&gt;
&lt;p class="" data-start="333" data-end="479"&gt;Do you have any data on BLE disconnection and reconnection distance testing using a Dongle in any environments? If so, could you provide it?&lt;/p&gt;
&lt;p class="" data-start="333" data-end="479"&gt;I will also try a sniffer trace.&lt;/p&gt;
&lt;p class="" data-start="333" data-end="479"&gt;Best regards,&lt;/p&gt;
&lt;p class="" data-start="333" data-end="479"&gt;kinhh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 reconnection distance</title><link>https://devzone.nordicsemi.com/thread/529641?ContentTypeID=1</link><pubDate>Sat, 29 Mar 2025 10:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2926c6fd-48cb-4eb3-9db4-f238cb516c78</guid><dc:creator>Elfving</dc:creator><description>[quote user="kimhh"]. Given the current situation, what kind of insights can I gain from it?[/quote]
&lt;p&gt;Since you see this happening in multiple scenarios and eg amount of noise, maybe not much. Otherwise it could be interesting to see if there are certain messages that are not recieved or anything, causing it to disconnect. &lt;/p&gt;
&lt;p&gt;Though whether or not you see this with other samples (or anything default, as you say that what you are running is based on usbd sample) might be a better first test. &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 reconnection distance</title><link>https://devzone.nordicsemi.com/thread/529170?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 00:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a11bb5c5-47fb-4c50-846d-3f7ea6d8386b</guid><dc:creator>kimhh</dc:creator><description>&lt;p class="" data-start="0" data-end="322"&gt;First of all, thank you for your kind and prompt response!&lt;/p&gt;
&lt;p class="" data-start="0" data-end="322"&gt;It seems that the issue is not related to noise, as the same phenomenon occurs in different environments. Additionally, I have tested with various types of antennas and even with a DK board, but the results remain unchanged. I am not sure what the problem is. If you can suggest other potential causes, I will test them.&lt;/p&gt;
&lt;p class="" data-start="324" data-end="506"&gt;For reference, my current testing method involves sending debug messages during connection and disconnection, as well as periodically transmitting data to verify the communication.&lt;/p&gt;
&lt;p class="" data-start="324" data-end="506"&gt;And you have requested a sniffer trace from me. Given the current situation, what kind of insights can I gain from it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 reconnection distance</title><link>https://devzone.nordicsemi.com/thread/529008?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 10:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b1e2622-15cf-430c-82e7-fe5990983ff2</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;First of all, the dongle isn&amp;#39;t really designed for BLE performance. The DK isn&amp;#39;t designed for that either, but might perform better on tests like this, due to eg. larger ground plane and its antenna size. So do not think of these ranges as a ground truth for nRFs or anything like that.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regarding being in connection and not, this happens on different channels. So a difference in RF noise might explain it. Is this potentially an area with a lot of RF noise? Are you seeing this with other samples as well? Could you show me sniffer trace of this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>