<?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>data lost when connected to android</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46852/data-lost-when-connected-to-android</link><description>Hi, 
 I am using the sdk 14, S132, ble_app_uart example. 
 My nordic chip receives data from the MCU over UART and passes out to mobile application over BLE. 
 using the nrf connect app 
 with IOS: 
 with Iphone 5 s i lost data 
 with Iphone 7 it worked</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 May 2019 05:19:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46852/data-lost-when-connected-to-android" /><item><title>RE: data lost when connected to android</title><link>https://devzone.nordicsemi.com/thread/186545?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 05:19:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79673dbf-21b0-49fb-a219-e083befb9830</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I solved the issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;just added a request MTU(247) from the App side before starting to listen to the notifications, and that solved the problem, and I started to receive all the data sent from the BLE device to the App Log.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for trying to help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Jawad&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data lost when connected to android</title><link>https://devzone.nordicsemi.com/thread/186544?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 05:15:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c23f6e6-22c8-4ab5-95ae-6232361d7e50</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;turned out that it doesn&amp;#39;t have an external clock, so I switched it to use the internal one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data lost when connected to android</title><link>https://devzone.nordicsemi.com/thread/186018?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 15:04:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e42f64aa-0b5f-4407-b7e7-d465d78900ed</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;What do you mean that the&amp;nbsp;&lt;span&gt;function isn&amp;#39;t returning? You don&amp;#39;t get any error codes?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data lost when connected to android</title><link>https://devzone.nordicsemi.com/thread/185470?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 11:55:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66449c15-b76b-4026-b61b-757d266b6a68</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tested it with two different androids, it&amp;#39;s the same,&lt;/p&gt;
&lt;p&gt;tested it also with another Iphone and it&amp;#39;s working!&lt;/p&gt;
&lt;p&gt;can&amp;#39;t determine where is the problem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Tried to use SDK15.2 with the latest Soft device&amp;nbsp;s132_nrf52_6.1.1_softdevive instead of sdk 14 and soft device 5.0.0&lt;/p&gt;
&lt;p&gt;but i have a problem whenat the initialize of the BLE Sack&lt;/p&gt;
&lt;p&gt;this function isn&amp;#39;t returning !!&amp;nbsp; &amp;nbsp;sd_softdevice_enable(&amp;amp;clock_lf_cfg, app_error_fault_handler);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data lost when connected to android</title><link>https://devzone.nordicsemi.com/thread/185465?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 11:49:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81430a7f-ab06-4654-aea5-85383cd94314</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;just updated the uart callback, it sends the data over BLE every MTU size and when a message size received&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data lost when connected to android</title><link>https://devzone.nordicsemi.com/thread/185383?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 09:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e5cb40a-5510-429f-97a3-0e195a8d44d4</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;What kinda changes have you made to the example? How many bytes do you lose?&lt;/p&gt;
&lt;p&gt;Which Android phone have you tested with? Could you test with other Android phones as well?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data lost when connected to android</title><link>https://devzone.nordicsemi.com/thread/185299?ContentTypeID=1</link><pubDate>Sun, 05 May 2019 06:01:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9173f121-7cd0-435b-aaa7-f69539fb53eb</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I mean by lost data that when I am sending 255 bytes , not all the data received on the App (nrf connect),&lt;/p&gt;
&lt;p&gt;yes I made some changes to the example but not the Connection parameters or the advertising intervals or the MTU.&lt;/p&gt;
&lt;p&gt;I am using the nrf52832.&lt;/p&gt;
&lt;p&gt;have to say again that with Iphone 7 it worked, and the problem is with android devices !&lt;/p&gt;
&lt;p&gt;Thanks for your reply&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Jawad&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: data lost when connected to android</title><link>https://devzone.nordicsemi.com/thread/185177?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 12:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de8891cb-2489-43f4-a323-b0ec68ecb817</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;lost data&amp;quot;? What chip are you using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you modified anything on the ble_app_uart example?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give me more details?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>