<?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>Proxy not relaying some packages</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71377/proxy-not-relaying-some-packages</link><description>Hello, we need some help debugging a proxy node in a BLE mesh network. 
 First some information about our experiment - we currently have 5 nodes running a custom fw on a nrf52832 with S132 soft device. These nodes are all provisioned to work in a mesh</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Feb 2021 11:49:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71377/proxy-not-relaying-some-packages" /><item><title>RE: Proxy not relaying some packages</title><link>https://devzone.nordicsemi.com/thread/293741?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 11:49:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40d0bda3-c60a-456e-a147-a98242afa97a</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Tomas Arrivillaga"]So between messages sent by the phone there should be at least 100ms, would that be considered too fast?[/quote]
&lt;p&gt;This isn&amp;#39;t considered as too fast, but it depends on how much data you are trying to send.&amp;nbsp;&lt;/p&gt;
[quote user="Tomas Arrivillaga"] Is there a way of making sure the proxy node actually relays the message from the phone into the network?[/quote]
&lt;p&gt;To make sure that the message is relayd you can try increasing the value of CORE_TX_REPEAT_RELAY_DEFAULT, this will increase the&amp;nbsp;number of repeated transmissions of one relayed mesh packet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Proxy not relaying some packages</title><link>https://devzone.nordicsemi.com/thread/293566?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2021 13:30:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8398758d-1244-4896-aa5d-1c0faef3f60f</guid><dc:creator>Tomas Arrivillaga</dc:creator><description>&lt;div class="p-rich_text_section"&gt;Hi thanks for answering!&lt;br /&gt;[quote userid="15475" url="~/f/nordic-q-a/71377/proxy-not-relaying-some-packages/293533#293533"]Could it be that you are sending too fast?[/quote]&lt;/div&gt;
&lt;div class="p-rich_text_section"&gt;&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;The way the experiment is done is like this: The phone sends a broadcast message with a parameter that singles out a node. When the node receives this message it waits some time and then it sends a message to the phone. When the phone receives the message it waits 100ms to send the next broadcast message. The phone times out after waiting one second for the response message and sends the next one. So between messages sent by the phone there should be at least 100ms, would that be considered too fast?&lt;/div&gt;
&lt;div class="p-rich_text_section"&gt;&lt;/div&gt;
&lt;div class="p-rich_text_section"&gt;Trying to debug this issue we played with 2 parameters&amp;nbsp;&lt;b&gt;MAX_CONN_INTERVAL&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;MIN_CONN_INTERVAL&lt;/b&gt;. We achieved the best results using:&lt;/div&gt;
&lt;ul class="p-rich_text_list p-rich_text_list__bullet"&gt;
&lt;li&gt;&lt;b&gt;MAX_CONN_INTERVAL =&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;b&gt;MSEC_TO_UNITS(250,&amp;nbsp;UNIT_1_25_MS)&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;MIN_CONN_INTERVAL =&amp;nbsp;&amp;nbsp;MSEC_TO_UNITS(150,&amp;nbsp;UNIT_1_25_MS)&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="p-rich_text_section"&gt;Those were the default parameters, but we changed them to achieve a faster communication with the phone. Setting these parameters to the default values made it so only a single message was&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;not&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;relayed into the network after sending 400 messages from the phone.&amp;nbsp;&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;We need to make sure all messages from the phone are relayed into the mesh network, so that we get responses from the nodes. Is there a way of making sure the proxy node actually relays the message from the phone into the network?&lt;/div&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: Proxy not relaying some packages</title><link>https://devzone.nordicsemi.com/thread/293533?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2021 11:40:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a187237c-099c-498d-bbe2-1d89f3c328b7</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]This interaction happens 10 to 20 times very fast.[/quote]
&lt;p&gt;Could it be that you are sending too fast? Have you tried decreasing the the rate you are sending messages?&lt;/p&gt;
&lt;p&gt;Do you get any error codes when the&amp;nbsp;&lt;span&gt;message response fails?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>