<?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 do I replace an old bonded device when max bonded devices reached?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5254/how-do-i-replace-an-old-bonded-device-when-max-bonded-devices-reached</link><description>I am only interested in one max bonded device at the moment so I want to replace the old bond with a new bond. Is there an easy way to do this? I only want to replace the old bond if a new bond is successfully created so a failed bonding attempt will</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Jan 2015 22:32:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5254/how-do-i-replace-an-old-bonded-device-when-max-bonded-devices-reached" /><item><title>RE: How do I replace an old bonded device when max bonded devices reached?</title><link>https://devzone.nordicsemi.com/thread/18393?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2015 22:32:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f897ed4b-d964-4ae6-8780-56f8c1501c33</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;Thanks I will try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I replace an old bonded device when max bonded devices reached?</title><link>https://devzone.nordicsemi.com/thread/18392?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2015 16:11:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6a85484-4df7-414f-b02b-2e04ad9c0241</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jeff,&lt;/p&gt;
&lt;p&gt;You can call dm_device_delete(p_handle) to delete a central device in the bond+info database where the p_handle is the id of the central device.
You can delete the old bond when there is a successful new bond and there is only one slot left.&lt;/p&gt;
&lt;p&gt;However, the question is which central should be the oldest bond. If we simply delete the central that bond the first, it could be the one who connect the last (most recent central connected) or it could be the most frequently.&lt;/p&gt;
&lt;p&gt;So it&amp;#39;s up to you to choose and monitor the oldest bond, it could be the one who bond the first, or the one who has the oldest last connection or the one who connect the most seldom, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>