<?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>Bond manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1658/bond-manager</link><description>Hello, 
 I try to add to my project the bond functionality based on the glucose demo app.
I added ble_bongmngr.c , pstorage.c to my project, initialize it... 
 When i try to bond from Master Control panel, it disconnect with this message:
[17:27:07</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Feb 2014 18:26:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1658/bond-manager" /><item><title>RE: Bond manager</title><link>https://devzone.nordicsemi.com/thread/7364?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2014 18:26:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fdd7cb2-7be3-4619-9f5d-bfb537b9e33b</guid><dc:creator>thomas</dc:creator><description>&lt;p&gt;my new version :
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/nrf_error_invalid_param-error-code" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/nrf_error_invalid_param-error-code&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bond manager</title><link>https://devzone.nordicsemi.com/thread/7363?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2014 11:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e38a76a3-68f2-4f37-80ba-fa65bceec6dd</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;First of all, I&amp;#39;d strongly recommend you to follow the recommendation &lt;a href="https://devzone.nordicsemi.com/index.php/problems-with-reset-loop-s110-softdevice#reply-5125"&gt;here&lt;/a&gt; to catch your errors more easily.&lt;/p&gt;
&lt;p&gt;In your case, I suspect that is the BLE_GATTS_EVT_SYS_ATTR_MISSING event being handled both in your main.c and in the bond manager that causes the problem. When doing this, the second ble_gatts_sys_attr_set() call will most likely fail in some way.&lt;/p&gt;
&lt;p&gt;For an example of what kind of changes are needed to start using the bond manager, you can take a look at &lt;a href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs/compare/require-encryption-5.1.0"&gt;this branch&lt;/a&gt;, that I just pushed to GitHub. It shows the basic changes needed to start using the bond manager in the &lt;a href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs"&gt;nrf51-ble-app-lbs&lt;/a&gt; application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>