<?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>[BUG] Fail to connect on coded PHY if CONFIG_BT_CTLR_PRIVACY=n</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89948/bug-fail-to-connect-on-coded-phy-if-config_bt_ctlr_privacy-n</link><description>If the privacy feature is disabled, calling bt_conn_le_create will change the state to BT_CONN_CONNECTING_SCAN (since bt_dev.le.rl_size == 0) and then call bt_le_scan_update. However, the fact that we are trying to connect on the coded PHY is never relayed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jul 2022 12:29:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89948/bug-fail-to-connect-on-coded-phy-if-config_bt_ctlr_privacy-n" /><item><title>RE: [BUG] Fail to connect on coded PHY if CONFIG_BT_CTLR_PRIVACY=n</title><link>https://devzone.nordicsemi.com/thread/377858?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 12:29:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0be16442-83bf-4478-9af2-4274422e45dd</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello Nick,&lt;/p&gt;
&lt;p&gt;I have reported it internally. Can you provide me more information on why CONFIG_BT_CTLR_PRIVACY is disabled?&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [BUG] Fail to connect on coded PHY if CONFIG_BT_CTLR_PRIVACY=n</title><link>https://devzone.nordicsemi.com/thread/377694?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 15:11:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0a3c374-2a69-4d59-b1ae-862aee667bfb</guid><dc:creator>spredn2</dc:creator><description>&lt;p&gt;Hi Abhijith,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using v2.0.0.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [BUG] Fail to connect on coded PHY if CONFIG_BT_CTLR_PRIVACY=n</title><link>https://devzone.nordicsemi.com/thread/377597?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 11:34:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff47de3-62f3-4fd2-9658-af7e3c125302</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello Nick,&lt;/p&gt;
&lt;p&gt;Thank you for letting me know about this. It seems you have a point.&lt;/p&gt;
&lt;p&gt;Please share the SDK version you are using So that I can report it internally.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [BUG] Fail to connect on coded PHY if CONFIG_BT_CTLR_PRIVACY=n</title><link>https://devzone.nordicsemi.com/thread/377238?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 15:56:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82a9de22-f432-44f7-aee0-4adbb5c5696e</guid><dc:creator>spredn2</dc:creator><description>&lt;p&gt;Hi Abhijith,&lt;/p&gt;
&lt;p&gt;The original call that the application makes is to &lt;strong&gt;bt_conn_le_create&lt;/strong&gt;. If we are trying to connect to a device that is only advertising on the coded PHY, we would set our create parameters to only scan on the coded PHY as seen below:&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/pastedimage1657899700294v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;bt_conn_le_create&lt;/strong&gt;, if CONFIG_BT_SMP is enabled but CONFIG_BT_CTLR_PRIVACY isn&amp;#39;t (bt_dev.le.rl_size == 0), the state will be set to BT_CONN_CONNECTING_SCAN and &lt;strong&gt;bt_le_scan_update&lt;/strong&gt; will be called.&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/pastedimage1657899949085v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Since the state was changed to BT_CONN_CONNECTING_SCAN, &lt;strong&gt;start_passive_scan&lt;/strong&gt; will get called. The problem with this is that we&amp;#39;ll never get an advertisement from the device we are trying to connect to since &lt;strong&gt;start_passive_scan&lt;/strong&gt; only scans on the 1M PHY, and therefore we will timeout while waiting for an advertisement from the device that is only advertising on the coded PHY.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [BUG] Fail to connect on coded PHY if CONFIG_BT_CTLR_PRIVACY=n</title><link>https://devzone.nordicsemi.com/thread/377212?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 13:12:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf37b17e-a4c3-493c-89a5-452ce3465ae1</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello Nick,&lt;/p&gt;
&lt;p&gt;Sorry for the long response time we are less in numbers due to summer vacation.&lt;/p&gt;
&lt;p&gt;Can you give me more idea why this&lt;em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;passive_scanning&lt;/em&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;should start coded PHY scanning because if its a bug I need to ask it internally. I&amp;nbsp;wanted to know whether you got mixed up with extended advertising and coded PHY because the screenshot doesn&amp;#39;t say anything on coded PHY.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>