<?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>Repair/Bond when bonds erased from peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82551/repair-bond-when-bonds-erased-from-peripheral</link><description>Hello 
 I have 2 custom boards both with nRF82532. One is central and the other a peripheral. I use LESC. When no bonding information is stored in either of the devices, pairing and bonding is executed whithout problem. When I erase the bonding information</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Dec 2021 08:04:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82551/repair-bond-when-bonds-erased-from-peripheral" /><item><title>RE: Repair/Bond when bonds erased from peripheral</title><link>https://devzone.nordicsemi.com/thread/342831?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 08:04:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92e12e32-056f-4a64-8e15-681ba5546ace</guid><dc:creator>DimitrisP</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;Thanks for your answer. As a workaround for this I propose the following prosedure&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If the the bonds are lost from peripheral side then the&amp;nbsp;PM_EVT_BONDED_PEER_CONNECTED still occures&lt;/li&gt;
&lt;li&gt;When the previus hapens and you want to force pair avoid calling the&amp;nbsp;pm_handler_disconnect_on_sec_failure(p_evt) function in the&amp;nbsp;pm_evt_handler and instead call the&amp;nbsp;pm_conn_secure(p_gap_evt-&amp;gt;conn_handle,true)&lt;/li&gt;
&lt;li&gt;That will force a repair between central and peripheral&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Dimitris&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Repair/Bond when bonds erased from peripheral</title><link>https://devzone.nordicsemi.com/thread/342818?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 07:21:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad165432-c880-41ea-9203-518a64cb3673</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Dimitris&lt;/p&gt;
&lt;p&gt;No, unfortunately not, after the bonding information has been removed from one side it&amp;#39;s not possible for the devices to just repair like that, as devices need to be bonded to one another in order to repair correctly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Repair/Bond when bonds erased from peripheral</title><link>https://devzone.nordicsemi.com/thread/342645?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 08:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07defabe-ec4e-4339-a75c-4c9c361f0dcb</guid><dc:creator>DimitrisP</dc:creator><description>&lt;p&gt;Hi Simonr&lt;/p&gt;
&lt;p&gt;As I wrote in my message I am aware of that. The cuestion is if there is a way to force repair when bonding information is lost from peripharal side. The secure connection is initiated from central side&lt;/p&gt;
&lt;p&gt;Dimitris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Repair/Bond when bonds erased from peripheral</title><link>https://devzone.nordicsemi.com/thread/342643?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 08:55:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10260e18-ee40-471c-ac62-9222bf364dc7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This is because the cantral still thinks it is bonded to the peripheral, but the peripheral does not have this data anymore, resulting in a failure.&lt;/p&gt;
&lt;p&gt;So if you erase the bonding information from the peripheral you should make sure that the central erases its bonding information as well, either manually or whenever the peripheral disconnects or signals it somehow.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>