<?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>nrf52833 + Long Range + Scanner</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88708/nrf52833-long-range-scanner</link><description>Hello Team, 
 
 We are in process of verifying Long Range on nrf52833. 
 Setup: nrf52833 + ncs v1.8.0 
 We have developed an Long Range (CODED PHY) advertisement sample and it works fine, We could see advertisement packets on the nRF mobile application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jun 2022 16:23:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88708/nrf52833-long-range-scanner" /><item><title>RE: nrf52833 + Long Range + Scanner</title><link>https://devzone.nordicsemi.com/thread/372871?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 16:23:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36939290-214c-4ecc-8a27-d94bc3fed0b0</guid><dc:creator>embeddedER</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Appreciate your detailed response.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Few&amp;nbsp;clarifications from my end:&lt;/p&gt;
&lt;p&gt;- I am aware of the&amp;nbsp;factors affecting range (txpower, antenna, environment etc). That&amp;#39;s the reason I mentioned I am using same environment to test default vs coded phy.&lt;/p&gt;
&lt;p&gt;- I&amp;nbsp;used mobile, just to verify that I am sending data using Coded PHY. In the nRF app, I do see primary and secondary phy as &amp;quot;LE Coded&amp;quot; which means we have setup transmitter correctly with Coded PHY. For our testing we are using 2 nrf52833 dev boards (fanstel).&amp;nbsp;On the scanner as well I am printing primary/secondary phy for advertisements which shows &amp;quot;LE Coded&amp;quot;.&lt;/p&gt;
&lt;p&gt;- We have already tested txpower=4/8 with nrf52833&amp;nbsp;and planning to tune that as per our final need. Since txpower comes with a trade-off of high power consumption and our solution is battery operated device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ultimately the answer that we are trying to get here is: with the same setup/antenna/env/txpower how much coded phy&amp;nbsp;out perform default phy?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Since our application uses advertisement packets with our data stuffed in it, we are&amp;nbsp;trying to get max range with these adv packets.&lt;/p&gt;
&lt;p&gt;Changes you mentioned in&amp;nbsp;&lt;strong&gt;bt_conn_le_phy_update(),&amp;nbsp;&lt;/strong&gt;does it affect the advertisement packets as well? My assumption is,&amp;nbsp;S=2/S=8 will come into affect only after connection, is that right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any other configuration (apart from txpower/antenna) that can help to improve the range of Coded PHY advertisement packets?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;TIA!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 + Long Range + Scanner</title><link>https://devzone.nordicsemi.com/thread/372833?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 13:22:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91303e37-232c-41c2-b3c6-0ef8d6ec20c2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bluetooth range is affected by many factors, and an issue when trying to predict what kind of range you get when phones is involved is that the radio performance of the phone itself is an unknown factor.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="harshal034"]I&amp;#39;ve confirmed&amp;nbsp;adv packets are coded PHY in the scanner side by printing the data from adv packets on terminal and also using the nRF mobile App.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would suggest using two nRF53833 to test instead of the mobile device. What is the device, custom board or nRF53833DK? Can you test with nRF52833DK?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you want to test with the phone, Please&amp;nbsp;check the phone support Coded PHY or not as this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33060/is-there-any-smartphone-with-supporting-of-bluetooth-5-long-range-feature/157593#157593"&gt;post&amp;nbsp;&lt;/a&gt;indicated. from nRFConnect mobile app manual (left top) -&amp;gt; Device information.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3482.Device_5F00_info.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="harshal034"]My question here is, how do we configure S=2 or S=8 in adv packets?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you use I.E. the HR_Coded examples in NCS, the simplest way to implement S=2 would be to do it as part of a connection PHY parameter by calling&amp;nbsp;&lt;strong&gt;bt_conn_le_phy_update()&lt;/strong&gt;. See&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/include/zephyr/bluetooth/conn.h#L491"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/include/zephyr/bluetooth/conn.h#L491&lt;/a&gt;. The preferred coding scheme is part of the PHY options:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/include/zephyr/bluetooth/conn.h#L90"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/include/zephyr/bluetooth/conn.h#L90&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="harshal034"]Is there anything else that needs to be configured for the maximum range?[/quote]
&lt;p&gt;Please make sure in the logs or sniffer that you in fact have a coded phy connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;what is the TX power for each set to?&amp;nbsp;&amp;nbsp;The TX power is 0 dBm by default in the existing&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_hr_coded/README.html"&gt;Bluetooth: Peripheral Heart Rate Monitor with Coded PHY&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_hr_coded/README.html"&gt;Bluetooth: Central Heart Rate Monitor with Coded PHY&lt;/a&gt;&amp;nbsp;sample. To change this you have to send a HCI command to the Bluetooth controller as demonstrated by the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/hci_pwr_ctrl/README.html"&gt;Bluetooth: HCI Power Control&lt;/a&gt;&amp;nbsp;sample.&amp;nbsp;&lt;/span&gt;&lt;span&gt;This &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/85992/heartrate-with-coded-phy-example-from-nrf-connect-sdk-with-nrf52833---range-is-disappointing/360145#360145"&gt;post &lt;/a&gt;might help.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you do in fact use Coded PHY but still only see this tiny increase in range, here are a few reasons for this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Your test environment is noisier at &amp;gt;700m.&lt;/li&gt;
&lt;li&gt;The custom board is not able to transmit longer than this for some reason. Not optimal antenna tuning or the application is not transmitting messages on the Coded PHY optimally.&lt;/li&gt;
&lt;li&gt;Weather conditions during testing (rain/snow will decrease range considerably)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 + Long Range + Scanner</title><link>https://devzone.nordicsemi.com/thread/372683?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 01:08:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:275ee62a-8645-4125-aef6-34075b21cb49</guid><dc:creator>embeddedER</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am&amp;nbsp;currently measuring the range in the lab (not with clear line of sight). And it&amp;#39;s around 30 meters where I see packets getting dropped with a default phy. At the same location, I am&amp;nbsp;expecting&amp;nbsp;Coded PHY to perform better. Also, I&amp;#39;ve confirmed&amp;nbsp;adv packets are coded PHY in the scanner side by printing the data from adv packets on terminal and also using the nRF mobile App.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve exact same configuration as mentioned in the sample application. My question here is, how do we configure S=2 or S=8 in adv packets? Is there anything else that needs to be configured for the maximum range?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;TIA!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 + Long Range + Scanner</title><link>https://devzone.nordicsemi.com/thread/372507?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 08:47:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bcbaaa2-cb96-4973-a411-30e8dbb70453</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the distance you get? Can you compare the distance while using&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_hr_coded/README.html"&gt;Central Heart Rate Monitor with Coded PHY&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_hr_coded/README.html"&gt;Peripheral Heart Rate Monitor with Coded PHY&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 + Long Range + Scanner</title><link>https://devzone.nordicsemi.com/thread/372217?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 17:42:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4df75c13-579a-4444-a097-f570cbbeae13</guid><dc:creator>embeddedER</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks! I got it working after checking the configuration in the sample. With&amp;nbsp;changes, I do see primary and secondary PHY of my adv as &amp;quot;LE Coded&amp;quot; now. However, I don&amp;#39;t observe much change in the range compared to default phy.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve kept the advertiser and scanner at a distance where I see drop in few packets with default phy. Then I replaced the default phy with Coded PHY and was expecting better performance (in terms of packets dropped) at the same distance. But I don&amp;#39;t see much difference, even at the same distance, I see packets dropped with both default/coded phy. I am using same txpower for both the case. And experiments are done using nrf52833 on both the sides.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there anything else I need to configure to increase the&amp;nbsp;range&amp;nbsp;of advertisement packets with the Coded PHY?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is what I changed to make my advertisements coded PHY.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	struct bt_le_adv_param param =
		BT_LE_ADV_PARAM_INIT(
				     BT_LE_ADV_OPT_USE_NAME | BT_LE_ADV_OPT_CONNECTABLE | BT_LE_ADV_OPT_ONE_TIME | BT_LE_ADV_OPT_CODED | BT_LE_ADV_OPT_EXT_ADV,
				     BT_GAP_ADV_FAST_INT_MIN_2,
				     BT_GAP_ADV_FAST_INT_MAX_2,
				     NULL);
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;TIA!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 + Long Range + Scanner</title><link>https://devzone.nordicsemi.com/thread/371565?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 07:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3506572-cfad-47fe-a2d8-ba63d75846ed</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you enable&amp;nbsp;&lt;span&gt;CONFIG_BT_CTLR_PHY_CODED=y in the&amp;nbsp;scan sample? I would suggest taking a look at&amp;nbsp;the&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/central_hr_coded/prj.conf"&gt;prj.conf&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a title="main.c" href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/central_hr_coded/src/main.c"&gt;main.c&lt;/a&gt;&amp;nbsp;of the&lt;span&gt;&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/bluetooth/central_hr_coded"&gt;Bluetooth: Central Heart Rate Monitor with Coded PHY&lt;/a&gt;&lt;/span&gt;&amp;nbsp;sample.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52833 + Long Range + Scanner</title><link>https://devzone.nordicsemi.com/thread/371251?ContentTypeID=1</link><pubDate>Tue, 07 Jun 2022 23:27:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39454fca-2f31-42f9-9a43-065fcd81fcfa</guid><dc:creator>embeddedER</dc:creator><description>&lt;p&gt;Just to add some more information,&amp;nbsp;our adv parameters are:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;
&amp;#160; &amp;#160; struct bt_le_adv_param param =
&amp;#160; &amp;#160; &amp;#160; &amp;#160; BT_LE_ADV_PARAM_INIT(
&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;BT_LE_ADV_OPT_USE_NAME | BT_LE_ADV_OPT_CONNECTABLE | BT_LE_ADV_OPT_ONE_TIME | BT_LE_ADV_OPT_CODED | BT_LE_ADV_OPT_EXT_ADV,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;BT_GAP_ADV_FAST_INT_MIN_2,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;BT_GAP_ADV_FAST_INT_MAX_2,
&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;NULL);&lt;/pre&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;So, it&amp;#39;s extended Advertisements. And we can&amp;nbsp;see them on nrfConnect App on S22 with primary and secondary PHY set as &amp;quot;LE Coded&amp;quot;.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Are there any changes that we need to sniff/scan extended adv packets with nrf52833?&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>