<?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 does the advertisement filter policy work?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2308/how-does-the-advertisement-filter-policy-work</link><description>Hi, 
 How does the advertisement filter policy work? 
 I tried both BLE_GAP_ADV_FP_FILTER_SCANREQ and BLE_GAP_ADV_FP_FILTER_BOTH, but this doesn&amp;#39;t restrict other devices (not in white-list) to find it, while scanning (but avoids connection request)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Apr 2014 05:52:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2308/how-does-the-advertisement-filter-policy-work" /><item><title>RE: How does the advertisement filter policy work?</title><link>https://devzone.nordicsemi.com/thread/9563?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2014 05:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de1a7d2b-fae0-4042-86a2-ce46c82c50f1</guid><dc:creator>P&amp;#229;l H&amp;#229;land</dc:creator><description>&lt;p&gt;Hi balaji, I updated my original post to include more date, setting the device address can be set with sd_ble_gap_address_set
&lt;a target="_blank" href="https://devzone.nordicsemi.com/documentation/nrf51/5.2.0/html/a00845.html#ga073bbb0a6e68fe0a0ef8bb59d829c986" rel="nofollow"&gt;https://devzone.nordicsemi.com/documentation/nrf51/5.2.0/html/a00845.html#ga073bbb0a6e68fe0a0ef8bb59d829c986&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As for the privacy, that is using a IRK to encrypt part of a random number in the address, making a hash, that you put as the other half of the address. This way other devices that have your IRK can identify the address as yours.
GAP 10.7 in the Bluetooth Core spesification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does the advertisement filter policy work?</title><link>https://devzone.nordicsemi.com/thread/9562?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2014 13:27:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c46ca83-cb98-45ca-95e6-d3fd9b11a67f</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Thanks for the Reply Pal,&lt;/p&gt;
&lt;p&gt;How can i set BLE_GAP_DISC_MODE_NOT_DISCOVERABLE advertisement type? I dont see any example application which implements it.&lt;/p&gt;
&lt;p&gt;As per the bluetooth core document, does setting non-connectable undirected advertisement mode enables non-discoverable advertisement?&lt;/p&gt;
&lt;p&gt;What is 4.1 privacy? Can i get the reference document on this?&lt;/p&gt;
&lt;p&gt;How can i set the own address type?&lt;/p&gt;
&lt;p&gt;Sorry that i couldn&amp;#39;t able to get your suggestion, so please make it clear on next post.&lt;/p&gt;
&lt;p&gt;Regards,
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does the advertisement filter policy work?</title><link>https://devzone.nordicsemi.com/thread/9561?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2014 06:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1783ede6-82cf-4189-9f7e-0905ca884de8</guid><dc:creator>P&amp;#229;l H&amp;#229;land</dc:creator><description>&lt;p&gt;Hi Balaji,&lt;/p&gt;
&lt;p&gt;It would be an idea to use undiscoverable advertising type, BLE_GAP_DISC_MODE_NOT_DISCOVERABLE. This would restrict other devices from showing it in the UI unless it is already known to them.&lt;/p&gt;
&lt;p&gt;If you are using the SDK then you could use this utility function:
&lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/5.2.0/html/a00949.html"&gt;devzone.nordicsemi.com/.../a00949.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If not, then you should have a look in the bluetooth specification at Volume 3, part C (GAP) chapter 11. + Assigned numbers: &lt;a href="https://www.bluetooth.org/en-us/specification/assigned-numbers/generic-access-profile"&gt;www.bluetooth.org/.../generic-access-profile&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All advertising is visible to the peer, and a wrongly implemented peer could list unknown devices without them beeing discoverable.&lt;/p&gt;
&lt;p&gt;The only way to &amp;quot;hide&amp;quot; your own address for other devices is to use advertising data that cannot identify your device, plus the use of privacy. Currently the S110 only support the 4.1 privacy, and there you would have to make sure you distribute IRK during bonding, and then generate a private address every time you start advertising. This way only bonded devices would be able to identify the device as something they are interested in.&lt;/p&gt;
&lt;p&gt;BR
Pål&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>