<?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>MESH packet loss problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47322/mesh-packet-loss-problem</link><description>Hi, 
 I use the server and client from &amp;quot;light_switch DEMO&amp;quot;, along with iOS app (nRF Mesh) for setting and pairing. Both ”subscription” &amp;amp; ”publish address” are set as 0xC001, but there are 20% (2 out of 10) fail to receive my commands. Based on RTT output</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 May 2019 09:05:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47322/mesh-packet-loss-problem" /><item><title>RE: MESH packet loss problem</title><link>https://devzone.nordicsemi.com/thread/188156?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 09:05:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca457358-b8f2-4f2d-82e2-5c2672361ae4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Solin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any problem having both client and server on same project. But you need to make sure they are not on the same element. In other words, they should have different address.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can find in this demo we do the same thing, on each thingy there is a light switch client and a light switch server:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/thingy52-mesh-provisioning-demo"&gt;https://github.com/NordicPlayground/thingy52-mesh-provisioning-demo&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MESH packet loss problem</title><link>https://devzone.nordicsemi.com/thread/187846?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 09:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2faaff71-861a-4e61-b7d9-ebcaaef58a96</guid><dc:creator>Solin</dc:creator><description>&lt;p&gt;&lt;!--StartFragment --&gt;&lt;/p&gt;
&lt;div&gt;Hi Hung,&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I am the same team with Roger. Maybe I know the problem origin, as the light_switch demo has 2 devices (client, server), but our project involves each device that includes both client and server, thats why repeat sending would fail. My question is, under our use case, we cannot ensure which device would initiate the send command (client), thats why we have every device to include client as well server too, is it fine and correct? If not, how can we handle this issue?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks!&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MESH packet loss problem</title><link>https://devzone.nordicsemi.com/thread/187785?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 07:44:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:259cb42a-c9c9-4ee0-88f7-3a6acd7f871a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Roger,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume you meant the &amp;quot;server still cannot receive data&amp;quot; is only for 20% of the time ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which nRF52832 module did you use ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you test with normal BLE examples and check if you see the same bad performance ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you enable LOG_LEVEL_DBG1, do you see &amp;quot;TX:&amp;quot; in the log on the client ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MESH packet loss problem</title><link>https://devzone.nordicsemi.com/thread/187548?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 13:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d717663-45b9-4313-b73e-d64c220cfa4a</guid><dc:creator>rogery</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Using 52832 BLE module.&lt;/p&gt;
&lt;p&gt;Using Client to send out by &amp;quot;generic_onoff_client_set&amp;quot;, at the same time, we set &amp;quot;Retransmit count&amp;quot; as 5, set &amp;quot;Invertal Steps&amp;quot; as 3, but server still cannot receive data (I&amp;#39;ve opened the LOG_LEVEL_DBG1, and cannot find any RX wording).&lt;/p&gt;
&lt;p&gt;In addition, these devices are placed on the same table nearby each other.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MESH packet loss problem</title><link>https://devzone.nordicsemi.com/thread/187509?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 11:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b843b1a6-6299-4f95-9f68-01f48be8f2df</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Roger,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which hardware do you use to test ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How do you verify that the missing commands were actually sent from the client ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which type message you sent from the client. If you want to have more reliable communication you should use set with acknowledge message so that when there is a timeout the stack will retransmit the data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please test in an environment with less air traffic (wifi for example)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You may want to turn logging level to&amp;nbsp;LOG_LEVEL_DBG1 to see more log on access layer (look for &amp;quot;TX:&amp;quot; &amp;quot;RX:&amp;quot; log)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>