<?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>Advertising in CODED PHY using primary channels only</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107432/advertising-in-coded-phy-using-primary-channels-only</link><description>Hello, 
 For a proprietary application that doesn&amp;#39;t require full Bluetooth compatibility, I am trying to setup an advertisement on the primary channels, using coded PHY 125 kbps. I am using nRF52840 and softdevice SD140 from SDK Version_nRF5_SDK_17.1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jan 2024 13:55:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107432/advertising-in-coded-phy-using-primary-channels-only" /><item><title>RE: Advertising in CODED PHY using primary channels only</title><link>https://devzone.nordicsemi.com/thread/465596?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 13:55:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1eda112-313e-4e8a-b574-d57b1b52dea1</guid><dc:creator>Yves Oesch</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;thanks a lot for all the explanations. It is now clear to me. I could run the examples radio_test, radio/transmitter and radio/receiver. They provide valuable information. For me you can close this ticket.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising in CODED PHY using primary channels only</title><link>https://devzone.nordicsemi.com/thread/464613?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 13:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fca47034-be10-40b8-b782-db640b7c0a63</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Yves,&amp;nbsp;&lt;br /&gt;I assume you have control over both sides of the connection. You may want to consider using proprietary instead of BLE in that case. For example you can use the radio test example with with&amp;nbsp;125kbps LE modulation (Ble_LR125Kbit mode) .You will need to enable&amp;nbsp;USE_MORE_RADIO_MODES.&lt;/p&gt;
&lt;p&gt;If you want to stick with BLE advertising, and want to do it in bare metal, I think it&amp;#39;s possible. A few years back I did some test to run BLE mesh (which use BLE ADV in bare metal) in CODED PHY. You can take a look here:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29813/change-phy-in-mesh/118379"&gt;RE: change phy in mesh&lt;/a&gt;&amp;nbsp;&lt;br /&gt;They are very old code. You may want to extract the code from the exact SDK used in the ticket.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising in CODED PHY using primary channels only</title><link>https://devzone.nordicsemi.com/thread/464603?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 13:10:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d8fafd4-be32-40e8-adb5-245125947672</guid><dc:creator>Yves Oesch</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thanks a lot for your answer. Indeed it confirms what I was about to conclude and feared: It&amp;#39;s not possible to focus on CODED PHY only for simple advertising.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t need a real compatibility with BLE for the application I am developing. I only need to transmit very few bytes. Indeed what I need is a repetitive broadcast transmission (similar to an advertisement) using as few energy as possible, but I&amp;#39;d like to profit from the extended range offered by the 125 kbps CODED PHY. So I don&amp;#39;t need all the bells and whistles of a full BLE stack. Extended advertisement looks like a waste of power for my simple case.&lt;/p&gt;
&lt;p&gt;Now I wonder if there is any &amp;quot;bare metal&amp;quot; possibility to use the nRF52840 (or later to be ported on nRF52811) , i.e without the limitations of the SD140 or Zephyr. Any idea, pointer, literature or example how to use Nordic&amp;#39;s nRF52 radio chips with a lower level API?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising in CODED PHY using primary channels only</title><link>https://devzone.nordicsemi.com/thread/464561?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 10:39:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cf439bc-30c5-424a-9569-0598cd99e029</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Yves,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I think the GBard which is based on Gemini AI may have some miss information and may need some upgrade. &lt;br /&gt;&lt;br /&gt;We have no plan to support the feature as it&amp;#39;s not allowed by the spec.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Here is the response from my ChatGPT 4 to the question of &amp;quot;Does Nordic softdevice support advertising in CODED PHY using classic advertising?&amp;quot;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;If you&amp;#39;re referring to using CODED PHY with the classic advertising scheme (i.e., the original BLE advertising method), this might be constrained by the BLE specification and the capabilities of the SoftDevice. It&amp;#39;s more common to use CODED PHY with extended advertising due to the enhancements in Bluetooth 5.0 and later versions.&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;For the most accurate and current information, I recommend consulting the latest Nordic Semiconductor documentation for the specific SoftDevice version you are interested in, or contacting their technical support. Nordic regularly updates their SoftDevice with new features and capabilities, so they would provide the most reliable information on what is currently supported.&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;/p&gt;
&lt;p&gt;I did a follow up question about how it&amp;#39;s constrained in the Bluetooth spec&amp;nbsp;and got these info:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&lt;strong&gt;Primary Advertisement Channels and PHYs&lt;/strong&gt;: In Bluetooth 5.0, advertising on the primary channels (channels 37, 38, and 39) can be done using different advertising packets (PDUs). However, for the legacy advertisement PDUs, they can only be sent on the original LE 1M PHY. The only primary advertisement PDU that can be sent on a PHY other than the 1M PHY is the ADV_EXT_IND, which is an extended advertisement indicator. This means that for classic advertising, which uses the primary advertisement channels, the use of Coded PHY is limited to extended advertisements only.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;I think it&amp;#39;s a proper answer. It&amp;#39;s not allowed by the Bluetooth spec to do classic advertising in CODED PHY as you can find at page 2690 (v5.4) here:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&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/3288.pastedimage1705487883410v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;ADV_IND can only be used in LE 1M not LE CODED.&amp;nbsp;&lt;br /&gt;Note that ADV_EXT_IND can be sent in both LE1M and LE CODED , but the ADV_EXT_IND doesn&amp;#39;t include any data, it only the indication that there will be follow up packets in the data channel (extended advertising).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>