<?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>Bluetooth Long Range - Advertising and Connection issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74362/bluetooth-long-range---advertising-and-connection-issues</link><description>Peripheral: nRF52840 DK Central: OnePlus 6T, nRF Connect app 
 I modified ble_app_uart example, to support Bluetooth Long Range: 
 
 I observe two issues: 
 
 Advertising is in short bursts. I measured, that device advertises for 5 seconds, and then 15</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Nov 2021 08:47:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74362/bluetooth-long-range---advertising-and-connection-issues" /><item><title>RE: Bluetooth Long Range - Advertising and Connection issues</title><link>https://devzone.nordicsemi.com/thread/339968?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 08:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5020d18a-2a04-4fc7-a500-3af2322138f3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry, this is the version we have, but it should not be much work either implementing these changes to this ble_app_beacon_scanner application made for the nRF5 SDK v17.0.2.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7658.ble_5F00_app_5F00_beacon_5F00_scanner.zip"&gt;devzone.nordicsemi.com/.../7658.ble_5F00_app_5F00_beacon_5F00_scanner.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Alternatively you can follow the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/migration.html"&gt;migration guide&lt;/a&gt;&amp;nbsp;to make the existing example compatible with SDK v17.0.2.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Long Range - Advertising and Connection issues</title><link>https://devzone.nordicsemi.com/thread/339874?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 16:05:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9766c6d8-8b1b-47ad-a8c0-df35364018ba</guid><dc:creator>Thabet</dc:creator><description>&lt;p&gt;Hello&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Would you have this example using nRF5 SDK 17.0.2? Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Long Range - Advertising and Connection issues</title><link>https://devzone.nordicsemi.com/thread/307040?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 13:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03c65b3f-2408-49bd-a2c3-e92bb0349b64</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Right, you&amp;#39;re using the nRFConnect for desktop BLE app. This app does not support advertising/scanning on the Coded PHY, as it is based on a version of the S132 SoftDevice. The Dongle supports Coded PHY, but not the firmware the Bluetooth Low Energy app uses.&lt;/p&gt;
&lt;p&gt;You need to use the nRFConnect for mobile application and a phone supporting Coded PHY, or a central application scanning using Coded PHY on your Dongle. You can check out this example that a colleague of mine made for the nRF52840. It scans for beacons using extended advertising, so all you should have to do is to set the PHY to Coded PHY and adapt it to fit the Dongle (&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;as explained in our Dongle Programming tutorial here&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_beacon_5F00_scanner_5F00_extended.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_beacon_5F00_scanner_5F00_extended.zip&lt;/a&gt;&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: Bluetooth Long Range - Advertising and Connection issues</title><link>https://devzone.nordicsemi.com/thread/306911?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 06:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c19b112-9e7a-4405-984d-be191d1c6d55</guid><dc:creator>Despair1337 </dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;For some reason, when I use desktop nRF Desktop application - Bluetooth Low Energy, it sees only 1M and M2 PHY, Coded PHY advertising devices are not visible.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1619505469652v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Long Range - Advertising and Connection issues</title><link>https://devzone.nordicsemi.com/thread/306907?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 06:15:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb7601ed-639f-4a71-be4f-c83018f4d472</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, the nRF52840 Dongle supports advertising/scanning using Coded PHY. Can you explain what you mean with &amp;quot;through nRFConnect app&amp;quot;? From personal experience I have also had issues with the OnePlus 6T, but I&amp;#39;ve used the Samsung S10+ (and newer models) to scan for Coded PHY advertisements as intended.&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: Bluetooth Long Range - Advertising and Connection issues</title><link>https://devzone.nordicsemi.com/thread/306876?ContentTypeID=1</link><pubDate>Mon, 26 Apr 2021 17:23:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f699058a-8709-45ea-aacb-ec4b3f86da18</guid><dc:creator>Despair1337 </dc:creator><description>&lt;p&gt;Hi Simonr and thank you for your fast response.&lt;/p&gt;
&lt;p&gt;I changed the code according to your advices, and it&amp;#39;s easier to connect now, still sadly, it&amp;#39;s very hard to connect onto it. Sometimes it works good, sometimes not. I also tried it on some other phone, and it had same issue (some Qualcomm based phone, probably different SoC that one I have in OnePlus 6T).&lt;/p&gt;
&lt;p&gt;Anyway, my question is, does nRF58420 Dongle can support Long Range through nRF Connect app?&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Long Range - Advertising and Connection issues</title><link>https://devzone.nordicsemi.com/thread/306875?ContentTypeID=1</link><pubDate>Mon, 26 Apr 2021 17:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cd12815-c023-4dd6-aa48-3bee48e34e7d</guid><dc:creator>Despair1337 </dc:creator><description>&lt;p&gt;Oh, good to know! I tested also some other phones (which claimed to support coded phy), but one had similar behavior, and one didn&amp;#39;t seen him at all.&lt;/p&gt;
&lt;p&gt;Although, do you encounter issues with connecting? Like, from 10 tries, only 3 times it works. Sometimes, it works reliably, but after reboot, it again have hard time to connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Long Range - Advertising and Connection issues</title><link>https://devzone.nordicsemi.com/thread/306868?ContentTypeID=1</link><pubDate>Mon, 26 Apr 2021 15:54:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e29c3825-bc68-4abb-a113-da3d9fc9a9d8</guid><dc:creator>TylerS</dc:creator><description>&lt;p&gt;As Simonr said, this is an issue with the phone. I also have a 6T and experience the exact same thing. The frustrating thing is in other corners of forms and such, it is listed as a phone that supports Coded Phy.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth Long Range - Advertising and Connection issues</title><link>https://devzone.nordicsemi.com/thread/306547?ContentTypeID=1</link><pubDate>Fri, 23 Apr 2021 13:04:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce1bbc95-2d74-4fe5-aaba-c5b9819c060f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please note that you need to set the advdata.flags to BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE in order to use Coded PHY advertising. Also make sure that the scan response data is set to null, as extended advertising (which is used by Coded PHY) does not support scan response data.&lt;/p&gt;
&lt;p&gt;The long range scanner log you&amp;#39;re seeing is reminiscent of that in a phone that does not support Coded PHY fully, as it&amp;#39;s not able to scan on the secondary advertising channels. (which are the gaps you&amp;#39;re seeing). A Coded PHY advertisement will advertise for a small amount of time on the primary channels (37, 38, 39) which are the &amp;quot;RSSI snippets&amp;quot; you&amp;#39;re seeing in nRFConnect.&lt;/p&gt;
&lt;p&gt;The nRFConnect app only checks for a specific bit in the Android stack for whether BLE Coded PHY is supported. Unfortunately, this bit does not require that the device is able to scan for devices advertising over Coded PHY.&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></channel></rss>