<?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 packets retrying</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18555/ble-packets-retrying</link><description>I stumbeled across a problem with my application, which runs on s120. My case is: I have a S120, configured as a peripheral and I have an Android 5.0 Motorola smartphone. I want to transfer FW via NUS service, using my own protocol for packaging data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Dec 2016 12:01:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18555/ble-packets-retrying" /><item><title>RE: BLE packets retrying</title><link>https://devzone.nordicsemi.com/thread/71612?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2016 12:01:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99695af6-5d4e-4106-902e-0505c8814723</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I&amp;#39;m glad you found the issue MC :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE packets retrying</title><link>https://devzone.nordicsemi.com/thread/71611?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2016 09:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce8ef2e5-8e2a-4c16-8d2b-08462c04f482</guid><dc:creator>MC</dc:creator><description>&lt;p&gt;You wrote your comment as I was writing my answer :) The issue was indeed latency setting to 3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE packets retrying</title><link>https://devzone.nordicsemi.com/thread/71610?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2016 09:48:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff03606d-01d8-43a7-afa1-f6c89409349f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi MC,&lt;/p&gt;
&lt;p&gt;Are you sure you use the S120 ? What I can see in the trace is that the phone is the central and your device is the peripheral. Usually S120 is to be used as central.&lt;/p&gt;
&lt;p&gt;From the trace it looks more like the slave is having the setting of slave latency = 3 , it sleeps for 3 connection interval before waking up to receive packet from the central. But it could also be due to the interference or bad antenna design causing packet missing.&lt;/p&gt;
&lt;p&gt;Which SDK you are using ? And which Softdevice version ?  You can try to test through put with our example in the SDK, for example the ble_app_uart, you then would need to modify the app to send data as fast as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE packets retrying</title><link>https://devzone.nordicsemi.com/thread/71613?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2016 09:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aadf362e-d3e2-4435-bd27-416f7d3d8a5b</guid><dc:creator>MC</dc:creator><description>&lt;p&gt;I figured it out by myself, the problem was connection parameters settings. I&amp;#39;ve set slave latency to 3, which in fact caused the S120 to &amp;quot;sleep&amp;quot; for up to 3 consecutive intervals, but at the same time, smartphone was trying to send the data, but had no response from S120. This answers my question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>