<?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>how to check connection fail?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28368/how-to-check-connection-fail</link><description>Hi, I&amp;#39;m using nRF52832, SDK13.0.0 as peripheral. 
 My iPhone app(my company&amp;#39;s) makes connection without problem.
But Android app gets connection fail when it tries to connect. 
 Android callback function is
onConnectionStateChange(BluetoothGatt gatt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 16 Dec 2017 08:09:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28368/how-to-check-connection-fail" /><item><title>RE: how to check connection fail?</title><link>https://devzone.nordicsemi.com/thread/111920?ContentTypeID=1</link><pubDate>Sat, 16 Dec 2017 08:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3f006b1-e6ea-4411-8f68-6a7b7d5f60d2</guid><dc:creator>roger.k</dc:creator><description>&lt;p&gt;Hi. Hung Bui. Thank you very much for your help. Your reply is perfect. That&amp;#39;s what i really wanted. I already read a lot of documents here about 133 error, but there was not a perfect answer to me as you know. Now I read your link, I think i have a good point to debug. I&amp;#39;ll add some delay as your recommendation. And i&amp;#39;ll try to run &lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-ble"&gt;github.com/.../pc-nrfconnect-ble&lt;/a&gt; app. Thank you very much again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to check connection fail?</title><link>https://devzone.nordicsemi.com/thread/111919?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 13:19:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a62586d6-0077-47b4-a8ec-1d0a20ac7564</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Roger, could you provide some more information about your Android device ? We have seen error 133 quite often in the past but didn&amp;#39;t have a clear explanation why it happens.
You can try to add some delay before you do anything after connection established. As you can read about it &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox/issues/9"&gt;here&lt;/a&gt; and &lt;a href="https://android.jlelse.eu/lessons-for-first-time-android-bluetooth-le-developers-i-learned-the-hard-way-fee07646624"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Also, please try using the nRFConnect app for testing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to check connection fail?</title><link>https://devzone.nordicsemi.com/thread/111921?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 11:55:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fd65835-622e-440d-9ca4-ec410d974f6c</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Roger, you need to learn how to use BLE sniffer/radio analyzer and how to read the logs. This is typical example of situation which can be debugged indirectly by spending days and weeks by looking into traces from blackbox like Android phone or you can understand to what is happening in few hours after making few radio logs.&lt;/p&gt;
&lt;p&gt;But I guess I&amp;#39;m not the first one on this forum who suggests this way to you...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>