<?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 Uart Example Data Link Layer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34828/ble-uart-example-data-link-layer</link><description>Dear Nordic Support, 
 
 does the BLE Uart example (SKD 14.2) inlcude any data link layer machnisms, for example error detection &amp;amp; correction, collision avoidance? 
 I implemented an echo mechnism for a type approval software. The BLE peripheral device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 May 2018 14:08:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34828/ble-uart-example-data-link-layer" /><item><title>RE: BLE Uart Example Data Link Layer</title><link>https://devzone.nordicsemi.com/thread/133681?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 14:08:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78c767bb-e85c-4e52-877c-26bf04870378</guid><dc:creator>Moritz Blumenthal</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;thanks for your information. The slave latency is defined as 0 in main.c An echo request is send once a second and some addition data is send each 500 ms.&lt;/p&gt;
&lt;p&gt;I reviewd the uart interface in my application an it looks like the data was lost there. So far it is running without any loss.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Uart Example Data Link Layer</title><link>https://devzone.nordicsemi.com/thread/133675?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 13:35:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29102c9d-cab8-4293-96ee-d82569638e39</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To understand where the data is lost, you will likely need to create an on-air sniffer log (for instance using nRF sniffer).&lt;/p&gt;
&lt;p&gt;All data in BLE is reliable transfer, meaning that data will be re transmitted until success, before any new data is sent. This is handled by the link layer.&lt;/p&gt;
&lt;p&gt;In this case I can only assume the data is &amp;quot;lost&amp;quot; in the upper layers, for instance you do not write anything about the throughput here, it may be that you overrun the buffers somehow. If you rely on much data both ways, it is typically a good idea to set slave latency to 0 or send dummy packets from the peripheral that indirectly ensure to &amp;quot;fetch&amp;quot; data from the central.&lt;/p&gt;
&lt;p&gt;Does it also happen if you use slave latency = 0 and for instance send data with some delay from the peripheral?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>