<?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 reduce pakets loss on BLE Mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51882/how-to-reduce-pakets-loss-on-ble-mesh</link><description>Hello everyone. I am working on an RTLS application that uses BLE&amp;#39;s RSSI measurement method (Using nRF52840 dongle) to locate a human. The system has 3 components: 
 
 Beacon: tags are attached to people. These tags broadcast advertisioning according</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Sep 2019 07:39:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51882/how-to-reduce-pakets-loss-on-ble-mesh" /><item><title>RE: How to reduce pakets loss on BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/209080?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2019 07:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deeaf0f6-7c91-443c-a238-117ba5bf44a1</guid><dc:creator>Nguyễn</dc:creator><description>&lt;p&gt;I modify the light_switch_example, then add simple_message_model to transmit character array.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For test success rate, I modify ble_beacon_example with the minor value increase + 1 each advertisioning. In the AP code, I will check current minor value and previous value. If&amp;nbsp;&lt;span&gt;&amp;nbsp;current minor value =&amp;nbsp;previous minor value + 1 =&amp;gt; success, if&amp;nbsp;current minor value&amp;nbsp;&amp;gt; previous minor value + 1 =&amp;gt; loss some packet&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I haven&amp;#39;t try use&amp;nbsp;reliable communication.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce pakets loss on BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/209067?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2019 06:26:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:484bdad8-963c-4a16-89a9-e4a9c5e14f5c</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How to you verify that the messages is in fact sent from the beacon/AP?&lt;/p&gt;
&lt;p&gt;Could you test using one of the BLE examples if you get the same bad performance?&lt;/p&gt;
[quote user="Joakim-Jakobsen"]If you want to have more reliable communication you&amp;nbsp;could try to use set with acknowledge message so that when there is a timeout the stack will re-transmit the data.&amp;nbsp;&lt;br /&gt;[/quote]
&lt;p&gt;Have you tried this?&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;br /&gt;Joakim&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce pakets loss on BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/208835?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 08:49:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7b4cdec-7c3a-4de7-8e98-28744730a6f4</guid><dc:creator>Nguyễn</dc:creator><description>&lt;p&gt;Result for test 1GW, 4 AP, 6 beacons&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1568105339696v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce pakets loss on BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/208834?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 08:43:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63068ff2-a1b6-4262-8abe-b2fc60c529d0</guid><dc:creator>Nguyễn</dc:creator><description>&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I use nRF52840 dongle for all Gateway, APs and Beacons&lt;/p&gt;
&lt;p&gt;In the case test with 1 GW, 1 AP and 9 beacons., I have log from GW and 1 AP. And I see that: The AP receive success ~60% packets, and GW receive success ~40%&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1568105011982v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce pakets loss on BLE Mesh</title><link>https://devzone.nordicsemi.com/thread/208833?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 08:28:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89984cf6-a199-4e1c-86ba-505138f2fec7</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Some packet loss is to be expected, due to RF interference or similar. Increasing the advertising interval, increasing the number of nodes etc. will also increase the packet loss.&amp;nbsp;However, the packet loss you are seeing is quite high! &lt;br /&gt;You could try testing in an environment with less air traffic (WiFi for example).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You say that the gateway is receiving ~40% with 9 beacons and 1 AP. Have you done any tests to figure out if the packet loss is between the Beacon - AP or between AP - Gateway?&lt;/p&gt;
&lt;p&gt;You are using the nRF52940 Dongle as the beacons. Which HW are you using for the AP and the gateway?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you want to have more reliable communication you&amp;nbsp;could try to use set with acknowledge message so that when there is a timeout the stack will re-transmit the data.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&amp;nbsp;&lt;br /&gt;Joakim&lt;/span&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></channel></rss>