<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>direction finding rx example problem</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87454/direction-finding-rx-example-problem</link><description>I try to run zephyr direction finding cnnetionless rx example, but i get some problem. every time into enable receiving of cte , i got assertion fail 
 
 this is my prj.conf</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Sun, 29 May 2022 08:34:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87454/direction-finding-rx-example-problem" /><item><title>RE: direction finding rx example problem</title><link>https://test-devzone.nordicsemi.com/thread/369853?ContentTypeID=1</link><pubDate>Sun, 29 May 2022 08:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47f36e1b-5f5b-400a-8c78-7c217aa35c21</guid><dc:creator>user115719</dc:creator><description>&lt;p&gt;thank you Elfving,&amp;nbsp;Sorry for taking so long to reply to you.&lt;/p&gt;
&lt;p&gt;yes, Maybe I found the problem. I found that even in AOD, the instructions sent are still AOA. On line 326 of the direction.c, I&amp;nbsp;found that the number of antennas sent in the official example is an invalid value.&amp;nbsp;after I modify it, my project work succeed.&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//dest_ant_ids = net_buf_add(*buf, params-&amp;gt;num_ant_ids);
dest_ant_ids = net_buf_add(*buf, switch_pattern_len);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: direction finding rx example problem</title><link>https://test-devzone.nordicsemi.com/thread/366902?ContentTypeID=1</link><pubDate>Mon, 09 May 2022 11:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:421843e9-e8f3-42bf-ad00-4a91e0dbb304</guid><dc:creator>user103347</dc:creator><description>[quote user="hang chen"]&lt;p&gt;If I remove the `CONFIG_BT_CTLR_DF_ANT_SWITCH_RX`, and configure a fake antenna switch, like this&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/div&gt;[/quote][quote user="hang chen"]my projectt will run correctly[/quote]
&lt;p&gt;Okay,&amp;nbsp;and by that you mean that it both builds correctly and does not throw an error during the receiving of a CTE?&amp;nbsp;&lt;/p&gt;
[quote user="hang chen"]&lt;p&gt;I just want to disable AOA, but if i don&amp;#39;t disable `CONFIG_BT_CTLR_DF_ANT_SWITCH_RX`, the project will build failed, just like this&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;a href="#"&gt;&lt;/a&gt;&lt;/div&gt;[/quote]
&lt;p&gt;So in other words the build fails when you have only have set CONFIG_BT_DF_CTE_RX_AOA=n in addition to the default? Does it work for you with only the default enabled though? It is good to make sure that there are nothing wrong with your copy of the standard samples before continuing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: direction finding rx example problem</title><link>https://test-devzone.nordicsemi.com/thread/366682?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 10:48:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:575139c4-a05c-4cf4-a8d8-f08bbe8b63c3</guid><dc:creator>user115719</dc:creator><description>&lt;p&gt;I just copied the `nrf52833dk_nrf52833.conf` and `overlay-aod.conf` to my prj.conf.&lt;/p&gt;
&lt;p&gt;If I remove the `CONFIG_BT_CTLR_DF_ANT_SWITCH_RX`, and configure a fake antenna switch, like this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;const static uint8_t ant_patterns[] = { 0x00, 0x00};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;my projectt will run correctly&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: direction finding rx example problem</title><link>https://test-devzone.nordicsemi.com/thread/366250?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 12:59:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c8a0069-7721-4c70-979f-56f28f2484e5</guid><dc:creator>user103347</dc:creator><description>&lt;p&gt;I see.&lt;/p&gt;
[quote user="hang chen"]ut if i don&amp;#39;t disable `CONFIG_BT_CTLR_DF_ANT_SWITCH_RX`, the project will build failed, just like this[/quote]
&lt;p&gt;That configuration is in the right place, and I believe that is the only configuration you would need, though I am not so sure about the other ones.&amp;nbsp;Are you getting errors when you only use this configuration to disable AOA?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you seeing this problem in the basic examples as well? Is your project modified a lot compared to the&amp;nbsp;default project?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: direction finding rx example problem</title><link>https://test-devzone.nordicsemi.com/thread/365877?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 06:46:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a8ae58b-1f5d-43fc-989e-5113f26ab244</guid><dc:creator>user115719</dc:creator><description>&lt;p&gt;thank you Elfving&lt;/p&gt;
&lt;p&gt;I just want to disable AOA, but if i don&amp;#39;t disable `CONFIG_BT_CTLR_DF_ANT_SWITCH_RX`, the project will build failed, just like this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\Users\Thomas\ncs\v1.9.1\zephyr\subsys\bluetooth\controller\ll_sw\nordic\hal\nrf5\radio\radio_df.c:81:1: error: static assertion failed: &amp;quot;Missing antenna pattern used to select antenna for PDU Tx during the DFE Idle state. Set the dfe-pdu-antenna devicetree property.&amp;quot;
   81 | BUILD_ASSERT(HAS_PDU_ANTENNA,
      | ^~~~~~~~~~~~
C:\Users\Thomas\ncs\v1.9.1\zephyr\subsys\bluetooth\controller\ll_sw\nordic\hal\nrf5\radio\radio_df.c:116:1: error: static assertion failed: &amp;quot;You must set the dfe-antenna-num property in the radio node to enable antenna switching.&amp;quot;
  116 | BUILD_ASSERT(HAS_ANTENNA_NUM,&lt;/pre&gt;I think AOD doesn&amp;#39;t need set antenna pattern, so I disable `&lt;span&gt;CONFIG_BT_CTLR_DF_ANT_SWITCH_RX`, is problem here?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: direction finding rx example problem</title><link>https://test-devzone.nordicsemi.com/thread/365712?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 09:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef56a3d4-b467-4fd0-a423-1335b6cc5889</guid><dc:creator>user103347</dc:creator><description>&lt;p&gt;Hello Hang,&lt;/p&gt;
&lt;p&gt;I have a tried recreating your exact issue, but I haven&amp;#39;t been able to. However, I do also run into issues&amp;nbsp;using your configurations.&lt;/p&gt;
&lt;p&gt;It seems like you are trying to disable both AoA and AoD? Are you able to run the standard examples, with default configurations?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>