<?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>ble_app_uart with Android 5.1 failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35500/ble_app_uart-with-android-5-1-failed</link><description>I try launch example Nordic UART and get error: Error 133 (0x85) GATT ERROR 
 I need use stack for nRF51822 without external 32KHz crystal. 
 Here -&amp;gt; softdevice work with Android properly , but IMPOSSIBLE USE this SoftDev version without external 32KHz</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Jul 2018 08:32:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35500/ble_app_uart-with-android-5-1-failed" /><item><title>RE: ble_app_uart with Android 5.1 failed</title><link>https://devzone.nordicsemi.com/thread/141101?ContentTypeID=1</link><pubDate>Tue, 24 Jul 2018 08:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d7ce153-4ab6-4185-843e-856ebc77b067</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Ok, no problem.&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart with Android 5.1 failed</title><link>https://devzone.nordicsemi.com/thread/140507?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 10:37:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15c7ef3b-1562-4bf1-aa0a-9c6f03ca6d4e</guid><dc:creator>sevstels</dc:creator><description>&lt;p&gt;Hi Martin.&lt;/p&gt;
&lt;p&gt;Problem presently is not solved, and I return to this in September.&lt;/p&gt;
&lt;p&gt;Sorry... crazy busy in other task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart with Android 5.1 failed</title><link>https://devzone.nordicsemi.com/thread/137026?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 08:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92be0998-cf73-4242-af21-b85000635f60</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Can you provide a sniffer trace? If you have an extra nordic development kit you can use our &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/sniffer/sniffer_intro.html?resultof=%22%73%6e%69%66%66%65%72%22%20"&gt;nRF Bluetooth Sniffer solution&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Can you confirm that your firmware is not resetting? Have you enabled debugging and &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;checked for asserts like this&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Have you made any changes to the&amp;nbsp;ble_app_uart_pca10028_S130 project, other than changing the LF clock source?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The problem is that&amp;nbsp;Error 133 (0x85) GATT ERROR is very generic. It can be almost anything, even your phone. So just a message giving you this error is almost useless. The fact that it seems related to your LF clock source is certainly a clue though, but not much to go on either. Can you try this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_RC,  \
                                 .rc_ctiv       = 4,         \ // &amp;lt;- Calibrate every second
                                 .rc_temp_ctiv  = 0,    \  // &amp;lt;- Always calibrate even if the temperature hasn&amp;#39;t changed.
                                 .xtal_accuracy =  0}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another thing is that the examples in the SDK are written for an nRF51 variant with 32 kB of RAM, and you are using a variant with only 16 kB. Although&amp;nbsp;as far as I can see, it seems like you have adjusted your project settings accordingly (RAM end address = 0x20003FFF)&lt;/p&gt;
&lt;p&gt;PS: I&amp;#39;ll be traveling until Wednesday next week and the response time might be slower than usual.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart with Android 5.1 failed</title><link>https://devzone.nordicsemi.com/thread/136731?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 11:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407caad4-8a32-4f4f-be20-6e3c653e3dfd</guid><dc:creator>sevstels</dc:creator><description>&lt;p&gt;1. &lt;span lang="en"&gt;Nothing happens.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;2. IAR + JLink.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;3. No...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;4. If&amp;nbsp; download to this board S130_nrf51_1.0.0_softdevice and use SDK v10 - it working well.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en"&gt;5. Yes, I have 2 chinise test boards with replaced to nRF51822 QFAA H10 chip.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;And this boards also have same trables.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/DPP_5F00_0001.JPG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart with Android 5.1 failed</title><link>https://devzone.nordicsemi.com/thread/136725?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 11:18:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3628ac74-cc5b-4028-9ef1-97e99f49318c</guid><dc:creator>MartinBL</dc:creator><description>&lt;ol&gt;
&lt;li&gt;What happens with your board after it disconnects? Does it reset?&lt;/li&gt;
&lt;li&gt;Have you debugged your board?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Do you get any logging info out of the nRF51?&lt;/li&gt;
&lt;li&gt;Could it be that the application fails?&lt;/li&gt;
&lt;li&gt;Do you have a development kit or a different board that you can try the same code on?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart with Android 5.1 failed</title><link>https://devzone.nordicsemi.com/thread/136668?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 08:07:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c499f46e-0b69-4ca6-80a4-4e7aa49d35ec</guid><dc:creator>sevstels</dc:creator><description>&lt;p&gt;SDK: nRF5_SDK_12.3.0_d7731ad&lt;/p&gt;
&lt;p&gt;SD: nRF5_SDK_12.3.0_d7731ad/components/softdevice/s130/hex/s130_nrf51_2.0.1_softdevice.hex&lt;/p&gt;
&lt;p&gt;Project: ble_app_uart_pca10028_S130&lt;/p&gt;
&lt;p&gt;Chip: nRF51822 QFAA H10&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;C/C++ Compiler:&lt;/p&gt;
&lt;p&gt;BLE_STACK_SUPPORT_REQD&lt;br /&gt;NRF51822&lt;br /&gt;BOARD_PCA10001&lt;br /&gt;NRF_SD_BLE_API_VERSION=2&lt;br /&gt;S130&lt;br /&gt;NRF51&lt;br /&gt;SOFTDEVICE_PRESENT&lt;br /&gt;SWI_DISABLE0&lt;/p&gt;
&lt;p&gt;Linker:&lt;/p&gt;
&lt;p&gt;ROM 0x1b000 - 0x3BFFF&lt;/p&gt;
&lt;p&gt;RAM 0x20001fe8 -&amp;nbsp;0x20003FFF&lt;/p&gt;
&lt;p&gt;CSTACK 0x600&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;sdk_config.h&lt;/p&gt;
&lt;p&gt;#define CLOCK_CONFIG_LF_SRC 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // 1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;pca_10001.h&lt;/p&gt;
&lt;p&gt;&amp;nbsp; // Low frequency clock source to be used by the SoftDevice&lt;br /&gt;#define NRF_CLOCK_LFCLKSRC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {.source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NRF_CLOCK_LF_SRC_RC,&amp;nbsp; \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .rc_ctiv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 16,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .rc_temp_ctiv&amp;nbsp; = 2,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .xtal_accuracy =&amp;nbsp; 0}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can see device in RF, but device unconnectable.&lt;/p&gt;
&lt;p&gt;nRF Connect LOG display give:&amp;nbsp; &lt;strong&gt;&lt;span style="color:#ff0000;"&gt;Error 133 (0x85) GATT ERROR &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart with Android 5.1 failed</title><link>https://devzone.nordicsemi.com/thread/136578?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 13:52:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:243a06be-584e-4ff8-9ade-152de90cf659</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Ok, so on&amp;nbsp;your custom board S130 v2 works only when you have an external crystal? The same board and the same softdevice does not work when you remove the crystal?Can you show me how you configure the Softdevice to use the RC clock?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart with Android 5.1 failed</title><link>https://devzone.nordicsemi.com/thread/136552?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 12:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a395134f-49b1-49c5-9c68-1d17b87e814f</guid><dc:creator>sevstels</dc:creator><description>&lt;p&gt;Hi Martin.&lt;/p&gt;
&lt;p&gt;I use custom board with nRF51822 QFAA H10 (0x008f)&lt;/p&gt;
&lt;p&gt;This chip with revision 3...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart with Android 5.1 failed</title><link>https://devzone.nordicsemi.com/thread/136547?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 12:19:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ecd014b-e1e4-4ba6-a14c-e3dec99d9980</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately the S130 Softdevice is not compatible with your kit. The PCA10001 kits use&amp;nbsp;an nRF51822 revision 1 or 2, but the S130 only supports revision 3. Please refer to this &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51422_nRF51822_ic_rev_sdk_sd_comp_matrix.html?cp=3_0_4"&gt;compatibility matrix&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would recommend that you upgrade your kit to get the benefit of the new S130 softdevice and because IC revisions 1 and 2 are no longer available on the market.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>