<?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>No Improvement of BLT 5 Long Range Mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52468/no-improvement-of-blt-5-long-range-mode</link><description>Hi, 
 We have a product composes of a central and a peripheral which uses Nrf52840 as their MCU and communicate with each other via BLE. The peripheral will send some data and transfer audio captured by microphone to the central in real time. Currently</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Sep 2019 09:09:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52468/no-improvement-of-blt-5-long-range-mode" /><item><title>RE: No Improvement of BLT 5 Long Range Mode</title><link>https://devzone.nordicsemi.com/thread/211738?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 09:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f4dc490-3f8a-4189-884d-f3d7a154e61e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1. Both SCANNABLE and NONSCANNABLE should be usable.&lt;/p&gt;
&lt;p&gt;2. Great, I just had to confirm it.&lt;/p&gt;
&lt;p&gt;3 &amp;amp; 4. Initially, I thought not, but it might be that both scan_phys and the primary_phy must be set to PHY_CODED. I can&amp;#39;t confirm this with certainty though as both of our &amp;quot;long-range gurus&amp;quot; are out of the office this week. I&amp;#39;ll be able to provide a definite answer early next week (maybe earlier if I&amp;#39;m able to reach either of them). In the meantime, I urge you to experiment with this, setting either or both of these parameters to CODED.&lt;/p&gt;
&lt;p&gt;Best regards and sorry I can&amp;#39;t be of more help,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No Improvement of BLT 5 Long Range Mode</title><link>https://devzone.nordicsemi.com/thread/211576?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 14:12:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29083a45-9e90-4702-a7eb-1159b47afa88</guid><dc:creator>BK</dc:creator><description>&lt;p&gt;Hi Simon, sorry that&amp;#39;s my mistake.&lt;/p&gt;
&lt;p&gt;(1)Actually I mean it&amp;#39;s&amp;nbsp;BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED in Demo whereas my application is&amp;nbsp;&lt;span&gt;BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(2)And yes, my advertising flag is set to be&amp;nbsp;BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(3)Is that OK to set primary channel to 1MBPS and secondary channel to CODED for long range mode for the peripheral? Or they both have to be set to CODED?&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(4)Is that OK to set scan_phys to BLE_GAP_PHY_AUTO for long range mode for the central? Or it has to be set to&amp;nbsp;BLE_GAP_PHY_CODED?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No Improvement of BLT 5 Long Range Mode</title><link>https://devzone.nordicsemi.com/thread/211545?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 12:48:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ece46691-5660-4aab-96a8-4b2f6fb72387</guid><dc:creator>Simonr</dc:creator><description>[quote user="bobokang_2003"]The demo has the setting which is p_advertising-&amp;gt;adv_params.properties.type = BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED when&amp;nbsp;the channel is CODED_PHY, while my case is&amp;nbsp;BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED[/quote]
&lt;p&gt;&amp;nbsp;I think you wrote the same thing twice here. What is the ADV_TYPE in your application?&lt;/p&gt;
&lt;p&gt;What is your advertising flag set as? This needs to be BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE for the peripheral to work in long-range mode.&lt;/p&gt;
&lt;p&gt;For the application to connect when primary PHY is set to CODED_PHY both the peripheral and central must have the same primary PHY. There could be a number of issues in your application(s), but I can&amp;#39;t see what it is from the snippets you&amp;#39;ve uploaded. I also ought to link to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49926/nrf52840-coded-phy-range-problem"&gt;this case,&lt;/a&gt; as this&amp;nbsp;range issue was caused by a combination of a bad antenna and a less than optimal testing environment.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No Improvement of BLT 5 Long Range Mode</title><link>https://devzone.nordicsemi.com/thread/211465?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 08:49:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d36bbe3e-7b34-4e02-b710-18b497f0fe0d</guid><dc:creator>BK</dc:creator><description>&lt;p&gt;Hi Simonr, I&amp;#39;ve checked the source code of BLE long-range demo you mentioned above. I had some findings:&lt;/p&gt;
&lt;p&gt;(1)The SDK of demo is 15.0 while my project uses 15.2, therefore a lot of definition of API is different.&lt;/p&gt;
&lt;p&gt;(2)The demo has the setting which is p_advertising-&amp;gt;adv_params.properties.type = BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED when&amp;nbsp;the channel is CODED_PHY, while my case is&amp;nbsp;BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED&lt;/p&gt;
&lt;p&gt;(3) In Demo,&amp;nbsp;adv_params.primary_phy&amp;nbsp; &amp;nbsp; &amp;nbsp;= BLE_GAP_PHY_CODED, while my current setting is&amp;nbsp;adv_params.primary_phy&amp;nbsp; &amp;nbsp; &amp;nbsp;= BLE_GAP_PHY_1MBPS.&lt;/p&gt;
&lt;p&gt;So, I changed the&amp;nbsp;&lt;span&gt;adv_params.primary_phy from 1MBPS to CODED. However, after implementing the change,&amp;nbsp; they cannot establish the connection normally.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have any suggestion how to find the root cause of this? (I mean the cause of cannot connect to each other, and, and distance improvement is not obvious)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No Improvement of BLT 5 Long Range Mode</title><link>https://devzone.nordicsemi.com/thread/211279?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 13:11:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30f8d2cb-caba-4973-91d3-5a4de7c6b7df</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please use the nRF52 &lt;a href="https://github.com/NordicPlayground/nRF52-ble-long-range-demo"&gt;BLE Long-range demo on Github&lt;/a&gt; as a reference when setting up CODED_PHY and&amp;nbsp;BLE long-range. You can also check out&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38267/long-range"&gt;this thread&lt;/a&gt;, which clarifies a lot of common errors when setting up a long-range connection.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No Improvement of BLT 5 Long Range Mode</title><link>https://devzone.nordicsemi.com/thread/211086?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 03:17:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ea98c2f-a984-436a-aac3-ee781a78ac86</guid><dc:creator>BK</dc:creator><description>&lt;p&gt;the first figure is missing, so I attach it again here:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1280x960/__key/communityserver-discussions-components-files/4/2605.p1.JPG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>