<?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>Can&amp;#39;t filter on custom UUID with BLE on Zephyr/NCS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70787/can-t-filter-on-custom-uuid-with-ble-on-zephyr-ncs</link><description>Hi! 
 
 So I&amp;#39;ve got one BLE Central and one BLE Peripheral that I should communicate. Ive based the Central code on nrf Connect SDK&amp;#39;s &amp;quot;peripheral_gatt_dm&amp;quot; sample. First I tested my new &amp;quot;central_gatt_dm&amp;quot; sample up against a &amp;quot;perpheral_hr&amp;quot; Heart Rate sample</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jan 2021 10:00:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70787/can-t-filter-on-custom-uuid-with-ble-on-zephyr-ncs" /><item><title>RE: Can't filter on custom UUID with BLE on Zephyr/NCS</title><link>https://devzone.nordicsemi.com/thread/291732?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 10:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50ec7e24-3b36-45aa-a0f0-c2774823fb3c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Jonas,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The uart example (central_uart and peripheral_uart) uses a custom UUID for NUS_SERVICE and they have worked well on my desk. I have editied the NUS service UUID to something random and it still works with the scan filter.&lt;/p&gt;
&lt;p&gt;I think you are missing to initialize the rest of the scanning module members as it is done in the uart example,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BT_SCAN_CB_INIT(scan_cb, scan_filter_match, NULL,&lt;br /&gt; scan_connecting_error, scan_connecting);&lt;/p&gt;
&lt;p&gt;Please take UART NUS as template and do your tests, because it works just find here on my desk. Tested on NCSv1.4.99 on nRF52840 DK on both ends&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't filter on custom UUID with BLE on Zephyr/NCS</title><link>https://devzone.nordicsemi.com/thread/291280?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 13:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea37e23e-6c00-46f8-a570-2beb1dd03307</guid><dc:creator>Jonas Lien</dc:creator><description>&lt;p&gt;No problem, looking forward to your findings as I&amp;#39;m really scratching my head on this one myself &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't filter on custom UUID with BLE on Zephyr/NCS</title><link>https://devzone.nordicsemi.com/thread/291275?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 13:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2ffdb30-1729-421b-b4d2-86233936fa24</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sorry for late response Jonas,&lt;/p&gt;
&lt;p&gt;It is strange that the scan filtering is not working on your 128 bit custom UUID. It should have worked the same, but we maybe missing something simple&amp;nbsp; I will do a quick test tomorrow and will come back to you with my findings, Thanks for your patience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>