<?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>peer id deletion</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32506/peer-id-deletion</link><description>Hi 
 facing a strange issue in my firmware. 
 I am deleting the bonds in the initialisation. 
 When I go for a hard reset, sometimes I get the peer id list NULL --&amp;gt; correct scenario. 
 But sometimes it is not NULL. It is having a the bond information</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Apr 2018 11:06:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32506/peer-id-deletion" /><item><title>RE: peer id deletion</title><link>https://devzone.nordicsemi.com/thread/127593?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 11:06:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:271ad825-9b46-44ba-9e45-e97216e8146d</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hello Pratibha,&lt;/p&gt;
&lt;p&gt;If your solution works for your application then you can stick to it.&lt;/p&gt;
&lt;p&gt;You could&amp;nbsp;enable Whitelisting, it depends on your use-case. You can check out the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.0.0%2Fble_sdk_app_hids_mouse.html&amp;amp;cp=4_0_3_4_1_2_15" target="_blank" rel="noopener noreferrer"&gt;HID Mouse Application&lt;/a&gt;&amp;nbsp;example on how you can achieve this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer id deletion</title><link>https://devzone.nordicsemi.com/thread/127525?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 06:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66659138-716f-477e-b72d-8042303d9385</guid><dc:creator>pratibha</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I want to get one more information.&lt;/p&gt;
&lt;p&gt;I want my device to get bonded with only one device with which it first creates the bond.&lt;/p&gt;
&lt;p&gt;I am doing it by restricting the max number of Bonds to be created as only &amp;quot;One&amp;quot;.&lt;/p&gt;
&lt;p&gt;Is this the right way or should I go for whitelist enable.&lt;/p&gt;
&lt;p&gt;PLease suggest me on this and give correct sample codes for the requirement.&lt;/p&gt;
&lt;p&gt;Thanks and REgards&lt;/p&gt;
&lt;p&gt;Pratibha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer id deletion</title><link>https://devzone.nordicsemi.com/thread/127223?ContentTypeID=1</link><pubDate>Fri, 06 Apr 2018 12:52:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6065a0d-1c24-4c56-b200-cdd6a997eb82</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;&lt;em&gt;sorry for the delay.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Have you initialized the advertising before calling pm_peers_delete(), by running advertising_init()?&lt;/p&gt;
&lt;p&gt;Could you share your main.c?&lt;em&gt; (you can send it to me private)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Couldn&amp;#39;t you delete a bond when trying the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_bms.html&amp;amp;cp=4_0_0_4_1_2_5" target="_blank" rel="noopener noreferrer"&gt;Bond Management Application example&lt;/a&gt;?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer id deletion</title><link>https://devzone.nordicsemi.com/thread/126514?ContentTypeID=1</link><pubDate>Mon, 02 Apr 2018 09:52:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e08dc60-519d-463b-bf8e-093b8c8e8900</guid><dc:creator>pratibha</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am trying BMS sample code for testing the bond deletion.(SDK 14.1)&lt;/p&gt;
&lt;p&gt;But it is also not deleting the bonds. When I POWER OFF/ON the&amp;nbsp;&lt;/p&gt;
&lt;p&gt;device and try to connect to the same mobile it shows the message&amp;nbsp;&lt;/p&gt;
&lt;p&gt;as connecting to previously bonded device.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Start execution.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_LOG_INFO(&amp;quot;Bond Management example started.&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; erase_bonds = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; advertising_start(erase_bonds);&lt;/p&gt;
&lt;p&gt;Please suggest me how to make it work.&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Pratibha&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer id deletion</title><link>https://devzone.nordicsemi.com/thread/125191?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 14:32:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ecd1008-38d1-4d6f-9c4d-5710b1d32914</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Did configure your &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.0.0%2Flib_peer_manager.html&amp;amp;cp=4_0_2_3_2_6" target="_blank" rel="noopener noreferrer"&gt;peer manager&amp;nbsp;&lt;/a&gt;as described in the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.0.0%2Flib_pm_usage.html" target="_blank" rel="noopener noreferrer"&gt;documentation of the usage&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer id deletion</title><link>https://devzone.nordicsemi.com/thread/125081?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 04:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e078626e-c950-436e-8424-476fe4e8d6f7</guid><dc:creator>pratibha</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using SDK14.0.&lt;/p&gt;
&lt;p&gt;My requirement is I want to make bond when making connection to the android APP.&lt;/p&gt;
&lt;p&gt;That I am able to do. But after resetting it I want to delete all the bonds.&lt;/p&gt;
&lt;p&gt;Also, I want my device should be able to make only one bond.&lt;/p&gt;
&lt;p&gt;But I am getting a fatal error when at the initialisation I try to delete bonds if present.&lt;/p&gt;
&lt;p&gt;Following is the code part in my main in initialisation:&lt;/p&gt;
&lt;div&gt;ret_code_t err_code;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_LOG_INFO(&amp;quot;Erase bonds!&amp;quot;);&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; err_code = pm_peers_delete();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; APP_ERROR_CHECK(err_code);&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;When I reset my device when it has a bond.&lt;/div&gt;
&lt;div&gt;I get a fatal error in deletion of bond after reset.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Please suggest me if I am doing anything wrong.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer id deletion</title><link>https://devzone.nordicsemi.com/thread/125034?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 14:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:849e19c8-29f4-40b0-93a5-66a0633afa16</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;Pratibha,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; What SDK version and Softdevice version are you using?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Is there an example you are basing your project on?&lt;/p&gt;
&lt;p&gt;Could you share relevant code (main.c) `?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Could you try to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting" target="_blank" rel="noopener noreferrer"&gt;debug&lt;/a&gt; your code, where does it stop and do you get any error code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>