<?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 set whitelist with non-secure device?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49015/how-set-whitelist-with-non-secure-device</link><description>Hi , 
 
 I am using NRF52832 device and I am referring ble_central/ble_app_hrs_c app . in this example , there is secure data used(pairing and bonding information) for whitelist. But in my case I want to whitelist BLE devices which are non-secure. How</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Jun 2019 11:20:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49015/how-set-whitelist-with-non-secure-device" /><item><title>RE: How set whitelist with non-secure device?</title><link>https://devzone.nordicsemi.com/thread/195109?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 11:20:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dea6af4-93ff-4c54-841e-a3dc51cb973c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The function &lt;em&gt;peer_list_get()&lt;/em&gt;&lt;/span&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;span&gt;will retrieve a list of the peers stored in flash, and if you delete all the peers before running the function, there are no devices to put into the list.&amp;nbsp;When you bond with a device the peer is stored in flash, it allocates a peer ID and stores the bonding data (address, IRK and encryption keys) of the new device to flash.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46627/how-can-i-implement-whiteist-in-sdk-15-2-0/185688#185688"&gt;post&lt;/a&gt; can help you implement the whitelist.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How set whitelist with non-secure device?</title><link>https://devzone.nordicsemi.com/thread/194897?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 13:30:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bb4c4ca-bde5-4d49-9d82-c16cb5416e89</guid><dc:creator>Darshan_</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using &lt;span&gt;&lt;em&gt;pm_sec_params_set()&lt;/em&gt; with NULL&lt;/span&gt;. But when i use&amp;nbsp;peer_list_get(peers, &amp;amp;peer_cnt) in whitelist_load() function.it is always gives peer_cnt 0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any APIs for setting whitelist by bt address only?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Darshan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How set whitelist with non-secure device?</title><link>https://devzone.nordicsemi.com/thread/194882?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 12:49:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a5d997f-a56f-47ed-b563-8c297cd7def0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Darshan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you don&amp;#39;t want to pair call &lt;em&gt;pm_sec_params_set()&lt;/em&gt; with NULL, if you don&amp;#39;t want to bond call &lt;em&gt;pm_sec_params_set()&lt;/em&gt; with bond set to 0, i.e. set SEC_PARAM_BOND 0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/23250/sdk13-s132-peripherial-mode-how-bonding-does-work-in-hrs-example"&gt;post&lt;/a&gt; might help.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How set whitelist with non-secure device?</title><link>https://devzone.nordicsemi.com/thread/194857?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 11:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64057b00-2221-4043-b5be-a775bfdc7b35</guid><dc:creator>Darshan_</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using filter by NRF_BLE_SCAN_UUID_FILTER. I am connecting peripheral device without pairing and bonding. I want to whitelist five bt device by bt address among 20 bt device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Darshan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How set whitelist with non-secure device?</title><link>https://devzone.nordicsemi.com/thread/194852?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 11:27:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbf44a70-e4b7-4066-b048-678dc7c196ec</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you provide more detail about the&amp;nbsp;&lt;strong&gt;non-secure ble device&lt;/strong&gt;? What does that mean?&lt;/p&gt;
&lt;p&gt;Whitelist used is for secure devices. I don&amp;#39;t know what you are trying to do... If you need to filter addresses, then the scan module supports this &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_ble_scan.html?cp=5_1_3_2_11_3_2#scan_filters_usage"&gt;scan filters usage&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group___n_r_f___b_l_e___s_c_a_n___f_i_l_t_e_r___m_o_d_e.html#ga138d4faec04aaeae907f94bffccf013e"&gt;NRF_BLE_SCAN_ADDR_FILTER&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>