<?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 can i use whitelist in advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42766/how-can-i-use-whitelist-in-advertising</link><description>hello, 
 I am using the SDK15.2 for development. 
 I want to set a central address in peripheral like the whitelist function via uart without bonding. 
 
 This code is about whitelist set。 
 err_code = sd_ble_gap_whitelist_set(addr_ptrs, whitelist_count</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Jan 2019 10:03:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42766/how-can-i-use-whitelist-in-advertising" /><item><title>RE: how can i use whitelist in advertising</title><link>https://devzone.nordicsemi.com/thread/167584?ContentTypeID=1</link><pubDate>Thu, 24 Jan 2019 10:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9f0afae-33de-4c72-9f42-06ccca01fd04</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
[quote user="amywei"]and another phone that its mac is not in whitelist alse can&amp;nbsp;Identify the peripheral&amp;#39;s mac and device name[/quote]
&lt;p&gt;&amp;nbsp;This is normal behaviour, just because you add a whitelist, does not mean that the device is invisible for other devices not on the whitelist.&lt;/p&gt;
&lt;p&gt;Have you looked at any examples that implement a whitelist with Fast advertising?&lt;/p&gt;
&lt;p&gt;I recommend that you take a look at the &lt;strong&gt;examples\ble_peripheral\ble_app_hids_keyboard&lt;/strong&gt; example.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how can i use whitelist in advertising</title><link>https://devzone.nordicsemi.com/thread/167544?ContentTypeID=1</link><pubDate>Thu, 24 Jan 2019 07:45:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:205cb9c8-086e-46a6-be12-71024100a5a2</guid><dc:creator>amywei</dc:creator><description>&lt;p&gt;Thanks，AndreasF&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I wish to create a peripheral and use UART to tell the peripheral which addresses should be whitelisted?&amp;nbsp; When receive the uart data ,&lt;/span&gt;I set the mac address use function&amp;nbsp;&lt;span&gt;err_code = sd_ble_gap_whitelist_set(addr_ptrs, whitelist_count);&amp;nbsp;&amp;nbsp;When debug , the err_code =&amp;nbsp;NRF_SUCCESS, but the peripheral can not enter&amp;nbsp;Fast advertising with whitelist, and another phone that its mac is not in whitelist alse can&amp;nbsp;Identify the peripheral&amp;#39;s mac and device name. I don&amp;#39;t know why.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how can i use whitelist in advertising</title><link>https://devzone.nordicsemi.com/thread/167042?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 10:08:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfd05168-82f7-4bd4-b540-daf821689c85</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
[quote user=""]&amp;nbsp;How can I set the whitelist address via uart without bonding?[/quote]
&lt;p&gt;&amp;nbsp;Do you wish to create a peripheral and use UART to tell the peripheral which addresses should be whitelisted? &lt;/p&gt;
&lt;p&gt;You have to send either the MAC address or the Identity Resolving Key (IRK) over UART, and add the incoming data to your whitelist in the code.&lt;/p&gt;
[quote user=""]&lt;span style="font-size:150%;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;How can I confirm that the whitelist is set successfully?&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;You can try to connect with a device which is not in the whitelist.&lt;/p&gt;
[quote user=""]&lt;span style="font-size:150%;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;How can the peripheral start advertising with whitelist after reset the peripheral?&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;I&amp;#39;m unsure what you mean here. You set up advertising with whitelist in your code.&lt;/p&gt;
[quote user=""]&lt;span style="font-size:150%;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The following is the code all about whitelist function, please read and help me to&amp;nbsp;solve this problem。&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;Have you tried to debug the code and see what errors you get?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how can i use whitelist in advertising</title><link>https://devzone.nordicsemi.com/thread/166872?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 14:10:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94b58b44-f0bf-46c9-ac63-5b26b8b4d7a2</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I have to&amp;nbsp; look at bit more into this, I will give you a reply tomorrow if this is OK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>