<?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 filter devices with UUID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46224/how-to-filter-devices-with-uuid</link><description>I want to filter the peripheral devices with part of the UUID. 
 Consider my uuid is {0x01, 0x12, 0x23, 0x34, 0x45, 0x56, 0x67, 0x78, 0x89, 0x9a, 0xab, 0x47, 0x4E, 0x44, 0x00, 0x01 } 
 In this last 2bytes will be changing for each device. I need to filter</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Apr 2019 14:05:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46224/how-to-filter-devices-with-uuid" /><item><title>RE: How to filter devices with UUID</title><link>https://devzone.nordicsemi.com/thread/182420?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 14:05:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc58de51-5bcd-40c9-b219-9b840b529d62</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I would recommend that you check out the function&amp;nbsp;is_uuid_present() in ble_app_uart_c example. This function checks for 128-bit UUID in advertising packet. You can use the same approach, but check only the relevant part of the UUID.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to filter devices with UUID</title><link>https://devzone.nordicsemi.com/thread/182379?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 12:08:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a60eea39-a552-4e02-b7d6-85d488976dee</guid><dc:creator>Mani</dc:creator><description>&lt;p&gt;I am using SDK 14&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to filter devices with UUID</title><link>https://devzone.nordicsemi.com/thread/182373?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 12:01:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fd3d1c7-1b65-475b-9bc9-b74b2ceb0cdc</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using, and which example are you basing your application on?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not aware of any such functionality in the SDK, the closest is that you can add scan filters to single (complete) UUIDs in SDK 15.2 and 15.3.&lt;/p&gt;
&lt;p&gt;You will just have to extract the UUID from the received advertising packet, and compare the relevant parts of it to your UUID filter.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>