<?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>Bluetooth mesh communication failure probability</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86086/bluetooth-mesh-communication-failure-probability</link><description>Hello, 
 I am developing with reference to &amp;quot;Light switch example&amp;quot;. I am verifying communication reliability with one server and one client. Communication failure occurs with a probability of about 10%. I would like to ask you to comment on the validity</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Mar 2022 08:26:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86086/bluetooth-mesh-communication-failure-probability" /><item><title>RE: Bluetooth mesh communication failure probability</title><link>https://devzone.nordicsemi.com/thread/360947?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 08:26:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3029103c-ab68-4681-bacd-d9cfdf1b32ef</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="KaZu_Meistier"]&amp;nbsp;Since the message to the client uses the group address,[/quote]
&lt;p&gt;As in the client having the group address, or the server? Using group addresses in the context of ACKing is dangerous road, as you wouldn&amp;#39;t know the amount of receivers of a message. Segmented messages are ACKed when they are transmitted to a unicast address, either by a recipient or by a friend.&lt;/p&gt;
[quote user="KaZu_Meistier"]- Negative influence of &amp;quot;sending a message 6 times in quick succession&amp;nbsp;&amp;quot;&lt;br /&gt;[/quote]
&lt;p&gt;How fast are we talking here? It might be that the buffer is full, and the messages are in fact not being sent. Have you checked for errors like these?&lt;/p&gt;
&lt;p&gt;And as I mentioned before about noisy environments, you could check if the noise of the environment by using the RSSI viewer in nRF Connect for Desktop, and see if anything stands out.&lt;/p&gt;
[quote user="KaZu_Meistier"]Thank you for the information on the specific application example &lt;br /&gt;and the expected value information on the specific communication failure rate.&lt;br /&gt;[/quote]
&lt;p&gt;I actually had that double checked, and it seems I was mistaken;&amp;nbsp;these factors can get you packet loss of maybe a couple of percent. However, 10% still sounds high. But in the context of mesh this still wouldn&amp;#39;t be too much of an issue, as relaying of messages would compensate. You could also send the messages as acknowledged (meaning that they require an ACK) which would make it reliable. You can also increase the retransmission of all messages, though this have downsides as it will increase the traffic in the network.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh communication failure probability</title><link>https://devzone.nordicsemi.com/thread/360910?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 01:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcc8255e-410a-4629-890f-f86b369a0f05</guid><dc:creator>Kazu</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your comments and information.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will investigate the specifications and analyze by experiment &lt;br /&gt;with the following points as the differences from the expected value of the failure probability.&lt;br /&gt;I will post the results in this thread by the end of April. Please continue the support.&lt;br /&gt;- Negative influence of &amp;quot;sending a message 6 times in quick succession&amp;nbsp;&amp;quot;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;Since the message to the client uses the group address, &lt;br /&gt;&amp;nbsp; &amp;nbsp; I think that the client sends the message after receiving it by the relay function.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;Other information&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;At the time of the experiment, the GATT proxy function was disabled.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;gt;Not exactly that it can&amp;#39;t receive while flash writing, but that the CPU gets stopped when running&lt;br /&gt;&amp;nbsp;&amp;gt;flash operations, which might lead to some packet loss. Though this would depend on the SDK.&amp;nbsp;&lt;br /&gt;&lt;/em&gt;Thank you for the supplementary information. OK.&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;p.s.&lt;br /&gt;Thank you for the information on the specific application example &lt;br /&gt;and the expected value information on the specific communication failure rate.&lt;br /&gt;It&amp;#39;s exciting to know the use cases of technology.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh communication failure probability</title><link>https://devzone.nordicsemi.com/thread/360287?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 12:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80dd7dbc-42e9-4950-92d5-2dd285961040</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="KaZu_Meistier"]The information that the device will not be able to receive while flash writing is useful to me. &lt;br /&gt;[/quote]
&lt;p&gt;Not exactly that it can&amp;#39;t receive while flash writing, but that the CPU gets stopped when running flash operations, which might lead to some packet loss. Though this would depend on the SDK.&amp;nbsp;&lt;/p&gt;
[quote user="KaZu_Meistier"]&lt;p&gt;&lt;span&gt;what communication failure rate do you think is reasonable?&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Hard to say, but maybe one in a thousand, or 10 thousand. That would at least sound like&amp;nbsp;it is in the right ballpark.&lt;/p&gt;
[quote user="KaZu_Meistier"]If it is one way(server -&amp;gt; client), it is estimated that the communication failure rate will drop a little more.&lt;br /&gt;[/quote]
&lt;p&gt;That does make sense, however it wouldn&amp;#39;t be enough to explain the entire discrepancy.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh communication failure probability</title><link>https://devzone.nordicsemi.com/thread/359905?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 05:02:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9326f587-fb1f-4faa-8dff-dc4caa641f7c</guid><dc:creator>Kazu</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your comments and advice.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The information that the device will not be able to receive while flash writing is useful to me. &lt;br /&gt;Thank you for information.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Please give me additional information. Under the conditions under discussion, &lt;br /&gt;what communication failure rate do you think is reasonable?&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;About &amp;quot;Communication failure occurs with a probability of about 10%.&amp;quot;,&lt;br /&gt;Since the server was operating to send 9-byte messages 6 times in quick succession in one communication, &lt;br /&gt;there was a possibility that it could not be sent in the first place. I&amp;#39;m sorry I failed to tell you.&lt;br /&gt;&lt;/span&gt;&lt;span&gt;And, in my experiment, &amp;quot;the server receiving an ACK message (application layer) &lt;br /&gt;from the client&amp;quot; was defined as successful communication.(Means round trip)&lt;br /&gt;If it is one way(server -&amp;gt; client), it is estimated that the communication failure rate will drop a little more.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not familiar with GATT proxy, so I&amp;#39;ll investigate and experiment for improvement.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh communication failure probability</title><link>https://devzone.nordicsemi.com/thread/359729?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 08:53:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c56f6f93-7cb9-448a-b7ed-f842d0ea0ac1</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello! Sorry about the delay.&lt;/p&gt;
[quote user=""]Communication failure occurs with a probability of about 10%.&lt;br /&gt;[/quote]
&lt;p&gt;This is surprising. It is understandable that there is some failure rate, as GATT-proxy&amp;nbsp;advertising or other BLE activity, flash writing etc. might make the radio miss one package. And if the publish settings are configured to only send one unacked message once, there might be some losses between the nodes. The beacon interval can be as low as 10s, but that still makes your estimation of 10% seem very high.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When it comes to the segmented kind not having any errors that makes sense to me, as segmented messages are ACKED, which results in you not knowing if some messages were in fact lost.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should note however that with multiple nodes in the network you will decrease this probability of the message not making it across, as all the nodes will relay the message forward, giving the receiving node multiple opportunities to catch it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should try it again in a less noisy environment, and disable GATT proxy.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>