<?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>Incorrect TTL value setting in proxy device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97512/incorrect-ttl-value-setting-in-proxy-device</link><description>Hi, 
 
 We&amp;#39;re using nRF Connect SDK V1.9.1 &amp;amp; nRF Mesh app 
 We are facing some issue in setting proper TTL values for the proxy device, 
 
 1) Proxy node (SRC) is not setting correct TTL value, when advertising Mesh Packets. 
 2) The Proxy device (SRC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 May 2023 16:45:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97512/incorrect-ttl-value-setting-in-proxy-device" /><item><title>RE: Incorrect TTL value setting in proxy device</title><link>https://devzone.nordicsemi.com/thread/427312?ContentTypeID=1</link><pubDate>Wed, 24 May 2023 16:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eccf1501-9ea4-4d30-a2d3-8d5a60acc646</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Hitesh,&lt;/p&gt;
&lt;p&gt;Could you please clarify what kind of performance issue you experienced with NCS v1.9.1?&lt;/p&gt;
&lt;p&gt;There&amp;nbsp;is an improvement on Mesh&amp;nbsp;thanks to using extended advertiser. &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/releases/release-notes-2.1.2.html#bluetooth-mesh"&gt;It&amp;nbsp;&amp;quot;matured&amp;quot;&amp;nbsp;from NCS v2.1.2&lt;/a&gt;.&amp;nbsp;See&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.2/kconfig/index.html#CONFIG_BT_MESH_ADV_EXT"&gt;CONFIG_BT_MESH_ADV_EXT&lt;/a&gt;. However, without knowing what the issue is, I can&amp;#39;t confirm that will help.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect TTL value setting in proxy device</title><link>https://devzone.nordicsemi.com/thread/426836?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 10:26:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0014238-3c1a-48b8-8631-128d853e8f6e</guid><dc:creator>hiteshk014</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We modified TTL to 100 as per requirements and arrangements of devices assembeled in mesh, we observed some issues in performace in Mesh network post modifications, 1.9.1 Nordic Connect SDK we&amp;#39;re using.&lt;/p&gt;
&lt;p&gt;Until TTL count to 60 there&amp;#39;s no issue in Mesh network, if we increase beyond 60 some issues in performance is observed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We need to know can we have better synchronization and performance in Mesh network, if we update TTL to 100 in latest released nCS version 2.3.0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hitesh&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect TTL value setting in proxy device</title><link>https://devzone.nordicsemi.com/thread/416254?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 12:43:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15c8b649-385a-4eb2-922c-a25e1042bea9</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Hitesh,&lt;/p&gt;
&lt;p&gt;Unfortunately, with Bluetooth Mesh, there is no silver bullet when it comes to deciding mesh configuration parameters. Everything depends a lot on the physical setup of the nodes, and on the specific application.&lt;/p&gt;
&lt;p&gt;Therefore, most of the time, you need to look at your physical setup, think about the traffic, and really understand all the mesh parameters to make the best configuration.&lt;/p&gt;
&lt;p&gt;Thus, the following statement:&lt;/p&gt;
[quote user="hiteshk0104"]I&amp;#39;ve 100 devices in Mesh network and in Mobile app / provisioner, it is totally accceptable to have TTL count to 100 as number of devices in network are 100.[/quote]
&lt;p&gt;is a statement that I would &lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;never&lt;/span&gt;&lt;/strong&gt; dare to confirm. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The consequences of having too high TTL is discussed in the DevZone thread I linked in my previous reply. Here is it again:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/72634/mesh-ttl-clarification/299264"&gt;RE: Mesh TTL clarification&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is another discussion on DevZone that can help you better understand the thought process in deciding the configuration and how things interact:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/96434/mesh-optimization-ttl-relay-nodes-difficult-floorplan"&gt;Mesh Optimization / TTL, Relay Nodes, Difficult Floorplan&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please give them a read, and if there are still anything unclear about the consequences of high TTL, please let me know.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect TTL value setting in proxy device</title><link>https://devzone.nordicsemi.com/thread/416232?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 11:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57969622-2316-4db2-b889-9ae7c9fdde07</guid><dc:creator>hiteshk014</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much for quick reply,&lt;/p&gt;
&lt;p&gt;Final confirmation from what I understood please correct or add the following statement If I&amp;#39;ve missed,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve 100 devices in Mesh network and in Mobile app / provisioner, it is totally accceptable to have TTL count to 100 as number of devices in network are 100.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hitesh&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect TTL value setting in proxy device</title><link>https://devzone.nordicsemi.com/thread/416117?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 19:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feffa3ef-6272-4b73-afca-8b9e2e13260e</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Hitesh,&lt;/p&gt;
&lt;p&gt;Are you certain that TTL&amp;nbsp;reaching 0 is the reason packets are lost? There are many reasons packets can be lost. A different example is where too many nodes&amp;nbsp;being too close and interfere each other with retransmissions and relays.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding using an overly high TTL value, my colleague Terje explains the mechanism in Bluetooth Mesh&amp;nbsp;where each node only handle a message once, and the&amp;nbsp;scenario of too high TTL in this DevZone thread:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/72634/mesh-ttl-clarification/299264"&gt;RE: Mesh TTL clarification&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think&amp;nbsp;there is any situation where TTL need to be higher than the number of nodes. As a thought experiment, let&amp;#39;s imagine the worst physical layout, where N nodes are on a straight line, &lt;em&gt;&lt;strong&gt;and&lt;/strong&gt;&lt;/em&gt; two immediate neighbors are barely within range of each other. Even in this situation,&amp;nbsp;a message can travel from one far end to the other with TTL = N.&lt;/p&gt;
&lt;p&gt;Bluetooth Mesh does have a Hearbeat feature that can help you experiment and find out the ideal TTL value. I discussed about that in this DevZone thread:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/96829/troubleshooting-nrf-mesh-heartbeat-feature-configuration-in-version-5/411212"&gt;RE: Troubleshooting nRF Mesh Heartbeat Feature Configuration in Version 5&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect TTL value setting in proxy device</title><link>https://devzone.nordicsemi.com/thread/415925?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 09:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4aa0e9df-699f-4024-9523-f34f6c96279a</guid><dc:creator>hiteshk014</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for response,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We need some inputs what is ideal TTL value to be set when have 100 devices in Mesh&lt;/p&gt;
&lt;p&gt;we have a product requirement of having 100 max number of devices in Mesh network&lt;/p&gt;
&lt;p&gt;Currently we have configured 40 devices in network and it is observed at times packet is not receiving in a arrangement where in the devices are in single lane with the current default configuration of &lt;strong&gt;TTL - 5,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If we modify the TTL value to the number of devices in network from provisioner / mobile app / nRF Mesh app, then what will be the consequence ? will that message create flooding effect which is having TTL-100 / TTL-50 ?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hitesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Incorrect TTL value setting in proxy device</title><link>https://devzone.nordicsemi.com/thread/414704?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2023 15:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7cb85b4-bbbb-41a5-80d7-18c839623f8e</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Hitesh,&lt;/p&gt;
&lt;p&gt;Does&amp;nbsp;the proxy device do that with only the proxy messages or with its own&amp;nbsp;messages as well?&lt;/p&gt;
&lt;p&gt;Is&amp;nbsp;TTL configured for the LE device/node or for the Proxy node? The Proxy probably simply send out the messages as configured for the LE device/node.&lt;/p&gt;
&lt;p&gt;TTL can be set by the provisioner at any time. Please check if it is set by any provisioners beside the application&amp;#39;s default.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>