<?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>Cannot enable BLE HCI survey</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114131/cannot-enable-ble-hci-survey</link><description>Dear Nordic support team, 
 
 I cannot enable the Nordic specific HCI command to enable the HCI survey, I always get the following error with NCS v2.6.1: 
 
 For information in the prj.conf file are enabled : 
 
 And the piece of code to enable the survey</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Aug 2024 12:55:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114131/cannot-enable-ble-hci-survey" /><item><title>RE: Cannot enable BLE HCI survey</title><link>https://devzone.nordicsemi.com/thread/499765?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 12:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cfd6c03-01c2-42f5-a623-0fd79c446639</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;Aurélien&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;Please don&amp;#39;t click Verified Answer if you still have question.&amp;nbsp;&lt;br /&gt;Channel survey can be used to detect which channels the BLE communication should use to avoid busy channel (when you have a lot of traffic on channel overlapping with Wifi&amp;nbsp; for example)&lt;br /&gt;&lt;br /&gt;Most often, it&amp;#39;s the central that set the channel map table (from Bluetooth 5.3 peripheral can request as well). So that&amp;#39;s why this channel survey feature is implemented on the Central and Multirole.&amp;nbsp;&lt;br /&gt;Another reason why it&amp;#39;s not on the Peripheral as far as I know is to keep the size of the peripheral stack lower.&amp;nbsp;&lt;br /&gt;What you can try is to enable Central role and test again (even though you don&amp;#39;t use Central role). The trade off is larger stack size.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot enable BLE HCI survey</title><link>https://devzone.nordicsemi.com/thread/499610?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 14:49:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5097b15a-8dae-4ee6-b5b0-09e9cc798d66</guid><dc:creator>fr_adv</dc:creator><description>&lt;p&gt;Hello M. Bui,&lt;/p&gt;
&lt;p&gt;Thank you for your support, my device is acting as &amp;quot;peripheral only&amp;quot; unfortunately... Do you know if this feature is planned soon for BLE peripherals ?&lt;/p&gt;
&lt;p&gt;Moreover, when should this feature be used ? When the central is connected to the peripheral ? I&amp;#39;m wondering what&amp;#39;s the purpose of this survey.&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;BRs&lt;br /&gt;Aur&amp;eacute;lien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot enable BLE HCI survey</title><link>https://devzone.nordicsemi.com/thread/499608?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 14:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9fcfcba-db21-4884-bfe4-d025bbf392e3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In your setup your device act as a central or a peripheral&amp;nbsp; ?&amp;nbsp;&lt;br /&gt;If you take a look at&amp;nbsp;\nrfxlib\softdevice_controller\readme.rst you will find this:&amp;nbsp;&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/pastedimage1724423860114v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So if it&amp;#39;s a peripheral it won&amp;#39;t work.&amp;nbsp;&lt;br /&gt;I did a quick test with the central_uart and it seems to work (no error -5). I haven&amp;#39;t started the survey through. Also I would suggest to wait until bluetooth stack is ready before you start.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1732.central_5F00_uart.zip"&gt;devzone.nordicsemi.com/.../1732.central_5F00_uart.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>