<?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>Delete bonding after disconnect in S120</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10353/delete-bonding-after-disconnect-in-s120</link><description>Hello, 
 I am working on S120 v2.1.0 and SDK 9.0 for central and I am able to connect to my iPad. Now I need the central to delete the bonding information stored using pstorage that is when I get BLE_GAP_EVT_DISCONNECTED in on_ble_evt callback function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Nov 2015 14:48:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10353/delete-bonding-after-disconnect-in-s120" /><item><title>RE: Delete bonding after disconnect in S120</title><link>https://devzone.nordicsemi.com/thread/38420?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2015 14:48:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44ee6c7c-596b-4b19-8812-09074c8cf769</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The app context is used for handling of bonds in the example. That is, to determine which bond to delete.   In your case you only need to call dm_device_delete() with the corect dm_handle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete bonding after disconnect in S120</title><link>https://devzone.nordicsemi.com/thread/38419?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2015 13:10:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c4090c2-03a5-42e8-a4f0-ccd86f9c3b83</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;I modified the device manager using app_bond functions used in that example project. But I am getting the error &lt;strong&gt;DM_NO_APP_CONTEXT&lt;/strong&gt;. What may the reason for this error?&lt;/p&gt;
&lt;p&gt;Edit: It is due to the &lt;strong&gt;context_len&lt;/strong&gt; which is loading 0xFFFFFFFF from &lt;em&gt;pstorage_load(&amp;amp;context_len)&lt;/em&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete bonding after disconnect in S120</title><link>https://devzone.nordicsemi.com/thread/38418?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2015 10:44:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:955bbe89-73b8-4506-8945-4f6c8c584ade</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You must verify that you are passing a valid handle to this function. That is, the same handle you used in the previous connection. Please have a look at this Github example &lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-peripheral-bond-handling"&gt;here&lt;/a&gt; to see how this API can be used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>