<?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>SDK15 nRF52810 need to delete bonded data when try to connect with previos bonded device.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39848/sdk15-nrf52810-need-to-delete-bonded-data-when-try-to-connect-with-previos-bonded-device</link><description>Hi! 
 SDK15, nRF52810, S110 (peripherial) 
 I have bonded pair with central device. Now I erase all data in this central device.The periph device has bonded data. I restarted both devices and set central to bonding mode. Now I want in the periph first</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Nov 2018 12:19:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39848/sdk15-nrf52810-need-to-delete-bonded-data-when-try-to-connect-with-previos-bonded-device" /><item><title>RE: SDK15 nRF52810 need to delete bonded data when try to connect with previos bonded device.</title><link>https://devzone.nordicsemi.com/thread/155744?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 12:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7dd26a5-bcb4-4a2c-a887-20dca852b3a1</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Thanks for answer.&lt;/p&gt;
&lt;p&gt;Yes, s112 means.&lt;/p&gt;
&lt;p&gt;Yes, when I have connect with central on a periph side, I have&amp;nbsp;&lt;span&gt;PM_EVT_BONDED_PEER_CONNECTED&amp;nbsp;case. Even on the central side bonding was deleted.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, project is fall. Means, I have error. I don&amp;#39;t remember which error exactly. Now it is doesn&amp;#39;t matter. This means that when try to erase bonds on the peripherial in the&amp;nbsp;PM_EVT_BONDED_PEER_CONNECTED, project doesn&amp;#39;t works. Ofcourse, possible to erase this bond before any connetions.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, when connecting your peripheral to a new central device,&amp;nbsp;I get the BLE_GAP_EVT_CONNECTED event. And in this event possible to delete bonds.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I decided this problems via write to power register flag and reboot. When programs started, read this flag and erase bonds if it need.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK15 nRF52810 need to delete bonded data when try to connect with previos bonded device.</title><link>https://devzone.nordicsemi.com/thread/155730?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 11:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfd370a2-4f46-4022-b6ec-07aaeca9b0c9</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Did you make any progress on this?&lt;/p&gt;
[quote user=""]SDK15, nRF52810, S110 (peripherial)[/quote]
&lt;p&gt;I see you wrote Softdevice s110, but I assume you mean s112? &lt;/p&gt;
&lt;p&gt;However, when you have the bond information stored on your peripheral you get the PM_EVT_BONDED_PEER_CONNECTED event when connecting to the bonded central?&lt;/p&gt;
&lt;p&gt;But when you erase the bond information on your peripheral your &amp;quot;project fall&amp;quot; when trying to connect to the bonded central?&lt;br /&gt;Could you elaborate what you mean by &amp;quot;project fall&amp;quot;?&lt;/p&gt;
&lt;p&gt;When connecting your peripheral to a new central device, you get the BLE_GAP_EVT_CONNECTED event?&lt;/p&gt;
&lt;p&gt;If the statements above is correct, this seems to be expected behaviour. &lt;br /&gt;If you want to delete the bond information, you will need to erase the bond information in both the peripheral and the central in order to reconnect.&lt;/p&gt;
&lt;p&gt;You can read more about the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/group__peer__manager.html#gga4a0e37cf07eb91e1a1808995b957808ba06f00dfb16c0013be0d7d44f2f6b0dff"&gt;PM_EVT_BONDED_PEER_CONNECTED&lt;/a&gt; event.&lt;br /&gt;&lt;em&gt;&amp;quot;A connected peer has been identified as one with which we have a bond. When performing bonding with a peer for the first time, this event will not be sent until a new connection is established with the peer. When we are central, this event is always sent when the Peer Manager receives the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.0.0/group___b_l_e___g_a_p___e_n_u_m_e_r_a_t_i_o_n_s.html#ggada486dd3c0cce897b23a887bed284fefaa0b4789724d202a13a5e7eab85c52957"&gt;BLE_GAP_EVT_CONNECTED&lt;/a&gt; event. When we are peripheral, this event might in rare cases arrive later. &amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK15 nRF52810 need to delete bonded data when try to connect with previos bonded device.</title><link>https://devzone.nordicsemi.com/thread/154730?ContentTypeID=1</link><pubDate>Fri, 26 Oct 2018 19:53:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:399fb23d-620c-44fc-9f31-b7fe88032f47</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;I decided this problem but only via flash. When I get case PM_EVT_BONDED_PEER_CONNECTED, I set flag and reboot. After reboot I check this flag and delete all bonds.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is this&amp;nbsp;the only true solution? Or possible exist directly method from some case wo flags and reboot?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>