<?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>pm_whitelist_get can&amp;#39;t get whitelisted peers after system reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37727/pm_whitelist_get-can-t-get-whitelisted-peers-after-system-reset</link><description>Good afternoon, 
 
 In my peripheral application (SDK15 and Softdevice6.0.0) I can have several bonded central peers but only 1 can be selected on demand for the whitelist, by recurring to pm_whitelist_set() and pm_device_identities_list_set() to also</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Aug 2018 16:04:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37727/pm_whitelist_get-can-t-get-whitelisted-peers-after-system-reset" /><item><title>RE: pm_whitelist_get can't get whitelisted peers after system reset</title><link>https://devzone.nordicsemi.com/thread/146371?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 16:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e3e59ed-9fb0-4490-9e97-7069abbd2460</guid><dc:creator>jloliveira</dc:creator><description>&lt;p&gt;How can I close the case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pm_whitelist_get can't get whitelisted peers after system reset</title><link>https://devzone.nordicsemi.com/thread/146370?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 16:00:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e66ea84e-6a62-413b-b6cc-ab25d3dc21fd</guid><dc:creator>jloliveira</dc:creator><description>&lt;p&gt;Thank you Runar, just created an FDS record for the whitelisted peers and it is working great.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pm_whitelist_get can't get whitelisted peers after system reset</title><link>https://devzone.nordicsemi.com/thread/145680?ContentTypeID=1</link><pubDate>Fri, 24 Aug 2018 12:41:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7526b72-b0f5-4d9f-80e5-bc93e1b74db7</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Not long term. Normally we would retrieve the whitelist from the peer manager / gatt cache manager. If you are only using a subset of these you will have to store them somewhere in flash around the same time as you send them to the SD iwh pm_whitelist_set function. It is not possible to retrieve this after a reset as it is stored in the SD ram.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pm_whitelist_get can't get whitelisted peers after system reset</title><link>https://devzone.nordicsemi.com/thread/145529?ContentTypeID=1</link><pubDate>Thu, 23 Aug 2018 13:26:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ec488dd-a5d6-4a2c-bd67-4e314d8df1bc</guid><dc:creator>jloliveira</dc:creator><description>&lt;p&gt;Dear Runar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;peer_list_get function retrieves all bonded peers and I would like to retrieve from flash only the peers in the whitelist, i.e., only the ones added to the whitelist through the&amp;nbsp;pm_whitelist_set function. Is there any function or means for that?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jo&amp;atilde;o&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pm_whitelist_get can't get whitelisted peers after system reset</title><link>https://devzone.nordicsemi.com/thread/145436?ContentTypeID=1</link><pubDate>Thu, 23 Aug 2018 08:10:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79fdc43e-4f13-4492-bbc1-d8ac3687bb99</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;pm_whitelist_set() is not used to store Peers in the bond table. It is used to tell the SD which whitelist to use, it eventually calls sd_ble_gap_whitelist_set which is used to set the active whitelist in the Softdevice.&lt;/p&gt;
&lt;p&gt;To fetch the whitelist from the peer manager, look at the ble_peripheral\ble_app_hids_keyboard project. see the peer_list_get function in main.c.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>