<?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>uart UUID is searchable, but what I want is to search all UUIDs To connect.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74033/uart-uuid-is-searchable-but-what-i-want-is-to-search-all-uuids-to-connect</link><description>Hi . I am developing nRF52 for the first time. (PCA10056_ nRF52840 _S140_ ver1.70.0 _DK under development..) It is under development with SEGGER embedded studio. I want to create a central device that does filterless scans. Is there any simplest example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Apr 2021 09:46:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74033/uart-uuid-is-searchable-but-what-i-want-is-to-search-all-uuids-to-connect" /><item><title>RE: uart UUID is searchable, but what I want is to search all UUIDs To connect.</title><link>https://devzone.nordicsemi.com/thread/305030?ContentTypeID=1</link><pubDate>Thu, 15 Apr 2021 09:46:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa9eb48d-01d8-4486-838b-0e29f303a2c0</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1665._5F00_Insert-Code-_2D00_-Nordic-2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So that it looks like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief Function for initializing the scanning and setting the filters.
*/
static void scan_init(void)
{
    ret_code_t err_code;
    nrf_ble_scan_init_t init_scan;

    memset(&amp;amp;init_scan, 0, sizeof(init_scan));

    init_scan.connect_if_match = true;
    init_scan.conn_cfg_tag = APP_BLE_CONN_CFG_TAG;

    err_code = nrf_ble_scan_init(&amp;amp;m_scan, &amp;amp;init_scan, scan_evt_handler);
    APP_ERROR_CHECK(err_code);

    err_code = nrf_ble_scan_filter_set(&amp;amp;m_scan, SCAN_UUID_FILTER, &amp;amp;m_nus_uuid);
    APP_ERROR_CHECK(err_code);

    //err_code = nrf_ble_scan_filters_enable(&amp;amp;m_scan, NRF_BLE_SCAN_UUID_FILTER, false);
    err_code = nrf_ble_scan_filters_disable(&amp;amp;m_scan);
    APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;that&amp;#39;s where the filter is set - if you don&amp;#39;t want any filters,&amp;nbsp;then don&amp;#39;t add any!&lt;/p&gt;
&lt;p&gt;Documentation is available by right-clicking a function name and choosing &amp;#39;Go To Declaration&amp;#39;&lt;/p&gt;
&lt;p&gt;Also online:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__ble__scan.html?cp=7_1_6_2_15_24#ga56c5cf1561dcfbc3d9197c8b0941d3ad"&gt;infocenter.nordicsemi.com/.../group__nrf__ble__scan.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>