<?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>Bondmanager and scheduler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/942/bondmanager-and-scheduler</link><description>I took the ble_app_proximity as an example.
Before I introduced the scheduler it worked ( not always but reasonably well). 
 I added APP_SCHED_INIT(SCHED_MAX_EVENT_DATA_SIZE, SCHED_QUEUE_SIZE); to the main init.
I added app_sched_execute(); to the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Nov 2013 13:46:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/942/bondmanager-and-scheduler" /><item><title>RE: Bondmanager and scheduler</title><link>https://devzone.nordicsemi.com/thread/4518?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2013 13:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64dc7d7d-92ed-4d3f-8e9f-d350d7da2df8</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;The bond manager&amp;#39;s event handler is not required to make things work.&lt;/p&gt;
&lt;p&gt;By default app_error_handler on top of main contains a reset, but I&amp;#39;d recommend you to remove that for development and instead use an infinite loop (or ble_debug_assert_handler). This should make it possible for you to see what kind of error occurs, and better be able to debug the problem.&lt;/p&gt;
&lt;p&gt;If this does not help you, can you please supply the error code and line number/file the error handler points at (if any), and the full source code of your modified app?&lt;/p&gt;
&lt;p&gt;Edit: Clarified that it is the bond manager&amp;#39;s event handler that&amp;#39;s not required. You do need the bond manager to support bonding (unless you want to reimplement its functionality yourself, which I would strongly recommend you not to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bondmanager and scheduler</title><link>https://devzone.nordicsemi.com/thread/4517?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2013 10:58:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c356c8d8-bbff-4de7-b51c-f053eb4049fa</guid><dc:creator>Leon Schmetz</dc:creator><description>&lt;p&gt;I saw that the bondmanager init structure also has room for an event handler. This is not implemented in the proximity demo.&lt;/p&gt;
&lt;p&gt;Might this be the cause of the troubles?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>