<?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>Enable Coded PHY (Long Range) for Peripheral Blinky code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36364/enable-coded-phy-long-range-for-peripheral-blinky-code</link><description>Hi, 
 Right now i am using Blinky example in Peripheral section of SDK15 (S140). I would like to enable Coded PHY (BLE_GAP_PHY_CODED) instead of default setting (BLE_GAP_PHY_1MBPS). My aim is to test long range using Coded PHY as compare to BLE_GAP_PHY_1MBPS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Jul 2018 17:59:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36364/enable-coded-phy-long-range-for-peripheral-blinky-code" /><item><title>RE: Enable Coded PHY (Long Range) for Peripheral Blinky code</title><link>https://devzone.nordicsemi.com/thread/140280?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 17:59:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7d79470-9fa1-4e30-9cff-1233bd2d9716</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Yes you need another PCA10056 or a different IC that support BLE with Coded phy. Please refer to these blog posts for more info about BLE 5 and coded phy:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="https://blog.nordicsemi.com/getconnected/bluetooth-5-in-smartphones"&gt;Bluetooth 5 in Smartphones&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.novelbits.io/bluetooth-5-advertisements/"&gt;https://www.novelbits.io/bluetooth-5-advertisements/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blog.bluetooth.com/exploring-bluetooth-5-going-the-distance"&gt;http://blog.bluetooth.com/exploring-bluetooth-5-going-the-distance&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To boost the range you should max out the TX power. The nRF52840 IC on the pCA10056 supports up to +8 dBm output power while the nRF52832 on the PCA10036 only supports 4 dBm. If you are using a softdevice you can use the function&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#gad10e80ba20ddab42d1753fd1be2d8c26"&gt;sd_ble_gap_tx_power_set&lt;/a&gt;() to set the output power.&lt;/p&gt;
&lt;p&gt;Here is an informative blog post on range:&amp;nbsp;&lt;a href="https://blog.nordicsemi.com/getconnected/tested-by-nordic-bluetooth-long-range"&gt;Tested by Nordic: Bluetooth Long Range&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable Coded PHY (Long Range) for Peripheral Blinky code</title><link>https://devzone.nordicsemi.com/thread/140186?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 10:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6a5c1e3-0dac-44dd-942b-55cddafd7105</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;So if i want to test Coded PHY long range, it can only be done using other PCA10056 board??&amp;nbsp;Is there any&amp;nbsp;other medium??&lt;/p&gt;
&lt;p&gt;One more question, If i need to perform range test of nRF52832 vs nRF52840 what configuration i should set?&lt;/p&gt;
&lt;p&gt;I tried Blinky code form SDK11 for PCA10036 and SDK15 for PCA10056 with same configurations. I found both of them had same range. What configuration i can change for PCA10056 to get long range. ADV interval and Tx Power should be same for both boards. Any changes other then that ?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jayesh&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable Coded PHY (Long Range) for Peripheral Blinky code</title><link>https://devzone.nordicsemi.com/thread/140185?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 10:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a321ea53-b129-4892-b7d4-20a97445aa41</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your phone probably doesn&amp;#39;t support coded phy so you can&amp;#39;t expect to see any coded phy devices showing up in your app. I&amp;#39;m not aware of any phones that support it yet, and only a few phones currently support 2Mbps.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable Coded PHY (Long Range) for Peripheral Blinky code</title><link>https://devzone.nordicsemi.com/thread/140160?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 07:11:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afe2b58e-06c2-4dc3-ab47-0da17c6c06da</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;Hello Martin,&lt;/p&gt;
&lt;p&gt;Thanks for your quick reply, above thing worked now my code is running successfully. There are no error and i can see UART message of &amp;quot;Blinky example started&amp;quot;&lt;/p&gt;
&lt;p&gt;But strange thing is i can&amp;#39;t see my device advertisement in BLE scanner app when PHY coded is enabled. Is there any other thing i need to take care off??&lt;/p&gt;
&lt;p&gt;Does it has dependency over Phone ??&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jayesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable Coded PHY (Long Range) for Peripheral Blinky code</title><link>https://devzone.nordicsemi.com/thread/140088?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2018 15:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:709a321e-c898-4426-aa6b-e54e71ee6a8d</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I&amp;#39;m betting your bug is here:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;
.filter_policy = BLE_GAP_ADV_FP_ANY,
.interval      = APP_ADV_DURATION, // &amp;lt;- BUG? INTERVAL NOT DURATION
.duration      = 0,&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You have effectively set the advertising interval to 0, which is not allowed&amp;nbsp;and hence the function returns error 7 (&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.0.0/group__nrf__error.html#ga0a5831cf5092e0dd43a01869676ee076"&gt;NRF_ERROR_INVALID_PARAM&lt;/a&gt;).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable Coded PHY (Long Range) for Peripheral Blinky code</title><link>https://devzone.nordicsemi.com/thread/140070?ContentTypeID=1</link><pubDate>Fri, 13 Jul 2018 13:22:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbc31dfa-5052-4c76-b40a-2b27826ad609</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;Enabling DEBUG i can see exact error details. It shows ERROR 7 for &amp;quot;sd_ble_gap_adv_set_configure&amp;quot; function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>