<?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>Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50018/some-delay-while-receiving-sensor-data-using-mesh-proxy</link><description>Hi, I&amp;#39;m using proxy_client and proxy_server from light_switch examples of mesh sdkv2.1.1. The provision process gets successful with android mobile using nRF Mesh App but i face some issue while receiving sensor data, there is some delay(not getting data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Aug 2019 02:16:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50018/some-delay-while-receiving-sensor-data-using-mesh-proxy" /><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/204609?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2019 02:16:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bd1dd76-fe72-4ecb-a933-3c91c652aeae</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;The issue got fixed with new nRF Mesh App version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/200634?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 04:08:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28227ea8-a35d-4a49-806a-4e797c6693ea</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;ok sure i will check and tell you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/200586?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 15:28:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7af391af-a25d-4375-b7b4-f5ddb0d131d1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please do test with the light switch, we need to isolate the problem and rule out any other factors can cause the delay.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/200537?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 12:51:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4296d46-fb21-45f4-9054-6d2d4b30fcd4</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;I have not checked with light switch example but i&amp;#39;m using modified ligh switch example for sending sensor data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/200519?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 12:23:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1736e141-bdd7-4e32-bfb5-8f6fc77da99e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;We won&amp;#39;t be able to test your application if it requires some dependencies or external board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please answer my question, have you seen the issue with the light switch example ? If you can modify the light switch example to show the issue then it&amp;#39;s much easier.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;If you want to make this case private, you can click on the &amp;quot;Go Private&amp;quot; button.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/200461?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 09:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc17d591-f2b2-41bf-b4af-d227af239d1e</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;I have the code but it is confidential so cant share here, can you tell me how to send as private message?&lt;/p&gt;
&lt;p&gt;I will share in private&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/200410?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 07:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7986193-8163-4848-a88d-e1f640af4be4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Could you reproduce the issue on the light switch example ? If we can have some code to test here it would be easier to figure out why there is some delay.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/200341?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 16:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bedd8ccf-ef88-48b8-8074-91b6a2ad681b</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;Hung Bui, what i mentioned is after provisioning with nRF mesh App. I have disabled proxy features in board_1 and board_2 because to check whether the sensor data receives fast and continuously but it also have same issue.Why the delay occurs with proxy?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/200207?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 07:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02b86a4f-9e33-4b4d-8d6b-9cfe9b26ebe5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please clarify you mentioned &amp;quot;&lt;span&gt;&amp;nbsp;i have test with disabling proxy but i saw the same issue.&amp;nbsp;&amp;quot; in earlier message.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please try to test and reproduce using our example light switch example so we can test here.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199990?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 10:17:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3176eef-d1c9-4b89-a8c0-7b3b63d69864</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;the problem is not with sensor because if i use same program without proxy example it works fine without delay. If i go with proxy example&amp;nbsp; the delay occurs while receiving the data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199957?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 08:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9a334bb-77c0-4985-9ef5-060bd52b8d43</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;OK, so you have the same issue without the proxy role. Maybe you would need to check if the sensor actually taking longer time than normal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can print out some log, or use LEDs to mark each step of the communication to know where it actually causing delay.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199907?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 04:09:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59df1640-4d7b-4c40-82f0-1f1fc46c435d</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;First step almost correct but it in board 2 set_cb() it will start the sensor after receiving 1 byte mesh.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;PC-UART-&amp;gt; BOARD2 --MESH 6 bytes --&amp;gt; BOARD&amp;nbsp;1 --UART-&amp;gt; PC&amp;nbsp; this step not start from PC-UART, while receive 1 byte mesh from board 1 to board 2, the board board 2 will start the sensor in set_cb() because i&amp;#39;m using sensor in board 2. So it starts the sensor and send 6 bytes of data to board 1 --&amp;gt;UART-&amp;gt;PC.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;proxy is enabled with mesh, i have test with disabling proxy but i saw the same issue. Light switch example never send 6 bytes data. In my point of view there is some interrupt to receive data in proxy example because of adv advertiser and ble advertiser&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is the flow:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;PC-UART-&amp;gt; BOARD1 --MESH 1 byte --&amp;gt; BOARD 2 --&amp;gt;SET_CB()--&amp;gt;SENSOR_START&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BOARD2--MESH 6 bytes--&amp;gt;BOARD1--UART-&amp;gt;PC&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;From board1 to board2 the communication will be client to server&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After receive 1 byte from board1 the board2 act as client and board1 act as server.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199831?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 13:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e87b7ddb-e2e0-448b-b7c4-c82cb38458bc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Satheesh,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks, please correct me if I&amp;#39;m wrong you have this kind of communication:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PC-UART-&amp;gt; BOARD1 --MESH 1 byte --&amp;gt; BOARD 2 --UART-&amp;gt; PC&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And then after board 2 receives the image, it does this:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;PC-UART-&amp;gt; BOARD2 --MESH 6 bytes --&amp;gt; BOARD&amp;nbsp;1 --UART-&amp;gt; PC&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Correct ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We need to check at which step the delay is introduced.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; How often do you see the issue when you enable proxy ? Do you see the same issue when you test using out light switch (which has proxy)?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To verify if it&amp;#39;s the mesh communication causing the delay, you can setup a timer from a client and periodically send some data to the server.&amp;nbsp;&amp;nbsp;&lt;br /&gt;I don&amp;#39;t see any obvious reason why you have a delay of 5-10 seconds. Do you test using our NRF52 DK ? Have you made sure the radio works fine ? You can test with a throughput test on BLE.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199692?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 08:42:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9eb07e13-6e4c-49d8-8c06-5860549a81d6</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;i used control model for board 1 and board 2. with the help of set()&amp;nbsp; i send 1 byte command from board 1 to board 2, from board 2 it sends the 6 bytes of sensor data to board 1 in between i used uart module to get and put the data&amp;#39;s in putty.putty is used to display the sensor data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199688?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 08:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb58b8fd-db17-45ed-8b2f-89f09081afda</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Satheesh,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry but I still don&amp;#39;t understand how data is sent between board. Please use Board 1 , Board 2 instead. If you can draw a figure it would be nice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In your description, I don&amp;#39;t know when Mesh is used. You only mentioned about UART. What exactly you mean by &amp;quot;&lt;span&gt;and start the sensor (client--&amp;gt;server)&amp;quot; ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199614?ContentTypeID=1</link><pubDate>Sat, 20 Jul 2019 01:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cfc146c-16d2-499a-9db5-6420c3dd8e7f</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;i have 2 devices both the device act as control model (client and server model) one board contains sensor,i send 1 byte command from first device to sensor board using uart, sensor board receives the command and start the sensor (client--&amp;gt;server), next the sensor board act as (client) and sends the sensor data to first&amp;nbsp; device(server) with the help of uart , here i used putty to read data. facing delay while receiving data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199573?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 14:48:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d391b8ca-7152-4c05-95fa-2baea54be31f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;OK, please explain the data flow. How do you send it via mesh ? Then from that how to get to Putty&amp;nbsp; &amp;nbsp;? Please give as much information as possible.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199541?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 13:01:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5f5be0b-219e-46c5-8676-f52d6dbeb6f7</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;I was tested with and without phone connected in both situation i faced same issue. Data not getting in putty as flow continuously it stops for 5 to 10 seconds and starts getting data.. the delay is repeated&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199539?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 12:58:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ba28d22-fbc8-432f-accc-b1a764001b92</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Could you describe how exactly did you test and found the delay (not getting data in flow with putty) ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you do your test do you have a phone connected to the device ? If you simply disconnect the phone would the issue go away ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199452?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 08:36:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c05c77db-6b57-448e-87dd-1e33c9f35348</guid><dc:creator>Sash</dc:creator><description>&lt;p&gt;5 to 10 seconds&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some delay while receiving sensor data using mesh proxy</title><link>https://devzone.nordicsemi.com/thread/199447?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 08:22:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecec2c4c-8a91-4041-8111-256b0636ffcc</guid><dc:creator>awneil</dc:creator><description>[quote userid="68969" url="~/f/nordic-q-a/50018/some-delay-while-receiving-sensor-data-using-mesh-proxy"]there is some delay[/quote]
&lt;p&gt;There is always going to be &lt;em&gt;some&lt;/em&gt; delay!&lt;/p&gt;
&lt;p&gt;So how much delay, exactly, are you getting ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>