<?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>Advertising with white list without peer manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50788/advertising-with-white-list-without-peer-manager</link><description>Hi, 
 I am working on nRF52832 with SDK 15.3.0 with SoftDevice s112. I am actually shifting from nRF51 to nRF52. I have merged nrf51 custom code to nrf52, and able to advertise without bonding but not able to advertise with whitelist. 
 Adding advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Aug 2019 16:31:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50788/advertising-with-white-list-without-peer-manager" /><item><title>RE: Advertising with white list without peer manager</title><link>https://devzone.nordicsemi.com/thread/206944?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2019 16:31:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1298541c-d70b-4a7f-884d-dbbe5ce586fc</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="73810" url="~/f/nordic-q-a/50788/advertising-with-white-list-without-peer-manager"]1. Where to add this API?[/quote]
&lt;p&gt;Try to set it before advertising init.&lt;/p&gt;
[quote userid="73810" url="~/f/nordic-q-a/50788/advertising-with-white-list-without-peer-manager"]2. Is this sd_ble_gap_whitelist_set() API saves peer address.[/quote]
&lt;p&gt;No, the function will not save the address to flash. (this is something that the peer&amp;nbsp;manager support).&lt;/p&gt;
[quote userid="73810" url="~/f/nordic-q-a/50788/advertising-with-white-list-without-peer-manager"]3. How&amp;nbsp;sd_ble_gap_whitelist_set() will react on power-on reset, this address need to set again?[/quote]
&lt;p&gt;Yes, you need to set it again.&lt;/p&gt;
[quote userid="73810" url="~/f/nordic-q-a/50788/advertising-with-white-list-without-peer-manager"]4. Is anything needed after&amp;nbsp;or before sd_ble_gap_whitelist_set() API.[/quote]
&lt;p&gt;You might also&amp;nbsp;want to use&amp;nbsp;sd_ble_gap_device_identities_set().&lt;/p&gt;
[quote userid="73810" url="~/f/nordic-q-a/50788/advertising-with-white-list-without-peer-manager"]5. Please check the code and tell me what is the reason of&amp;nbsp;&lt;span&gt;NRF_ERROR_INVALID_PARAM.&lt;/span&gt;[/quote]
&lt;p&gt;What is the value of&amp;nbsp;advInterval,&amp;nbsp;advTimeout and&amp;nbsp;CENTISEC_TO_SEC ?&lt;/p&gt;
[quote userid="73810" url="~/f/nordic-q-a/50788/advertising-with-white-list-without-peer-manager"]I dont want to use peer manager, is there is any example for bonding/whitelist without peer manager which i can refer.[/quote]
&lt;p&gt;In&amp;nbsp;components/libraries/bootloader/ble_dfu/nrf_dfu_ble.c, a whitelist is configured without the use of peer manager.&lt;/p&gt;
&lt;p&gt;Even if you don&amp;#39;t want to use the peer manager, you should take a look at how the peer manager configures the whitelist.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising with white list without peer manager</title><link>https://devzone.nordicsemi.com/thread/203719?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 06:18:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad8777ce-2490-48fb-bbb3-ae6026b841ac</guid><dc:creator>Prajakta</dc:creator><description>&lt;p&gt;Please help me on this ASAP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>