<?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>RemoteUserTerminatedConnection reason causes disconnection between central and peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1836/remoteuserterminatedconnection-reason-causes-disconnection-between-central-and-peripheral</link><description>Hi all, 
 I am a new user to the BLE technology and to the Nordic&amp;#39;s development tools/chips.
I use the nRF51822 development kit and the nRFgo Starter kit to develop a BLE application and the PCA10000 USB dongle to receive data. The PCA10000 is the central</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Mar 2014 10:23:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1836/remoteuserterminatedconnection-reason-causes-disconnection-between-central-and-peripheral" /><item><title>RE: RemoteUserTerminatedConnection reason causes disconnection between central and peripheral</title><link>https://devzone.nordicsemi.com/thread/7953?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2014 10:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4429ed90-26e5-4155-a363-3270cf097ab4</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Great that you got it working! To better understand connection interval, you may have use in taking a look at these questions:
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/how-do-i-calculate-throughput-for-a-ble-link" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/how-do-i-calculate-throughput-for-a-ble-link&lt;/a&gt;
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/what-is-connection-parameters" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/what-is-connection-parameters&lt;/a&gt;
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/discussions/how-to-minimize-current-consumption-for-ble-application-on-nrf51822" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/discussions/how-to-minimize-current-consumption-for-ble-application-on-nrf51822&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Finally, if you found my reply helpful, I&amp;#39;d appreciate it if you could accept it as an answer, by clicking the button below it, to clear up this question! :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RemoteUserTerminatedConnection reason causes disconnection between central and peripheral</title><link>https://devzone.nordicsemi.com/thread/7952?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2014 07:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2238fb2b-2614-4b93-a455-f95bb905742e</guid><dc:creator>John Vourvoulakis</dc:creator><description>&lt;p&gt;Ole, thank you for your reply.
Problem is solved. It seems it was the connection interval.
The peripheral was configured to have 500ms connection interval and when I changed to 20ms it did not disconnected any more.
I am not sure if this is the best solution since I do not know how it affects the power consumption but it is acceptable at the moment.
As you can see I try to figure out fundamental things and procedures on BLE and example code.
Thanks once more.
John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RemoteUserTerminatedConnection reason causes disconnection between central and peripheral</title><link>https://devzone.nordicsemi.com/thread/7951?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2014 13:30:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53c4fe44-1e9c-4d48-a232-d213674d9b30</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;If it weren&amp;#39;t for the disconnect reason, I&amp;#39;d guess that this disconnect happened due to connection parameters negotiation failing, but this should give the reason BLE_HCI_CONN_INTERVAL_UNACCEPTABLE. This would explain the different behavior of the MCP (which connects with 20 ms by default, but accepts any update request), HealthThermoDemo (which connects with 20 ms, and does not accept any updates) and your custom app (which most likely connects with some other interval, and may not accept updates). To accept updates, you must set a handler for the ConnectionUpdateRequest event on the MasterEmulator object, and reply by calling UpdateConnectionParameters.&lt;/p&gt;
&lt;p&gt;The reason you see is what would be expected if the Peripheral device disconnects the link voluntarily, typically by calling sd_ble_gap_disconnect() with this particular error code as a parameter. I would therefore not normally expect to see this unexpectedly, unless there is some code path in which your application does this.&lt;/p&gt;
&lt;p&gt;If you can&amp;#39;t solve this problem, could you please supply the complete code of your project? If you can&amp;#39;t share it here in the open, feel free to create a support case and submit it there. Any code shared there will be handled in confidentiality.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>