<?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 get the advertised name from discovery packets from  a central in nrfconnect sdk?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85461/how-to-get-the-advertised-name-from-discovery-packets-from-a-central-in-nrfconnect-sdk</link><description>Hi, 
 I am using nrfconnect sdk with central_uart example. How to get the name of the device 
 advertise the BLE discovery packets? nrfconnect android app shows the name after the scan. 
 Regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Mar 2022 11:43:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85461/how-to-get-the-advertised-name-from-discovery-packets-from-a-central-in-nrfconnect-sdk" /><item><title>RE: How to get the advertised name from discovery packets from  a central in nrfconnect sdk?</title><link>https://devzone.nordicsemi.com/thread/356854?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 11:43:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca9ecec8-57e7-4a61-92cb-e010dc97e1f7</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;No, that shouldn&amp;#39;t force it to use the Zephyr controller.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the advertised name from discovery packets from  a central in nrfconnect sdk?</title><link>https://devzone.nordicsemi.com/thread/356721?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 20:46:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdcc9bd5-c52e-42fe-872e-46fc983b3461</guid><dc:creator>kaattueli</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&amp;nbsp; Your suggestion works.&amp;nbsp; Before this I got this solved using the&lt;/p&gt;
&lt;p&gt;following (got this copied from zephyr sources)&lt;/p&gt;
&lt;p&gt;bt_le_scan_cb_register(&amp;amp;scan_callbacks);&lt;/p&gt;
&lt;p&gt;Does the above call forces the BT controller to be that of zephyr?&lt;/p&gt;
&lt;p&gt;In my code I set CONFIG_BT_LL_SOFTDEVICE=y&lt;/p&gt;
&lt;p&gt;Regards, Solai&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the advertised name from discovery packets from  a central in nrfconnect sdk?</title><link>https://devzone.nordicsemi.com/thread/356587?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 12:42:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51c4766e-b3dc-4089-9265-7cacf5bffa9c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The advertising data is contained in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/bluetooth_services/scan.html?highlight=bt_scan_device_info#c.bt_scan_device_info"&gt;bt_scan_device_info &lt;/a&gt;struct. You can enable a scan filter that filters peripheral devices based on the manufacturer data as in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/73734/filter-on-custom-manufacturer-data-with-ble-on-zephhyr-ncs"&gt;this case&lt;/a&gt;. See the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_uart/README.html"&gt;BLE central UART&lt;/a&gt; for an example on how to enable a scan filter.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>