<?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>scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44912/scan-filters-for-custom-uuid-is-not-matching</link><description>hi attached code for below requirement: 
 command: scan on - scan devices 
 command: devices - display filtered devices . 
 Filters set are for : thermometer, NUS and custom service for nonin sensor. 
 
 but i could able to get only thermometer in peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Apr 2019 07:04:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44912/scan-filters-for-custom-uuid-is-not-matching" /><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/180164?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 07:04:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1488c53-6947-4d23-817b-ad11911934a6</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Yes. I see that this is an issue in IAR when you diable optimization in this project. You can try with another example that doesn&amp;#39;t use this pragma thing. E.g. the ble_app_uart_c example. It uses the same nrf_ble_scan.c file, so you only need to adjust the main.c.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/180141?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 04:59:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18ccb027-5ffd-45ce-aff0-678b85619ead</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1554353907580v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Hi since this image was already attached in this conversation chain so i copied from there. I hope now you can see the image.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/179888?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 07:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93ea7ccd-ab58-43f3-abf1-fd5b393f1be3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Try&amp;nbsp; to not adjust the resolution of the image. This is all I can see:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-46ea5346a638478fadf0480d69f12840/pastedimage1554268708786v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/179872?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 05:18:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5d8d2e0-1a9b-4d47-abe4-fd2a0199974f</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;yes i followed the same process to set optimization. got error as shown in image.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1554268708786v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Rekha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/179404?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 08:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a5bd9a4-adca-45e2-9425-6efffe1d8bee</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-46ea5346a638478fadf0480d69f12840/pastedimage1554106750194v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Right click the project and select &amp;quot;Options...&amp;quot;, then &amp;quot;C/C++ Compiler&amp;quot; -&amp;gt; &amp;quot;Optimizations&amp;quot; -&amp;gt; Level: None.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is this what you tried? When you compile with this, if it doesn&amp;#39;t compile. What does it say? What is the error message?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/179102?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 05:28:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:696c7452-90dd-4eaf-a70f-7e2ce7a0b2cd</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Hi sorry to ask this now..please tell me how to turn off optimization,.. because if i turn it wont be able to build at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178947?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 13:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:391d7c5b-af44-4429-aa13-1fe318483961</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;this looks very weird. Can you please try to turn off optimization (set it to -O0), and use &amp;quot;watch&amp;quot; instead of &amp;quot;quick watch&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178886?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 10:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b18a0c12-2730-42f4-a148-fa931cfbea12</guid><dc:creator>Rekha</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/44912/scan-filters-for-custom-uuid-is-not-matching/178719"]Can you look at the raw values in the advertising packet that it is&amp;nbsp;comparing in the&amp;nbsp;adv_uuid_compare() in the input p_adv_report?[/quote]
&lt;p&gt;Hi please check the attachment for the results.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/adv_5F00_data.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/scan_5F00_ctx.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;But even if i set condition-&amp;nbsp; if (uuid_filter_enabled &amp;amp;&amp;amp; p_adv_report-&amp;gt;peer_addr.addr[0] == 0x88 &lt;br /&gt; &amp;amp;&amp;amp; p_adv_report-&amp;gt;peer_addr.addr[5] == 0xF9) , in p_adv_report -&amp;gt; peer_addr-&amp;gt;addr is showing some other address. please check&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178719?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 14:32:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0021627-53aa-4664-891f-bf65e976af63</guid><dc:creator>Edvin</dc:creator><description>[quote user="Rekha"]Also answer to your Qustion No.2- Yes i crosschecked advertising device on nrf Connect which shows Service UUID just after scan and before connection[/quote]
&lt;p&gt;&amp;nbsp;It can still be in the scan response packet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you look at the raw values in the advertising packet that it is&amp;nbsp;comparing in the&amp;nbsp;adv_uuid_compare() in the input p_adv_report?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178637?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 11:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca28c1af-aa16-48be-9401-dd8a1fb8cf95</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Ans 3. Yes it is&amp;nbsp;&lt;span&gt;all_filters_mode = false&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178634?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 11:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff0d3a2b-12f6-42c9-be3e-9e1f02c8fb09</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Also answer to your Qustion No.2- Yes i crosschecked advertising device on nrf Connect which shows Service UUID just after scan and before connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178576?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 08:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8bebd16-3d3f-458f-aaac-23b582539d12</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1553675707346v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;getting above error when i turn off optimisation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178558?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 07:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0904a3b-e179-4ea4-91c6-780247711ae4</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Thanks for your continuous support .. I will check and let you know the results for your questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178554?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 07:12:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e76a76d-8596-4324-98cb-ebb91f0b4fdc</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Is it hitting the line above? ble_advdata_uuid_find()?&lt;/p&gt;
&lt;p&gt;Can you please study the&amp;nbsp;adv_uuid_compare() function, which is what we are looking at, so that you understand how it works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, can you please answer me the following (Just because if you are having some problems with any of these points, I can help you by showing how to do them)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1: Are you sure you managed to turn off optimization?&lt;/p&gt;
&lt;p&gt;2: Are you completely sure that the uuid that you are looking for is in the advertisement? Having the service enabled in your peripheral project does not necessarily mean that it is in the advertisement.&lt;/p&gt;
&lt;p&gt;3: Are you sure all_filters_mode = false?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When you hit (if you hit) ble_advdata_uuid_find(), and you hover the mouse over all_filters_mode, does it say a value? if so, what?&lt;/p&gt;
&lt;p&gt;If you try to remove all filters except the one you know that is present, does ble_advdata_uuid_find() return true?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I see that this may be a bit difficult to debug, as you have a few challenges:&lt;/p&gt;
&lt;p&gt;1: When debugging, you are not sure what advertisement packet you are seeing. Maybe there is another device advertising nearby (a computer, a phone, headset, or something else). If you know what address the device you are testing on has (the peripheral), you can filter on this manually first. E.g. befre going into adv_uuid_compare, check if one of the fields in the advertising address is correct. You can check the address in nRF Connect. Let us say it ends with 0x1b, then you can say:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#if (NRF_BLE_SCAN_UUID_CNT &amp;gt; 0)
    // Check the UUID filter.
    if (uuid_filter_enabled &amp;amp;&amp;amp; p_adv_report-&amp;gt;peer_addr.addr[0] == 0x1b)
    {
        filter_cnt++;
        if (adv_uuid_compare(p_adv_report, p_scan_ctx))
        {
            filter_match_cnt++;
            // Information about the filters matched.
            scan_evt.params.filter_match.filter_match.uuid_filter_match = true;
            is_filter_matched = true;
        }
    }
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t remember if nRF Connect shows addr[0] or addr[5] as the least significant byte. Try both.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But please answer 1, 2 and 3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178543?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 06:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d7956c9-2c3b-4546-b2ce-2bdfe499fc32</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;&lt;span&gt;I meant this line-&amp;nbsp; uuid_match_cnt++&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178542?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 06:12:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f1e9673-c422-4b51-b0f5-ed7fc4b5d9ae</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Thanks Edvin. I checked it . its not hitting that line at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178303?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 11:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce4f2a0b-80ab-40d2-bf16-f7cc87113798</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;F11 = step?&lt;/p&gt;
&lt;p&gt;You need to press run. You can&amp;#39;t step using the softdevice. As mentioned, when you stop the softdevice, it will assert (and jump to Breakpoint condition). Just set a breakpoint where you want to see some information. When you have looked at what you want to see, it will not work to press run again. You need to move the breakpoint, and restart the application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178300?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 10:53:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7f270f2-ce53-47fa-a871-fb7297290b69</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;I am using IAR. optimization turned off. every time i press F11 it jumps to Breakpoint condition in code.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178289?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 10:18:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad309bd8-34f1-476f-a5b4-96f498638b93</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;What? That doesn&amp;#39;t make any sense. Try to turn off optimization. Maybe you think the breakpoints aren&amp;#39;t set because optimization may switch the order that things are done, compared to the .c-file? It is possible to set breakpoints while debugging in Keil.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178261?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 08:58:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ce59931-de7d-44c4-8582-86f65560f112</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;I have tried this but could not follow your step.its not allowing me to set breakpoint in debug mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/178093?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 12:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a68731dd-dc43-46d4-bbdb-a58cea9785f1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes. When you are working with the softdevice, you have to restart the application after hitting a breakpoint, because halting the CPU causes the softdevice to miss time critical events and tasks, so it will crash. When you hit this, you then have to go to the definition of this function, remove the old breakpoint, and set a new breakpoint inside this function. Then restart the application. Remember to also turn off optimization in your compiler while debugging such things. It makes it a bit easier, and you will be able to see the values of different variables when you have stopped.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/177994?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 07:01:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d6be9c8-031d-473d-84ba-4e692f8f4d2d</guid><dc:creator>Rekha</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;i compiled code and tried to debug it as below:&lt;/p&gt;
&lt;p&gt;step1: set breakpoint @&lt;span&gt;adv_uuid_compare as shown in figure.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;step2: debug pointer&amp;nbsp;hit at&amp;nbsp;adv_uuid_compare but if i press &amp;quot;F11- step into&amp;quot; it directly jumps to NO BREAKPOINTS: condition in app_error file. i am unable to check&amp;nbsp;uuic_match_cnt++&amp;nbsp;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/uuid_5F00_compare.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rekha&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/177866?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 14:30:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf5310c4-7dfc-48c4-80ec-9e4c98824f42</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Sorry. I couldn&amp;#39;t open the project properly. It is missing almost every file, and IAR (which is what you are using right?) can&amp;#39;t find the include paths for the project.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-46ea5346a638478fadf0480d69f12840/pastedimage1553264653255v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But let&amp;#39;s go a couple of steps back. Are you hitting the adv_uuid_compare in nrf_ble_scan.c? Are you hitting line 500 in this file? uuic_match_cnt++ ? If so, are you entering the if (!all_filters_mode) -&amp;gt; break; ? Or what happens?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/177761?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 09:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d164a61c-b853-4783-a832-30d25361b49c</guid><dc:creator>Rekha</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/44912/scan-filters-for-custom-uuid-is-not-matching/177755"]I really recommend that you start with a central example[/quote]
&lt;p&gt;I agree to &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/BLE_5F00_Application.zip"&gt;devzone.nordicsemi.com/.../BLE_5F00_Application.zip&lt;/a&gt;your point but my requirement is to start with peripheral example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;attached zip file of project folder and you may need to add SDK libraries and driver files to the project .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: scan filters for custom uuid is not matching</title><link>https://devzone.nordicsemi.com/thread/177755?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 08:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec4ebce4-1108-4060-9f09-44870c64dd9f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;But your files, ble_cus.h and ble_cus.c are peripheral files. They set up services and characteristics. Also, I get a bunch of compiling erros when I just replace your files. Only missing files, but it is easier if you could send the project. Just remove all build files. Your zipped folder is probably too big. the build folder inside your project is a very significant size, compared to source code.&lt;/p&gt;
&lt;p&gt;I really recommend that you start with a central example from the ble_central folder. The ble_app_uart_c example from this folder filters on UUIDs. Try this one.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want to send the project, remove the build files/folder, and give some instructions on how to test. What should I advertise with for your project to scan for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>