<?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>unexpected connection termination!</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1425/unexpected-connection-termination</link><description>hi nordic team, 
 i am creating a custom profile with one characteristic, where it will read data from sensor and send it to the usb dongle for every 200ms. 
 i created a timer with 200ms, the timeout_handler will send obtained data 
 my problem, it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jan 2014 11:04:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1425/unexpected-connection-termination" /><item><title>RE: unexpected connection termination!</title><link>https://devzone.nordicsemi.com/thread/6385?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2014 11:04:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff8345be-7b7a-44b8-bb1b-ef2d6bb7aaf8</guid><dc:creator>rangineni balu</dc:creator><description>&lt;p&gt;i already created support case for this problem, waiting for the solution&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unexpected connection termination!</title><link>https://devzone.nordicsemi.com/thread/6384?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2014 10:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46a0ea0d-144e-4794-acd6-609e55a62871</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;You may see an assert from the softdevice with this configuration, so it is not recommended for production, but it should be workable for development.&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re not able to solve this problem, can you please create a support case and upload your complete project, so I can take a look at it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unexpected connection termination!</title><link>https://devzone.nordicsemi.com/thread/6383?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2014 09:40:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b8140cc-8165-4511-a745-4d868422b495</guid><dc:creator>rangineni balu</dc:creator><description>&lt;p&gt;thanks for your reply,&lt;/p&gt;
&lt;p&gt;i am sure that i am not using the scheduler, in app_timer_init func i gave the last parameter as false only.&lt;/p&gt;
&lt;p&gt;now, it not going to the assert_handler, but it is hanging somewhere and i am getting this error BTLE_LOCAL_HOST_TERMINATED_CONNECTION when i am trying to do anything from the MCPanel side like write, it is disconnecting at that point&lt;/p&gt;
&lt;p&gt;while downloading the sdkv5.1.0 it showing &amp;quot;Please notice: nRF51 SDK v5.x.0 has tailored for, thus supports only the following devices:- nRF51822 QFAAGC- nRF51422 QFAADA&amp;quot; and &amp;quot;PCA10001 v2.1.0 and 2.2.0&amp;quot;, but my device is nRF51822 QFAACO, and PACA1001 V2.0.0&lt;/p&gt;
&lt;p&gt;is this may be the reason? but all other codes you provided are working properly like ble_app_hrs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unexpected connection termination!</title><link>https://devzone.nordicsemi.com/thread/6382?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2014 09:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff3cfe0-2e9f-4f7f-9f4f-0db19fc2f236</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;If you don&amp;#39;t use the scheduler, this should not happen. Are you sure that you don&amp;#39;t initialize the app_timer module to try using it, and that that is what fails?&lt;/p&gt;
&lt;p&gt;To initialize app_timer for not using the scheduler, the last parameter to app_timer_init must be false.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unexpected connection termination!</title><link>https://devzone.nordicsemi.com/thread/6381?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2014 05:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56a939a2-7f73-46e1-a3f0-6a4d44b48b46</guid><dc:creator>rangineni balu</dc:creator><description>&lt;p&gt;hi ole morten,&lt;/p&gt;
&lt;p&gt;thanks for your reply&lt;/p&gt;
&lt;p&gt;i am not using the scheduler, in that case even i change the SCHED_QUEUE_SIZE, how it effects my code!&lt;/p&gt;
&lt;p&gt;still i tried with that even the problem is there, i think there is problem in the timer, it stops after every 1 to 2 secs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unexpected connection termination!</title><link>https://devzone.nordicsemi.com/thread/6380?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 15:48:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fad0794-fc2d-4910-b42e-d33bca362cc0</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;The error code 0x04 means NRF_ERROR_NO_MEM. If you see this within app_timer, it indicates that your scheduler queue size is filled. I&amp;#39;d therefore recommend you to try increasing the size of it, by increasing the SCHED_QUEUE_SIZE define.&lt;/p&gt;
&lt;p&gt;Also remember that halting on a breakpoint and starting running again doesn&amp;#39;t work while advertising or in a connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>