<?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 to identify bond deletion</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7023/how-to-identify-bond-deletion</link><description>Hi, 
 In my application, I would like to take some action, when the bonding is removed from the phone.
At the moment I&amp;#39;m using static key for bonding and I see that BLE_GAP_EVT_SEC_PARAMS_REQUEST event gets generated for an attempt to bond with the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 May 2015 07:11:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7023/how-to-identify-bond-deletion" /><item><title>RE: How to identify bond deletion</title><link>https://devzone.nordicsemi.com/thread/24788?ContentTypeID=1</link><pubDate>Wed, 13 May 2015 07:11:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dee585f-5f29-4fb6-8611-9bf9b756a374</guid><dc:creator>sidekick</dc:creator><description>&lt;p&gt;Thank you. Yes, I was trying to distinguish bond deletion with disconnection. But unfortunately, as you&amp;#39;ve mentioned, It is not possible :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to identify bond deletion</title><link>https://devzone.nordicsemi.com/thread/24787?ContentTypeID=1</link><pubDate>Tue, 12 May 2015 17:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86d3e027-a224-43c7-b8f0-5350aa6aba2a</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Hi, in short, are you looking a way to distinguish&lt;/p&gt;
&lt;p&gt;bond deletion from the client(central) and disconnection without deletion?&lt;/p&gt;
&lt;p&gt;In this case, check one of my questions. &lt;a href="https://devzone.nordicsemi.com/question/29695/hid-keyboard-problems-after-disconneting-and-downloading/"&gt;My Q&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I asked a similar thing. The answer for this question is no. You cannot distinguish it.&lt;/p&gt;
&lt;p&gt;Referencing from the answer from my question, both cases fall into &lt;strong&gt;BLE_GAP_EVT_DISCONNECTED&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Also, both cases set &amp;quot;reason&amp;quot; value of this event as 0x13 (timeout reason).&lt;/p&gt;
&lt;p&gt;Hope this helped.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>