<?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>How to configure primary advertising use PHY 1M and secondary advertising use CODED PHY when broadcast on the CODED PHY on NCS?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93939/how-to-configure-primary-advertising-use-phy-1m-and-secondary-advertising-use-coded-phy-when-broadcast-on-the-coded-phy-on-ncs</link><description>Hi, 
 I can&amp;#39;t implement advertising on CODED PHY with primary advertising use PHY 1M and secondary advertising use CODED PHY on NCS2.1.1. Then I read the description about advertising options, it explicitly states that the advertiser will send both primary</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Feb 2023 18:52:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93939/how-to-configure-primary-advertising-use-phy-1m-and-secondary-advertising-use-coded-phy-when-broadcast-on-the-coded-phy-on-ncs" /><item><title>RE: How to configure primary advertising use PHY 1M and secondary advertising use CODED PHY when broadcast on the CODED PHY on NCS?</title><link>https://devzone.nordicsemi.com/thread/409944?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 18:52:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1b971ea-a846-4559-a004-b0a3874c6685</guid><dc:creator>Susheel</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/paka"&gt;PaKa&lt;/a&gt;&amp;nbsp;, Could you please point me to the locations where the configuration options need to be set to use both 1M and coded PHY?&lt;/p&gt;
&lt;p&gt;As far as I know, the below configuration parameters just set the PHY to coded&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_USER_PHY_UPDATE=y
# CONFIG_BT_PHY_UPDATE=y
CONFIG_BT_EXT_ADV=y
CONFIG_BT_HCI_MESH_EXT=y
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_CTLR_PHY_CODED=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also, in adv.c setting the flag&amp;nbsp;BT_LE_SCAN_OPT_CODED disables the use of 1M PHY. Please suggest.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure primary advertising use PHY 1M and secondary advertising use CODED PHY when broadcast on the CODED PHY on NCS?</title><link>https://devzone.nordicsemi.com/thread/399399?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 12:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b8407be-0803-4507-a3c9-745f5605fb7a</guid><dc:creator>pmochocki</dc:creator><description>&lt;p&gt;Thank you &lt;a href="https://devzone.nordicsemi.com/members/paka"&gt;PaKa&lt;/a&gt;&amp;nbsp;I am new to nRF and Bluetooth. This is very helpfull, I will dig into it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure primary advertising use PHY 1M and secondary advertising use CODED PHY when broadcast on the CODED PHY on NCS?</title><link>https://devzone.nordicsemi.com/thread/399207?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2022 13:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1f857bc-a25d-4fc5-a3a6-a00226a9f7e8</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;Doing it the way you suggest won&amp;#39;t give you longer range as if you don&amp;#39;t see the primary advertising then you will never see the extended advertising.&lt;/p&gt;
&lt;p&gt;The solution is to use a dual advertising set where one is 1Mbps and the other is coded PHY. As soon as you connect on one then you stop the advertising on both.&lt;/p&gt;
&lt;p&gt;Supported in the latest nRF Connect SDK releases with the SoftDevice Controller subsystem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure primary advertising use PHY 1M and secondary advertising use CODED PHY when broadcast on the CODED PHY on NCS?</title><link>https://devzone.nordicsemi.com/thread/398852?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2022 23:30:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f045325-f706-4b06-bc2c-eb86e60c060b</guid><dc:creator>pmochocki</dc:creator><description>[quote userid="77782" url="~/f/nordic-q-a/93939/how-to-configure-primary-advertising-use-phy-1m-and-secondary-advertising-use-coded-phy-when-broadcast-on-the-coded-phy-on-ncs/396054"]Is there any particular reason that you want to do it this way?[/quote]
&lt;p&gt;There is an issue that despite many smartphones claim they support long rage and extended advertisement in reality they are not able to receive coded advertisements:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/NordicSemiconductor/Android-BLE-Library/issues/166"&gt;https://github.com/NordicSemiconductor/Android-BLE-Library/issues/166&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So if you create for example a&amp;nbsp;peripheral&amp;nbsp;and you would like to use it in long range, because of this limitation you would like to be able advertise both PHY 1M and CODED PHY. If the phone supports&amp;nbsp;&lt;span&gt;coded advertisements you will be able to use it, if not you still are able to connect.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure primary advertising use PHY 1M and secondary advertising use CODED PHY when broadcast on the CODED PHY on NCS?</title><link>https://devzone.nordicsemi.com/thread/396474?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 16:27:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15ef220d-d537-49ae-8ffb-9ac94ecabc6f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Not sure I understand what you mean. &amp;quot;long rang broadcast support PHY 1M&amp;quot; seems contradictory. &amp;quot;Long range&amp;quot; means Coded Phy. There is no &amp;quot;Long range 1M&amp;quot;.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure primary advertising use PHY 1M and secondary advertising use CODED PHY when broadcast on the CODED PHY on NCS?</title><link>https://devzone.nordicsemi.com/thread/396321?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 02:33:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e59916d5-e79a-4ee8-ad0d-33da77d2dc88</guid><dc:creator>Deang</dc:creator><description>&lt;p&gt;If primary advertising of long rang broadcast support PHY 1M, the scanner can scan for extended broadcast with secondary adertising of PHY 1M, PHY 2M, CODED PHY with primary advertising is PHY 1M.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure primary advertising use PHY 1M and secondary advertising use CODED PHY when broadcast on the CODED PHY on NCS?</title><link>https://devzone.nordicsemi.com/thread/396054?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2022 15:53:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bf4783f-e711-4be2-ba77-a5a7fe7a0bcf</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When designing this API we thought there was no use case for this combination. Either you want to achieve long range, or you want to get low power consumption. Is there any particular reason that you want to do it this way?&lt;/p&gt;
&lt;p&gt;The option in zephyr sets both the primary and the secondary phy (&lt;a title="https://github.com/zephyrproject-rtos/zephyr/blob/5f7a6ae817feac9b47576cdf601c0a5d165f3552/subsys/bluetooth/host/adv.c#l1155" href="https://github.com/zephyrproject-rtos/zephyr/blob/5f7a6ae817feac9b47576cdf601c0a5d165f3552/subsys/bluetooth/host/adv.c#L1155" rel="noopener noreferrer" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/5f7a6ae817feac9b47576cdf601c0a5d165f3552/subsys/bluetooth/host/adv.c#L1155&lt;/a&gt;). If you want an api for setting them separately you can open an enhancement issue in zephyr.&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;br /&gt;Amanda H.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>