<?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>can&amp;#39;t relay message through multiple servers in mesh network.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43164/can-t-relay-message-through-multiple-servers-in-mesh-network</link><description>Hi All, 
 we are going to develop the lighting application based on nRF52832 with the use of BLE mesh SDK V3.0.0 and nRF SDK V15.2.0. I am new to BLE and also BLE mesh. So I am learning the server and client app. I have setup 7 boards out of which 1 is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Feb 2019 07:04:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43164/can-t-relay-message-through-multiple-servers-in-mesh-network" /><item><title>RE: can't relay message through multiple servers in mesh network.</title><link>https://devzone.nordicsemi.com/thread/170263?ContentTypeID=1</link><pubDate>Mon, 11 Feb 2019 07:04:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ba33be4-31bc-4867-87c5-471a4383c009</guid><dc:creator>Hit</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you used same client server code as in&amp;nbsp;&lt;span&gt;SDK V3.0.0 and nRF SDK V15.2.0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If changed what are the changes.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't relay message through multiple servers in mesh network.</title><link>https://devzone.nordicsemi.com/thread/169759?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 14:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fafccd5f-2d08-4ace-8377-49c024e34efb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;OK, we need to check how you tested. Do you see the issue all the time, for any message you send, or just on some messages that they couldn&amp;#39;t reach the servers located further away ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to test with the light switch example ? I would suggest to disable proxy after your provisioned the device. Or change the advertising interval to long interval, just to make sure it&amp;#39;s not because of the BLE activity that cause the BLE mesh performance to be reduced.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any reason why the server wouldn&amp;#39;t relay the message after it get to 21. The difference between a message being relayed and a message sent from the originator is the TTL inside the packet.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't relay message through multiple servers in mesh network.</title><link>https://devzone.nordicsemi.com/thread/169633?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 06:39:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34241585-9068-44ee-81f3-3f5b356f92f4</guid><dc:creator>El_Digger88</dc:creator><description>&lt;p&gt;Hello Hung Bui,&lt;/p&gt;
&lt;p&gt;Yes you got me right.&lt;/p&gt;
&lt;p&gt;the relay functionality is working upto few boards (upto 3-4 boards).&lt;/p&gt;
&lt;p&gt;And I can&amp;#39;t relay message after 3-4 boards. That&amp;#39;s the real problem.&lt;/p&gt;
&lt;p&gt;Now As I said, I have set the TTL value of 25 which is more than enough I think. And I have set the TTL value by using the nRF-Mesh Android Application by which I have provisioned all boards.&lt;/p&gt;
&lt;p&gt;I have also tested the TTL value which is decrement up-to 21 in last server board which I have debugged.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't relay message through multiple servers in mesh network.</title><link>https://devzone.nordicsemi.com/thread/169581?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 15:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a681e97-feb7-465a-93a9-4ee0c4e73b58</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Jaydeepsinh&lt;/span&gt;,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ok, so the relay feature actually works ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The problem you are having now is that you can&amp;#39;t relay after 2-3 boards.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It could be related to the TTL value.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;TTL is the time to live value that included in each mesh message. After each hop that value will be reduced by 1 until it reaches 01, no more relaying.&lt;/p&gt;
&lt;p&gt;How did you set your TTL to 25 ? By default the TTL will have the value of&amp;nbsp;&lt;span&gt;ACCESS_DEFAULT_TTL = 4.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't relay message through multiple servers in mesh network.</title><link>https://devzone.nordicsemi.com/thread/169472?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 10:42:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87291764-aeaa-4856-9e5c-da0c8cb6c4cf</guid><dc:creator>El_Digger88</dc:creator><description>&lt;p&gt;Dear Hung Bui,&lt;/p&gt;
&lt;p&gt;By message, I mean to say is&amp;nbsp;i want to publish a command&amp;nbsp;to a group address.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/43164/can-t-relay-message-through-multiple-servers-in-mesh-network/168903"]Could you try to test again using only 3 devices.[/quote]
&lt;p&gt;I have already done that and it is running fine.. And I know that the Relay functionality is enabled in server.&lt;/p&gt;
&lt;p&gt;But I have 8 server boards which are in series. So that last few boards are not accessible by client. In this configuration, last boards are not responding to the client. Or else, I can say that after 2 or 3 board,&amp;nbsp;other boards&amp;nbsp;could not get the commands from client.&lt;/p&gt;
&lt;p&gt;I hope you understand my concern.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there anything related to TTL value?&lt;/p&gt;
&lt;p&gt;I have set the TTL to 25. But not any success.&lt;/p&gt;
&lt;p&gt;My question is something similar to the post below.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40702/light-switch-demo-relaying-messages-relayed-messages-ttl-limited-to-4"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/40702/light-switch-demo-relaying-messages-relayed-messages-ttl-limited-to-4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But I can&amp;#39;t get the reply from that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't relay message through multiple servers in mesh network.</title><link>https://devzone.nordicsemi.com/thread/168903?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 14:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b129842-0c62-4627-9e9a-fc184f725ecd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Relay role is enabled by default. Please check in you code if&amp;nbsp;MESH_FEATURE_RELAY_ENABLED = 1 in nrf_mesh_config_code.h&lt;/p&gt;
&lt;p&gt;What you described is pretty strange. How do you send the message from client to server ? What was the delay between 2 commands you send from the client ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to test again using only 3 devices. One client and 2 servers. What you can do is to start first with one client and one server, and you move the server until it&amp;#39;s out side the range of the client. Then you put the 3rd device in between and turn it on. If the mesh network works as it should the first server should be able to receive the command after you turn on the 3rd device to work as a relay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can reduce the output power of the chip to make it easier to reproduce (so you don&amp;#39;t have to go too far to get out of range) Please change the&amp;nbsp;radio_config.tx_power in&amp;nbsp;set_default_broadcast_configuration() to&amp;nbsp;RADIO_POWER_NRF_NEG8DBM for example.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>