<?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>Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62619/coded-phy-advertising-on-nrf-connect-sdk</link><description>Hey All, 
 I ran into an issue on the nRF Connect SDK trying to get a nRF52840 advertising using CODED PHY. I figure it&amp;#39;s not fully implemented yet are there any updates on timeline for that? I also posted a bug in the Zephyr repo. 
 Describe the bug</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Oct 2020 07:22:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62619/coded-phy-advertising-on-nrf-connect-sdk" /><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/276079?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 07:22:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b1cbf5a-eb84-461b-a968-56e9f0448482</guid><dc:creator>Blue King </dc:creator><description>&lt;p&gt;the problem is, Zehpyr can&amp;#39;t see the NRFxlib&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I followed this tutorial to install NRFx with zephyr with no luck&lt;/p&gt;
&lt;p&gt;&lt;a href="https://jimmywongiot.com/2019/12/18/step-by-step-on-nordic-connect-sdk-for-development/" rel="noopener noreferrer" target="_blank"&gt;https://jimmywongiot.com/2019/12/18/step-by-step-on-nordic-connect-sdk-for-development/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;tried also to copy the nrfxlib and import the kconfig file into my zephyr enviroment.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrfxlib&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;actually, I find nowhere in any file on nrfx library this text &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;&amp;quot;LL_NRFXLIB&amp;quot;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;tried also to include CONFIG_SOFTDEVICE_CONTROLLER_S140 with no luck.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;/span&gt;so, What do i miss?&lt;/p&gt;
&lt;p&gt;I always get&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;prj.conf:9: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol BT_LL_NRFXLIB_DEFAULT&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;same for &lt;span&gt;CONFIG_BT_LL_NRFXLIB_VS_INCLUDE&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;this is my prj.conf&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_BT=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_BT_BROADCASTER=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_BT_OBSERVER=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_BOARD_NRF52840DONGLE_NRF52840=y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;# Link Layer&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;#NRF&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;#CONFIG_SOFTDEVICE_CONTROLLER_S140=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_BT_LL_NRFXLIB_DEFAULT=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;#NRF&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_BT_EXT_ADV=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_BT_CTLR_PHY_CODED=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_GPIO=y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_USB=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_USB_DEVICE_STACK=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_USB_DEVICE_PRODUCT=&amp;quot;Qoudra BLE&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_USB_UART_CONSOLE=y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_UART_INTERRUPT_DRIVEN=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_UART_LINE_CTRL=y&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#999999;font-family:courier new,courier;"&gt;CONFIG_UART_CONSOLE_ON_DEV_NAME=&amp;quot;CDC_ACM_0&amp;quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/263912?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 23:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc011208-56c0-4408-996a-0e9813857401</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;After a long while, I took another look at this. I got some nRF52840-PDK boards working with updated nRF5284s. I was then able to get a nRF9160+nRF52840 and a separate nRF52840 working over PHY CODED.&lt;/p&gt;
&lt;p&gt;For some reason the&amp;nbsp;&lt;strong&gt;connect_if_match&lt;/strong&gt; parameter for scanning does not work for PHY CODED.&amp;nbsp;I implemented my own connect in the filter match callback. Seems to be connecting well!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/256246?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 14:43:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3badda86-86af-4e85-a92f-fdec01a71e8c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Got it. Thank you &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f60e.svg" title="Sunglasses"&gt;&amp;#x1f60e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/256105?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 07:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da96cb89-96c6-47dd-9734-2daeabbfa135</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Jared,&lt;br /&gt;The guys replying to you in the Zephyr forum are the guys I would have contacted internally too.&amp;nbsp; cuficarles and vinayak are the experts in this. Lets hope they have time reply in the zephyr forum.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/256020?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2020 03:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3501666b-ea4d-4eca-a0ad-e1df946476ca</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;I was instructed to try doing everything manually with the&amp;nbsp;&lt;em&gt;tests/bluetooth/shell&amp;nbsp;&lt;/em&gt;example. My attempt looked like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;bt init
bt adv-create conn-scan ext-adv coded
bt adv-select 0
bt adv-start
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I had to use the &lt;em&gt;adv-&lt;/em&gt; commands as they&amp;#39;re specific for the new extended API. Unfortunately seems some type of kernel issue with the scheduler. Exactly sure what&amp;#39;s going on there.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Advertiser[0] 0x20003944 set started
uart:~$ ASSERTION FAIL [!arch_is_in_isr()] @ ../../../../kernel/include/ksched.h:267
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I only added a few Lins to the&amp;nbsp;&lt;strong&gt;prj.conf:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_BT_LL_NRFXLIB_VS_INCLUDE=y&lt;br /&gt;&lt;/span&gt;CONFIG_BT_LL_NRFXLIB_DEFAULT=y&lt;br /&gt;CONFIG_BT_MAX_CONN=2&lt;/p&gt;
&lt;p&gt;Building with this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;west build -b nrf52840dk_nrf52840&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/256010?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 20:16:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2937f54-9ab7-45a4-8d24-a58fb2048811</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/aryan"&gt;Susheel Nuguru&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t have much luck moving forward.&lt;/p&gt;
&lt;p&gt;Some Nordic engineers on the Zephyr repo are convinced I should be able to use it with the Nordic LL. Any way to get more information?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/255531?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 12:34:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:067e300b-15da-4b18-a03a-898527446ecb</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/aryan"&gt;Susheel Nuguru&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It appears that connectable advertising for CODED PHY is not implemented on Zephyr. I don&amp;#39;t think there are any work arounds until this is implemented unfortunately. More updates in the&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/26200"&gt;Github issue.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/255395?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 06:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e494f37-1541-41dd-b0bd-9a7bede9cc14</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I have not played with CODED PHY in Zephyr, but you seems to have a good progress on this. Jared, please keep us updated with this so that fellow developers gain from your experience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/255377?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 03:55:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:649a6808-9d2e-42c4-ad4e-eceb12b74781</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; &lt;span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Adding these guys&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;#&lt;/span&gt; Link Layer&lt;br /&gt;CONFIG_BT_LL_NRFXLIB_VS_INCLUDE=y&lt;br /&gt;CONFIG_BT_LL_NRFXLIB_DEFAULT=y&lt;br /&gt;&lt;/code&gt;&lt;span&gt;CONFIG_BT_EXT_ADV&lt;/span&gt;&lt;span&gt;=y&lt;br /&gt;&lt;/span&gt;&lt;span&gt;CONFIG_BT_CTLR_PHY_CODED&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;Seemed to have done the trick.&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Now, I&amp;#39;ve set my device connectable using this block:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;pre&gt;&lt;code&gt;&lt;span&gt;struct bt_le_ext_adv *adv;&lt;br /&gt;struct bt_le_adv_param *adv_param =&lt;br /&gt;BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONNECTABLE | BT_LE_ADV_OPT_ONE_TIME | BT_LE_ADV_OPT_CODED | BT_LE_ADV_OPT_EXT_ADV,&lt;br /&gt;BT_GAP_ADV_FAST_INT_MIN_2,&lt;br /&gt;BT_GAP_ADV_FAST_INT_MAX_2,&lt;br /&gt;NULL);&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;But on the central device it always shows up as&amp;nbsp;&lt;strong&gt;not&lt;/strong&gt; connectable. I&amp;#39;m getting that info from the scan_filter_match callback.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code class="language-makefile"&gt;static void scan_filter_match(struct bt_scan_device_info *device_info,
struct bt_scan_filter_match *filter_match,
bool connectable)
{
// int err;

LOG_INF(&amp;quot;Filters matched. Connectable: %s&amp;quot;,
connectable ? &amp;quot;yes&amp;quot; : &amp;quot;no&amp;quot;);
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;If I try to auto-connect, the &lt;/span&gt;bt_conn_cb callback returns with an error of 2 which means a timeout. I&amp;#39;ll fiddle with it more tomorrow..&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/255368?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 00:52:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3379338-dfe0-45fd-ab10-9635f361e0c3</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;This is also nice news!&amp;nbsp;&lt;a href="https://www.zephyrproject.org/zephyr-2-3-0-released/"&gt;www.zephyrproject.org/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Coded PHY Advertising on nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/255352?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 18:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5780317d-2d9f-4070-94b6-f90ccb41f29d</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;The Zephyr link layer does not support extended advertising. Whereas the Nordic one does. Enabling these two in my prj.conf seems to fix the errors. I&amp;#39;ve yet been able to scan/connect though..&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;code&gt;&lt;/code&gt;&lt;/code&gt;
&lt;div&gt;&lt;span&gt;# Link Layer&lt;/span&gt;&lt;/div&gt;
&lt;code&gt;&lt;code&gt;&lt;/code&gt;&lt;/code&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_LL_NRFXLIB_VS_INCLUDE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;code&gt;&lt;code&gt;&lt;/code&gt;&lt;/code&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_LL_NRFXLIB_DEFAULT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;code&gt;
&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>