<?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>Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73531/testing-direction-finding-beacon-in-nrf-connect-sdk-v1-5-0</link><description>Hi, teams. 
 
 I am testing nRFConnect 1.5.0 with nRF52833DK. 
 Recently, I noticed &amp;quot;Direction finding connectionless beacon&amp;quot; example in latest repository, and copied it to my 1.5.0 tree. 
 With slight modification, I managed to build the sample, but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Apr 2021 08:25:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73531/testing-direction-finding-beacon-in-nrf-connect-sdk-v1-5-0" /><item><title>RE: Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/thread/304197?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 08:25:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e314f457-03a6-4ce3-82f4-3eee7ae54ca6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The Getting Started assistant should be a sufficient guide for installing master branch of the nRFConnect SDK as well, as long as you remember using &amp;quot;git checkout master &amp;amp; west update&amp;quot;. We don&amp;#39;t have a specific guide to install the master branch.&lt;/p&gt;
&lt;p&gt;I see that your current west version is v0.9.0, which indeed is outdated as the master branch requires v0.10.1. As the toolchain manager is only updated for NCS v1.5.0 as of yet, the West version it installs will be v0.9.0.&lt;/p&gt;
&lt;p&gt;Updating your west version here should be sufficient.&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: Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/thread/304142?ContentTypeID=1</link><pubDate>Sun, 11 Apr 2021 12:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcda3a95-5ab0-44e2-b146-35ebb4fa150d</guid><dc:creator>choehyunho</dc:creator><description>&lt;p&gt;I managed to build successfully after copying &amp;#39;toolchain&amp;#39; directory from v1.5.0 to latest, and upgrade some python packages.&lt;/p&gt;
&lt;p&gt;But still not sure whether this is the correct installation.&lt;/p&gt;
&lt;p&gt;Please let me know if there is some specific guide about installing master branch.&lt;/p&gt;
&lt;p&gt;When I followed the official documentation, I got the above errors during my first sample build.&lt;/p&gt;
&lt;p&gt;Maybe caused by parallel installation both &amp;#39;nRFConnect Toolchain manager&amp;#39; way and manual way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/thread/304013?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 12:42:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e701015-8426-43a3-af95-15dd4ce5cf03</guid><dc:creator>choehyunho</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;I understood, but have trouble to install/test master branch properly.&lt;/p&gt;
&lt;p&gt;Somewhat off the topic here, but I&amp;#39;ll continue here.&lt;/p&gt;
&lt;p&gt;Previously, I already installed NCS 1.5.0 with nRFConnect for Desktop -&amp;gt; Toolchain Manager.&lt;/p&gt;
&lt;p&gt;Now, I followed the install guideline in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html"&gt;Installing the nRF Connect SDK manually&lt;/a&gt;, and master branch seems to be properly installed.&lt;/p&gt;
&lt;p&gt;But, I tried my project build in command line, build failed because west version is too low, which referenced the one in v1.5.0 tree.&lt;/p&gt;
&lt;p&gt;The error messages as follows:&lt;/p&gt;
&lt;p&gt;How should I install master branch in parallel with released ones?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\Users\firebird\source\repos\ncs\latest\projects\beacon&amp;gt;west build -b nrf52833dk_nrf52833
-- west build: generating a build system
Including boilerplate (Zephyr base (cached)): C:/Users/firebird/source/repos/ncs/latest/zephyr/cmake/app/boilerplate.cmake
-- Application: C:/Users/firebird/source/repos/ncs/latest/projects/beacon
-- Using NCS Toolchain 1.5.0 for building. (C:/Users/firebird/source/repos/ncs/v1.5.0/toolchain/cmake)
-- Zephyr version: 2.5.99 (C:/Users/firebird/source/repos/ncs/latest/zephyr)
-- Found west (found suitable version &amp;quot;0.9.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
WARNING: west v0.10 or later is required by the manifest
  West version: v0.9.0
  Manifest file: C:\Users\firebird\source\repos\ncs\latest\nrf\west.yml
  This should work, but most commands won&amp;#39;t.
  To silence this warning, upgrade west.
CMake Error at C:/Users/firebird/source/repos/ncs/latest/zephyr/cmake/zephyr_module.cmake:61 (message):
  Traceback (most recent call last):

    File &amp;quot;C:\Users\firebird\source\repos\ncs\v1.5.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py&amp;quot;, line 1226, in __init__
      validate(source_data)
    File &amp;quot;C:\Users\firebird\source\repos\ncs\v1.5.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py&amp;quot;, line 420, in validate
      raise ManifestVersionError(min_version_str)

  west.manifest.ManifestVersionError: (&amp;#39;0.10&amp;#39;, None)



  The above exception was the direct cause of the following exception:



  Traceback (most recent call last):

    File &amp;quot;C:/Users/firebird/source/repos/ncs/latest/zephyr/scripts/zephyr_module.py&amp;quot;, line 378, in &amp;lt;module&amp;gt;
      main()
    File &amp;quot;C:/Users/firebird/source/repos/ncs/latest/zephyr/scripts/zephyr_module.py&amp;quot;, line 283, in main
      manifest = Manifest.from_file()
    File &amp;quot;C:\Users\firebird\source\repos\ncs\v1.5.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py&amp;quot;, line 1084, in from_file
      return Manifest(**kwargs)
    File &amp;quot;C:\Users\firebird\source\repos\ncs\v1.5.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py&amp;quot;, line 1228, in __init__
      raise ManifestVersionError(mv.version, file=source_file) from mv

  west.manifest.ManifestVersionError: (&amp;#39;0.10&amp;#39;,
  WindowsPath(&amp;#39;C:/Users/firebird/source/repos/ncs/latest/nrf/west.yml&amp;#39;))

Call Stack (most recent call first):
  C:/Users/firebird/source/repos/ncs/latest/zephyr/cmake/app/boilerplate.cmake:183 (include)
  C:/Users/firebird/source/repos/ncs/latest/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  C:/Users/firebird/source/repos/ncs/latest/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
  CMakeLists.txt:22 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: &amp;#39;C:\Program Files\CMake\bin\cmake.EXE&amp;#39; &amp;#39;-DWEST_PYTHON=c:\users\firebird\appdata\local\programs\python\python37\python.exe&amp;#39; &amp;#39;-BC:\Users\firebird\source\repos\ncs\latest\projects\beacon\build&amp;#39; &amp;#39;-SC:\Users\firebird\source\repos\ncs\latest\projects\beacon&amp;#39; -GNinja -DBOARD=nrf52833dk_nrf52833&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/thread/303930?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 09:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cc36b62-9a4d-4eef-9ac0-9e7538381e88</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Sorry, I misunderstood your issue in the initial ticket. I spoke to one of the devs about this, and you won&amp;#39;t be able to backport this example to NCS v1.5.0, as this example is only supported in the master branch or the next tag release.&lt;/p&gt;
&lt;div&gt;BT_FEAT_LE_CONNECTIONLESS_CTE_TX is enabled by the Zephyr Controller Subsystem in the master branch.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Best regards,&lt;/div&gt;
&lt;div&gt;Simon&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/thread/303896?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 06:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8286a9c-c003-4b58-8e76-00a89bc0a0a2</guid><dc:creator>choehyunho</dc:creator><description>&lt;p&gt;First, I already mentioned that I &amp;quot;backported&amp;quot; the sample from latest (not released) repository to SDK 1.5.0.&lt;/p&gt;
&lt;p&gt;Please notice.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;During backporting, I changed &amp;quot;dfe-antenna-num&amp;quot; to &amp;quot;dfe-ant-num&amp;quot;, and removed dfe-pdu-antenna property in devicetree.&lt;/p&gt;
&lt;p&gt;And applied AOA configuration by default, for testing.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And about BT_FEAT_LE_CONNECTIONLESS_CTE_TX(), I know it is defined in hci.h&lt;/p&gt;
&lt;p&gt;But, it is evaluated in directions.c as below.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;int bt_df_set_adv_cte_tx_param(struct bt_le_ext_adv *adv,
				const struct bt_df_adv_cte_tx_param *params)
{
	__ASSERT_NO_MSG(adv);
	__ASSERT_NO_MSG(params);

	int err;

	if (!BT_FEAT_LE_CONNECTIONLESS_CTE_TX(bt_dev.le.features)) {
		return -ENOTSUP;
	}
...&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I want to know how to enable this feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/thread/303891?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 05:49:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:968c9018-b97e-4f51-8a73-9a1909d00f95</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you provide some information on what these &amp;quot;slight modifications&amp;quot; are that you did to the sample? Do you get the EINVAL error if you try building and programming the unmodified project?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BT_FEAT_LE_CONNECTIONLESS_CTE_TX()&lt;/strong&gt; is&amp;nbsp;defined in the hci.h header file, have you included this in your project?&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: Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/thread/303584?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 16:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25255ccd-c79a-497d-92c7-5e79fdf24962</guid><dc:creator>choehyunho</dc:creator><description>&lt;p&gt;In direction.c, BT_FEAT_LE_CONNECTIONLESS_CTE_TX() is not enabled, and it causes ENOTSUP error.&lt;/p&gt;
&lt;p&gt;How can I enable this feature myself? Or, is this configured in SoftDevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/thread/303394?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 08:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37ab5792-dfbd-4bb1-bf13-2d62becf06cc</guid><dc:creator>choehyunho</dc:creator><description>&lt;p&gt;It returns error 22: EINVAL...:(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/thread/303336?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 05:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7375b06-3d05-4149-94b8-31ddb4cefc66</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Have you enabled the transmission of CTE using the &lt;a href="https://docs.zephyrproject.org/apidoc/latest/direction_8h_ab03ec552192056eb8ddb9aae49029265.html"&gt;bt_df_adv_cte_tx_enable&lt;/a&gt;()?&amp;nbsp;It should be sufficient to follow t&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/direction_finding_connectionless_tx/README.html"&gt;he guide to build and run the sample from our documentation&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: Testing direction finding beacon in nRF Connect SDK v1.5.0</title><link>https://devzone.nordicsemi.com/thread/303225?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 14:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:193d6375-453c-43fd-9e79-d53f5a7dadda</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;We&amp;#39;re currently working through our backlog after the Easter vacation here in Norway, I will get back to you tomorrow. Thank you for your patience.&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>