<?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>nRF52832 disconnecting from android device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26113/nrf52832-disconnecting-from-android-device</link><description>I am trying to connect the device to android phone both on nRF connect as well as normal pairing. Both seems to not work. 
 I get this log from the device:
on_ble_evt: BLE_GAP_EVT_DISCONNECTED. Reason: 0x2a 
 Log from nRF connect UART:
ERROR 14 (0xe</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Oct 2019 07:37:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26113/nrf52832-disconnecting-from-android-device" /><item><title>RE: nRF52832 disconnecting from android device</title><link>https://devzone.nordicsemi.com/thread/213807?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2019 07:37:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:592e6e38-ff39-4a8e-ba24-901eab8c7387</guid><dc:creator>Ameer Usman</dc:creator><description>&lt;p&gt;To fix this I restarted the &amp;#39;advertising_start()&amp;#39; service when it got disconnect like so:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;case BLE_GAP_EVT_DISCONNECTED:
{
bool erase_bonds;
NRF_LOG_INFO(&amp;quot;Disconnected.&amp;quot;);
advertising_start(erase_bonds); //added by AUAK
// LED indication will be changed when advertising starts.
// m_conn_handle = BLE_CONN_HANDLE_INVALID; //added by AUAK
break;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This restarts the service once it is disconnected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 disconnecting from android device</title><link>https://devzone.nordicsemi.com/thread/213657?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 12:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e98604d2-d9b7-4b8f-9648-bc9b5eaf4e71</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Sorry for the delayed response. Could you please open a new DevZone ticket please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 disconnecting from android device</title><link>https://devzone.nordicsemi.com/thread/212959?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 10:22:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db71231d-a618-4c97-b96f-1a52e6d392d8</guid><dc:creator>Ameer Usman</dc:creator><description>&lt;p&gt;I am having a similar problem with my nRF52 using SDK_15.3.0. What happens is the led on my board is blinking and when i connect it stabilizes. But when I disconnect it stays stable (like its still in connection) and the nRF52-Development kit is broadcasting no more and you have to restart it.&lt;/p&gt;
&lt;p&gt;Any leads on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 disconnecting from android device</title><link>https://devzone.nordicsemi.com/thread/138860?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 21:21:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c848070f-bb30-4b8d-909d-3a40298ecea8</guid><dc:creator>cprehn</dc:creator><description>&lt;p&gt;I&amp;#39;m having a similar problem.&amp;nbsp; I&amp;#39;ve loaded modified Thingy52 firmware, and I&amp;#39;ve downloaded the Android app for the Thingy from the GitHub.&amp;nbsp; I&amp;#39;m using a Samsung Tab A running Android 5.1.1.&lt;/p&gt;
&lt;p&gt;The Thingy will connect via the release versions of the Thingy app (through both iOS and Android app stores), but after uploading the unmodified GitHub Android code, the Thingy will connect but immediately disconnect, giving me this output on the RTT viewer from the Thingy.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Disconnect Error" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/ble_5F00_rtt_5F00_screenshot.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;After the disconnect, the Thingy becomes unresponsive and must be restarted.&lt;/p&gt;
&lt;p&gt;What might be causing this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 disconnecting from android device</title><link>https://devzone.nordicsemi.com/thread/102898?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2017 13:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8486d8ed-5e28-4d14-aeef-295753646a74</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you been able to connect your Thingy to your Android tablet using the Nordic Thingy app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 disconnecting from android device</title><link>https://devzone.nordicsemi.com/thread/102900?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2017 12:00:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ec452a0-9e4c-4e5e-99b4-3532dd7bdf11</guid><dc:creator>VB</dc:creator><description>&lt;p&gt;I am using Nordic Thingy:52&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 disconnecting from android device</title><link>https://devzone.nordicsemi.com/thread/102899?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2017 10:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67ec237b-45f4-43be-9e8f-ffcb312300e8</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Why are you using the Thingy SDK? Are you using a Nordic Thingy:52? If not, could you download the sdk 14.1.0 &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF5-SDK/nRF5-SDK-zip/59011"&gt;from this location&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 disconnecting from android device</title><link>https://devzone.nordicsemi.com/thread/102901?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 13:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:306f4623-753b-4e64-81d5-ae003b0d5938</guid><dc:creator>VB</dc:creator><description>&lt;p&gt;I am using Thingy SDK and samsung A6 tablet. Where should I disable gatt_init() ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 disconnecting from android device</title><link>https://devzone.nordicsemi.com/thread/102902?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 10:17:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c99e7b7e-7f5f-4fc5-9556-646fca5e3d71</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I would check &lt;a href="https://devzone.nordicsemi.com/question/157877/nrf52832-connection-problem-with-some-android-device/"&gt;this devzone post&lt;/a&gt; &amp;amp; &lt;a href="https://devzone.nordicsemi.com/question/131630/ble_gap_evt_disconnected-probelm/"&gt;this one&lt;/a&gt;. Also, which SDK, Android version &amp;amp; phone are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>