<?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 Configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45703/mesh-configuration</link><description>The relay successful rate of my Mesh setup is not 100%. I think light server miss packet from light client. I have tried to change configuration following: 
 1 #define BEARER_SCAN_INT_DEFAULT_MS 700 (default 2000) ; 
 2 #define BEARER_SCAN_WINDOW_DEFAULT_MS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Apr 2019 12:13:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45703/mesh-configuration" /><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/181040?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 12:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ede1be5b-53fe-425c-95d6-1edb58cfe391</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Okey, my understanding is that you will not relay those message with very low RSSI to avoid network traffic. This is fine but it will reduce the redundancy&amp;nbsp;capability&amp;nbsp;of the network.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To do this you can have a look at&amp;nbsp;network_packet_in() inside network.c, you can find RSSI inside&amp;nbsp;p_rx_metadata-&amp;gt;scanner.rssi. Then you can choose to do&amp;nbsp;packet_relay() or not.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180713?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 11:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb125fda-356c-4b67-ae94-ddbd12e72bac</guid><dc:creator>MK Chen</dc:creator><description>&lt;p&gt;the purpose of adding RSSI filtering is to filter signal beyond adjacent relay note,&amp;nbsp;to verify performance of BLE-Mesh relay feature.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180681?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 09:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51e49bdd-6ea1-4e3c-beee-123ebb8e5582</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you setting up using the mobile app (I&amp;#39;m testing on Android) you can find the TTL setting when configuration the publication&amp;nbsp;setting of the Generic OnOff server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also configure the number of retransmission on the network layer in the same window.&lt;/p&gt;
&lt;p&gt;3. I don&amp;#39;t think adding access layer RSSI filtering would help here.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180530?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 14:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c181a5c4-bf97-4945-8fe7-86a4072e950e</guid><dc:creator>MK Chen</dc:creator><description>&lt;p&gt;using nRF Mesh mobile app.&lt;/p&gt;
&lt;p&gt;Would you mind to provide more detail:&lt;/p&gt;
&lt;p&gt;1 how to get TTL value in light switch server mode?&lt;/p&gt;
&lt;p&gt;2 how to get &amp;nbsp;APP_UNACK_MSG_REPEAT_COUNT in light switch server mode?&lt;/p&gt;
&lt;p&gt;3 where should be added RSSI filter at access layer?&lt;/p&gt;
&lt;p&gt;Appreciate your help. Thnaks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180473?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 11:05:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c32d6dd7-d893-46b6-9555-22656824d4c3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;How do you provision your mesh network ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180399?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 01:49:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ba597a0-a606-419e-ae18-269de07fb1ff</guid><dc:creator>MK Chen</dc:creator><description>&lt;p&gt;Dear Hung Bui,&lt;/p&gt;
&lt;p&gt;I checked node_setup.c, but this file is not inside project, so current light switch is not this method to get TTL?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;MK Chen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180361?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 15:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b49e19e-ea5d-4d96-a24a-c26d312d6031</guid><dc:creator>MK Chen</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Channel-37_5F00_38_5F00_39.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Sniffer capture.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180359?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 15:21:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbd484b7-e31d-468c-ad1b-18bcfbfdc8f0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You can find&amp;nbsp;&lt;span&gt;APP_UNACK_MSG_REPEAT_COUNT = 2 in our lightswitch client code (SDK v3.x)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It&amp;#39;s very simple we call access_model_publish()&amp;nbsp;APP_UNACK_MSG_REPEAT_COUNT times when we send one message.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The TTL value is set during provisioning&amp;amp;configuration , you can find it in the node_setup.c&amp;nbsp; at&amp;nbsp;client_pub_state_set() or&amp;nbsp;config_step_execute() at&amp;nbsp;NODE_SETUP_CONFIG_PUBLICATION_ONOFF_SERVER event.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Node that it&amp;#39;s only for the light switch example. If you write your own code and your own provisioner, you may set it differently.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180350?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 14:39:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a7c3ea7-793c-4906-8f42-d245421dbd6c</guid><dc:creator>MK Chen</dc:creator><description>&lt;p&gt;Hi Hung Bui, Thanks for you reply.&lt;/p&gt;
&lt;p&gt;my setup as following diagram:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Setup-Diagram_2D00_2.JPG" /&gt;&amp;nbsp;may&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think there is many interference, because it is office and after office hours. Since Tx power is -16dBm, I may be too low. my idea is increase Tx to -10 dBm and add RSSI filter to prevent &amp;nbsp;Tx signal bypass reply note.&lt;/p&gt;
&lt;p&gt;I have used sniffer to capture Relay signal, normally it will be relay 3&amp;nbsp;packets at 37,38 and 39, but sometimes less then 3 packets, is it should be sniffer missed packets?&lt;/p&gt;
&lt;p&gt;Could I consult you following:&lt;/p&gt;
&lt;p&gt;what is default TTL value? where&amp;nbsp;can check at source code&amp;nbsp;&amp;nbsp;?&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find APP_UNACK_MSG_REPEAT_COUNT&amp;nbsp; = 2 , where can check repeat number at source code?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;MK Chen&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180322?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 12:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f015c785-c1fb-4f30-bcd4-3dfca11f18e5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You can find the rssi value inside&amp;nbsp;nrf_mesh_rx_metadata_t -&amp;gt;scanner-&amp;gt;rssi.&lt;/p&gt;
&lt;p&gt;But I don&amp;#39;t see how rssi having rssi filter here can help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;PROV_BEARER_ADV_UNACKED_REPEAT_COUNT&amp;nbsp; &amp;nbsp;is not related, as it&amp;#39;s for provisioning bearer&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How far is it between your relays ? Do you have a lot of interference ? I don&amp;#39;t see how success rate with one hop is 90% then with 2 hops it&amp;#39;s only 50% Thought it should be around 81%.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please make sure you have good enough TTL to cover all the hops. In your case TTL should be minimum 4.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What is the repeat number you find in the sniffer ? Could you show ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180138?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 03:57:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48144280-de4e-4de2-997b-1bb1bb1b12cc</guid><dc:creator>MK Chen</dc:creator><description>&lt;p&gt;repeat number what I saw using Sniffer is 3. Is it following #define?&lt;/p&gt;
&lt;p&gt;#define PROV_BEARER_ADV_UNACKED_REPEAT_COUNT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (4)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180134?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 03:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b45e5dc-1e9b-4889-b6b3-bf3c27e8d88d</guid><dc:creator>MK Chen</dc:creator><description>&lt;p&gt;Could you provide more detail instruction of filtering RSSI , which file and which function&amp;nbsp;?&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180133?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 03:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f93ba093-ee6a-42f4-9082-ab830bdd2a3c</guid><dc:creator>MK Chen</dc:creator><description>&lt;p&gt;directly without relay: successful rate is 100%&lt;/p&gt;
&lt;p&gt;one hop relay: &amp;nbsp;successful rate is 90%&lt;/p&gt;
&lt;p&gt;two hop relay: successful rate is 50%&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/180089?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 16:30:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63686d1c-34a7-4067-a73c-6593f2790066</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Chen,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What is the success rate do you have ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have any retransmission for a packet you send ? In our example (light_switch) we have&amp;nbsp;APP_UNACK_MSG_REPEAT_COUNT&amp;nbsp; = 2&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Changing&amp;nbsp;&lt;span&gt;BEARER_SCAN_INT_DEFAULT_MS&amp;nbsp; and&amp;nbsp;BEARER_SCAN_WINDOW_DEFAULT_MS&amp;nbsp; wouldn&amp;#39;t help since we already scanning at 100%&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regarding RSSI filtering, you can filter after the message arrived in access layer, but not in the radio or in network layer.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh Configuration</title><link>https://devzone.nordicsemi.com/thread/179981?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 12:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c10fcf5e-a340-425d-a44b-6edcff3dbfc5</guid><dc:creator>MK Chen</dc:creator><description>&lt;p&gt;Could I add one more inquiry:&lt;/p&gt;
&lt;p&gt;how to adjust up&amp;nbsp;threshold of RSSI level to filter out signal &amp;lt; -60 dBm ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>