<?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 isn&amp;#39;t connecting on connect_if_match=1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96071/coded-phy-advertising-isn-t-connecting-on-connect_if_match-1</link><description>i&amp;#39;m trying to change nrf/samples/bluetooth/throghput to coded PHY advertising. 
 I changed the scan options to BT_LE_SCAN_OPT_FILTER_DUPLICATE | BT_LE_SCAN_OPT_CODED | BT_LE_SCAN_OPT_NO_1M . 
 I changed the adv_start function to: 
 
 and added CONFIG_BT_EXT_ADV</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Jan 2023 19:48:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96071/coded-phy-advertising-isn-t-connecting-on-connect_if_match-1" /><item><title>RE: coded PHY advertising isn't connecting on connect_if_match=1</title><link>https://devzone.nordicsemi.com/thread/406742?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2023 19:48:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d81e902-4e10-4ecf-81a5-0bf0dfa627f6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The .connect_if_match=1 option does not work when using coded PHY as the scanning module will try to initiate the connection with the 1M PHY. Instead you will need to initiate the connection from the application like how it is done in the central_hr_coded sample here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/b8c1ea4b2ecd1cf397b45d63315880276733295a/samples/bluetooth/central_hr_coded/src/main.c#L131"&gt;https://github.com/nrfconnect/sdk-nrf/blob/b8c1ea4b2ecd1cf397b45d63315880276733295a/samples/bluetooth/central_hr_coded/src/main.c#L131&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>