<?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>can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104606/can-not-connect-ble-when-enable-directionfinding</link><description>My system 
 nRF5340 + NCS2.4.2 
 I tried to connect GATT in an environment with enable DirectionFinding, but it failed. 
 Upload test project below 
 test step: west build -b nrf5340dk_nrf5340_cpuapp west flash --recover board start BTN1 push (ADV_CONN</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Oct 2023 14:28:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104606/can-not-connect-ble-when-enable-directionfinding" /><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/452637?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 14:28:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6299fdf-2c1e-468e-a023-93e0341f3c23</guid><dc:creator>loquat</dc:creator><description>&lt;p&gt;OK.Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/452626?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 13:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f9df2f9-c6d2-4d07-bd71-f66a3db8d546</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is not a bug, so I do not think there will be changes to this. &lt;br /&gt;CONFIG_BT_CTLR_DF_CONN_CTE_RX enables connected mode for CTE receiver, so this must be enabled for connected mode to work when you have CTE receiver enabled.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1698327458022v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/452315?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 14:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:754539fb-b127-438e-8bc7-02917d0bf0f1</guid><dc:creator>loquat</dc:creator><description>&lt;p&gt;OK.&lt;/p&gt;
&lt;p&gt;I tested it and it worked fine.&lt;br /&gt;Will it be fixed in the future to allow connection even when CONFIG_BT_CTLR_DF_CONN_CTE_RX=n?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/452198?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 09:26:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9014c3a-7afa-4d0b-8da7-8184261354de</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are correct. It seems like I made some other changes to the sample as well when testing, causing me to get an incorrect result.&lt;/p&gt;
&lt;p&gt;The reason connection does not work is because you also need to set CONFIG_BT_CTLR_DF_CONN_CTE_RX=y to enable connection based CTE receiver. Enabling this in the Peripheral power profiling sample causes an error due to RAM size, but you can test it in a smaller sample, such as the Peripheral LBS sample.&lt;/p&gt;
&lt;p&gt;However, if you want to use direction finding in the Peripheral power profiling sample I recommend looking at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/nrf/samples/bluetooth/direction_finding_peripheral/README.html"&gt;Direction finding peripheral&lt;/a&gt; sample instead of the central sample.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/452117?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 02:39:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3baa7a83-aa43-4632-97da-33d1ad26ad6f</guid><dc:creator>loquat</dc:creator><description>&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;wrong.The result is the opposite.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;When CONFIG_BT_CTLR_DF_CTE_RX=y, the connection will fail.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;When CONFIG_BT_CTLR_DF_CTE_RX=n, the connection will be successful.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/451903?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 08:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3711567-5def-4547-8aea-742668df0130</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is because CONFIG_BT_CTLR_DF_CTE_RX=y enables &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_BT_CTLR_DF_PHYEND_OFFSET_COMPENSATION_ENABLE"&gt;CONFIG_BT_CTLR_DF_PHYEND_OFFSET_COMPENSATION_ENABLE&lt;/a&gt;, which enables a workaround to make sure that inter frame spacing is maintained for connection events. Without this, the system_off_work work item will cause the connection to fail. If you remove system_off_work in the sample, then connection works even with CONFIG_BT_CTLR_DF_CTE_RX=n.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/451576?ContentTypeID=1</link><pubDate>Sat, 21 Oct 2023 04:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:197f59c6-9e84-408d-8a6b-33f76ddb46e0</guid><dc:creator>loquat</dc:creator><description>&lt;p&gt;no. That&amp;#39;s not the issue.&lt;br /&gt;Add the following to your project&amp;#39;s child_image/hci_rpmsg.conf.&lt;br /&gt;GATT connection will not possible.&lt;br /&gt;Just change to &amp;quot;CONFIG_BT_CTLR_DF_CTE_RX=n&amp;quot;, GATT connection is possible.&lt;br /&gt;What&amp;#39;s the problem?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_LL_SW_SPLIT=y
CONFIG_BT_CTLR_DF=y
CONFIG_BT_CTLR_DF_CTE_TX=n
CONFIG_BT_CTLR_DF_CONN_CTE_TX=n
CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n
CONFIG_BT_CTLR_DF_CONN_CTE_RSP=n
CONFIG_BT_CTLR_DF_CTE_RX=y
CONFIG_BT_CTLR_DF_CONN_CTE_RX=n
CONFIG_BT_CTLR_DF_ANT_SWITCH_RX=n
CONFIG_BT_CTLR_DF_CONN_CTE_REQ=n&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/450588?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 13:17:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea6e9c0f-e4ab-4bcc-b36a-a3b8ce103aae</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are missing some Kconfig and devicetree configurations for direction finding. Can you try the project I have attached? I started with the peripheral power profiling sample and added the configurations from the direction finding peripheral sample. I have not added any code or functionality for direction finding, but with this I am able to connect to the device while pressing button 1.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_power_5F00_profiling_5F00_direction_5F00_finding.zip"&gt;devzone.nordicsemi.com/.../peripheral_5F00_power_5F00_profiling_5F00_direction_5F00_finding.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/450334?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 14:16:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d5a41c2-cb07-425a-bd98-652ba4084e0d</guid><dc:creator>loquat</dc:creator><description>&lt;p&gt;no&lt;br /&gt;As the file name suggests, it is based on peripheral_power_profiling.&lt;br /&gt;Just setting the config value for DirectionFinding causes the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/450253?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 09:52:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:121a2f92-ea6b-43ad-9901-5ceb5b632b53</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is the direction finding part of your project based on our samples that use connection, or the connectionless samples?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can not connect BLE when enable DirectionFinding</title><link>https://devzone.nordicsemi.com/thread/450093?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 13:57:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:318e270a-a626-44c5-acc3-441d5eb38e16</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have started looking into your case and will get back to you tomorrow.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>