<?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 enabled device is unscannable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114613/coded-phy-enabled-device-is-unscannable</link><description>Hi, 
 I am currently developing a long range bluetooth module with the U-Blox NINA-B31 BLE module, based off the Nordic nRF52840 chip. I have come across an issue which I have been trying to resolve which I am running out of things to try. 
 
 Basically</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Sep 2024 01:34:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114613/coded-phy-enabled-device-is-unscannable" /><item><title>RE: CODED PHY enabled device is unscannable</title><link>https://devzone.nordicsemi.com/thread/502208?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 01:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e3445ec-7e4a-4ddb-9fd5-8a626c40794a</guid><dc:creator>jabroni</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the clarification.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am only using the B31 module as an advertiser, and my desktop pc as a scanner. My PC uses a standard microsoft bluetooth module and I can at least scan for devices and have the scan response show the B31 dev kit with CODED PHY enabled:&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/pastedimage1726104731802v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This could very well be a limitation of QT, and maybe a way around it would be to make an adaptor with a NINA B3 module that scan scan for CODED PHY enabled devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CODED PHY enabled device is unscannable</title><link>https://devzone.nordicsemi.com/thread/502064?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 09:29:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:127e4df3-6ad7-4152-a0f2-62c4b9f6ee29</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Scannable means that the scanner can send a&amp;nbsp;scan request.&lt;/p&gt;
&lt;p&gt;Connectable means that the scanner can send a connect request.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Are you using&amp;nbsp;&lt;/span&gt;&lt;span&gt;U-Blox NINA-B31 BLE for both the advertiser and scanner?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not familiar with QT, but maybe it does not support&amp;nbsp;&lt;span&gt;CODED PHY and&amp;nbsp;Extended Advertising PDUs. These was introduced in Bluetooth 5.0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CODED PHY enabled device is unscannable</title><link>https://devzone.nordicsemi.com/thread/502018?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 01:55:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d136427c-15a5-4fb3-b40d-880adf7e8a1f</guid><dc:creator>jabroni</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the response and the info on extended connectable devices. I was not aware of this, but it is also defined in the core specification guide in section 2.3.1.5. It seems you are correct about what I expect vs what actually happens, and this case what actually happens is that with extended advertising enabled the device is not scannable, but is connectable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can see in the trace that with extended advertising enabled, the PDU type is set to AUX_ADV_IND which from the documentation states:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;ADV_EXT_IND is over primary advertising channels and is used to indicate that an advertisement will be sent on a secondary advertisement channel. The information in ADV_EXT_IND will inform the scanner:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Which secondary advertising channel will be used by AUX_ADV_IND&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Which PHY will be used by AUX_ADV_IND, 1M PHY, 2M PHY, or 1M Coded PHY &amp;nbsp;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;When AUX_ADV_IND will be presented on that specified secondary advertising channel&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;So basically the device is connectable, but just cannot be scanned. So how can I initiate a connection with an unscannable device?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached the trace below and you can filter the device with: `btle.advertising_address == cc:f9:57:8b:a5:a4`&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/wireshark_5F00_00001_5F00_20240911110007.pcapng"&gt;devzone.nordicsemi.com/.../wireshark_5F00_00001_5F00_20240911110007.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Looking at section 2.3.1.6 of the core specification, and the Extended Advertising Header in the trace, the Advertising Mode is set to &amp;quot;Connectable Non-scannable&amp;quot; with &amp;quot;Connectable Undirected&amp;quot; as the event type (if I have read this correctly):&lt;img style="max-height:101px;max-width:538px;" alt=" " height="101" src="https://i.imgur.com/2EPcDWa.png" width="538" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can&amp;#39;t find anything in QT documentation so far in regards to passive/active scanning and this I will have to look into further.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This makes me wonder something - if the QT central application does not support switching between active and passive scanning, would a dongle configured for CODED PHY solve this? Still trying to understand how to actually connect to a non-scannable but connectable device.&lt;/p&gt;
&lt;div class="commentInputArea" data-aura-rendered-by="106:165;a"&gt;
&lt;p class="slds-text-color--weak hidden forceChatterTypingIndicator" data-aura-rendered-by="111:165;a" data-aura-class="forceChatterTypingIndicator"&gt;&lt;span class="svg-container"&gt;&lt;/span&gt;&lt;span class="whoIsTyping" data-aura-rendered-by="112:165;a"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CODED PHY enabled device is unscannable</title><link>https://devzone.nordicsemi.com/thread/501910?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 11:57:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a3ac75b-2386-48f7-8307-9f66732bd50b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Could you upload the nrf sniffer trace?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that you can&amp;#39;t have extended, connectable&amp;nbsp;and scannable. All extended connectable, are non-scannable. ref&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___a_d_v___t_y_p_e_s.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___a_d_v___t_y_p_e_s.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>