<?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>Device disconnected in android app after 30 seconds</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1312/device-disconnected-in-android-app-after-30-seconds</link><description>Hi, 
 I have a problem when running 51822 with Nrf toolbox on android 4.3 Samsung S4. The problem is that the BluetoothGattServer disconnect itself after 30 seconds. The following is the log from android. 
 01-10 17:22:10.542: D/BluetoothGatt(6797)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Jan 2014 16:13:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1312/device-disconnected-in-android-app-after-30-seconds" /><item><title>RE: Device disconnected in android app after 30 seconds</title><link>https://devzone.nordicsemi.com/thread/6018?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2014 16:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcb5817c-7813-48c4-a94b-38b2d5ea9254</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;There is no need to send nonsense data to keep a link with the S110, the link will be kept automatically by the S110.&lt;/p&gt;
&lt;p&gt;When you see problems like this it&amp;#39;s useful to look at the reason for the disconnect. You can get this by looking at the .reason field in the ble_gap_evt_disconnected_t event struct on the nRF51. This will usually tell you something about why the disconnect happened.&lt;/p&gt;
&lt;p&gt;Also, it would be helpful if you could get an on-air trace of what happens, using our Sniffer. It is available for download &lt;a href="https://www.nordicsemi.com/eng/content/download/39099/660783/file/ble-sniffer_win_0.9.5.zip"&gt;here&lt;/a&gt; and can be used with an nRF51822 Evaluation Kit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>