<?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>nrf_ble_scan_filter with automatic connection and multiple filters.  How do I get the device name when a filter matches and there is an automatic connection?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40448/nrf_ble_scan_filter-with-automatic-connection-and-multiple-filters-how-do-i-get-the-device-name-when-a-filter-matches-and-there-is-an-automatic-connection</link><description>I&amp;#39;m using nrf_ble_scan_filter with automatic connection and multiple filters and it is working just fine. When the automatic connection is made, is there a way to get the device name when a filter matches?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Nov 2018 10:54:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40448/nrf_ble_scan_filter-with-automatic-connection-and-multiple-filters-how-do-i-get-the-device-name-when-a-filter-matches-and-there-is-an-automatic-connection" /><item><title>RE: nrf_ble_scan_filter with automatic connection and multiple filters.  How do I get the device name when a filter matches and there is an automatic connection?</title><link>https://devzone.nordicsemi.com/thread/158369?ContentTypeID=1</link><pubDate>Wed, 21 Nov 2018 10:54:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd6f2b2e-4639-4139-8752-214ee2db1d3a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Bill,&lt;/p&gt;
&lt;p&gt;you would need to edit nrf_ble_scan.c&amp;nbsp;&lt;/p&gt;
&lt;p&gt;in&amp;nbsp;nrf_ble_scan_on_adv_report-&amp;gt;nrf_ble_scan_connect_with_target you have p_adv_report from which you can extract the name using the static function&amp;nbsp;adv_short_name_compare to extract the device short name.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>