<?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>BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36395/ble-mesh-stack-2-0-1-light-switch-demo-roundtrip-delay-getting-higher-between-client-and-server</link><description>Hii, 
 I am currently using two nRF52832 SDK boards to implement text message exchange with another nRF52832 SDK board via BLE Mesh SDK 2.0.1. 
 However, when I try to increase the frequency of sending the command the communication seem to choke. and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 May 2019 10:57:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36395/ble-mesh-stack-2-0-1-light-switch-demo-roundtrip-delay-getting-higher-between-client-and-server" /><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/189011?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 10:57:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa6b93b0-481d-4505-9b4e-e7460c9faefc</guid><dc:creator>Pegah</dc:creator><description>&lt;p&gt;Hi Nikunj, &lt;/p&gt;
&lt;p&gt;Have you been able to use this method to measure RTT by using timer? If yes, could you share an example or a link that is useful?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Pegah&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/175264?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 09:03:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:728ab3d2-4074-4d7d-aa39-373c462f5982</guid><dc:creator>zeroking5</dc:creator><description>&lt;p&gt;Hi&amp;nbsp; Nikunj Patel ,How is the project going now?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/175256?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 08:43:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c16e4891-fc04-4906-9c82-b8a071a5cc87</guid><dc:creator>zeroking5</dc:creator><description>&lt;p&gt;Hi Edvin,I had create my ticket&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44672/is-ble-mesh-application-limit-sending-data-at-less-than-10-bytes-in-every-packet"&gt; here&amp;nbsp;&lt;/a&gt;(hope your reply :) ),and&amp;nbsp;there is the relation with this topic,show below&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1552293586_2800_1_2900_.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/175243?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 07:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6e3a183-3219-4cff-90b1-b4a569f4a987</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/zeroking5"&gt;zeroking5&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t really see that this is related to this ticket. Please create a new ticket with the description of your issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/175173?ContentTypeID=1</link><pubDate>Sat, 09 Mar 2019 10:14:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bd43815-140b-42fa-ae20-6c6ed9f9425f</guid><dc:creator>zeroking5</dc:creator><description>&lt;p&gt;Hi,Edvin&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; I had modified the light-switch example into a model that can sent random bytes.But I need to&amp;nbsp;Send data at&amp;nbsp; &amp;gt;2s intervals when the bytes is upper to 10,or that the client code will run in to the place show as bellow.I want to know what can I deal with this problem,hope your reply.thanks.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1552126406_2800_1_2900_.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/142134?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 11:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:559a9c65-4f03-4c89-9e2e-c8f979129bac</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Nikunj,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. I was out of office last week.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As mentioned, the proxy part of the project is using the radio for BLE (non-Mesh) protocol, which means that if the message is sent out from one of the mesh nodes when the other is not listening, then it will not be received.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To minimize the chance of this happening you should increase your advertising and connection intervals. Try setting the advertising interval to something higher, like 1 second. I don&amp;#39;t know whether you are in a BLE connection while doing these tests, are you? If so, you can try to increase the MIN_CONN_INTERVAL&amp;nbsp;but depending on the phone, it might not work, as it is always the central in a BLE connection that decides the connection interval.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to increase the adv interval to 1 second, and see whether the behavior improves.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I should also mention a couple of things:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you add a third node, then the third node would repeat the message, thus increasing the chance of the second node/proxy node to hear the message. This way, if the second node would hear the message from the repeating node if it was busy while it was first broadcasted.&lt;/li&gt;
&lt;li&gt;Mesh is really not made for high bandwidth. If you intend to send large chunks of data frequently in your network, Mesh might not be the right protocol. What is the sort of throughput that you are looking at?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/141661?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 11:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a0e2a62-6d7d-4dd8-8f43-5fa76d0a52e0</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;Please Reply me ASAP.&lt;/p&gt;
&lt;p&gt;Regard&amp;#39;s&lt;/p&gt;
&lt;p&gt;Nikunj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140956?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 10:52:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52aeb057-db64-4434-8be3-3293f4a11df0</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;Now i&amp;#39;m using non proxy example,The results is better then previous one.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Connection Interval&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(250, UNIT_1_25_MS)&lt;br /&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Advertisement interval&lt;/strong&gt;&lt;br /&gt;#define BEARER_ADV_INT_DEFAULT_MS 20&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Scan interval&lt;/strong&gt;&lt;br /&gt;#define BEARER_SCAN_INT_DEFAULT_MS 2000&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Scan window&lt;/strong&gt;&lt;br /&gt;#define BEARER_SCAN_WINDOW_DEFAULT_MS 2000&lt;/p&gt;
&lt;p&gt;i want to send 250 byte Payload using light switch ble mesh example code.i have implemented echo back mechanism.&lt;/p&gt;
&lt;p&gt;i have attached&amp;nbsp;sheet of readings taken with 10,50,250 byte.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Roundtrip_5F00_Calculation_5F00_NonProxyClient.xls"&gt;devzone.nordicsemi.com/.../Roundtrip_5F00_Calculation_5F00_NonProxyClient.xls&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;please check it and tell me that roundtrip delay is getting some time higher.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank&amp;#39;s&lt;/p&gt;
&lt;p&gt;Nikunj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140820?ContentTypeID=1</link><pubDate>Fri, 20 Jul 2018 11:52:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f92d1ea1-5e73-4dc9-bf55-429816540b04</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Ok. It seems that you are missing some packets (then the other device will try to resend them).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since you are using the proxy example, what conn_interval and advertising_interval do you use? Can you try with the non-proxy example to see if that helps?&lt;/p&gt;
&lt;p&gt;The reason might be that since you are using the proxy example, the device will not have control of the radio all the time. Not when the softdevice is using it. If it works better with the non-proxy example, you can try to increase the BLE&amp;nbsp;interval&amp;nbsp;(advertising/scanning interval and connection interval) to see if that helps.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140754?ContentTypeID=1</link><pubDate>Fri, 20 Jul 2018 04:55:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b0c0471-f7b0-43ba-a54a-0482d7779b04</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;I have try to send only 8 byte Echo back message.&lt;/p&gt;
&lt;p&gt;Echo Back Calculation Time = (Stop Count - Start Count )/32768&amp;nbsp; in Second&lt;/p&gt;
&lt;p&gt;Loge Snap Shot is Below&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1532059921029v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;1st time Send 8 byte Echo back time =(176891 -71253)/32768= 3.22 Second&lt;br /&gt;2nd&amp;nbsp;time Send 8 byte Echo back time =(16612647&amp;nbsp; -16585267 )/32768= 0.83 Second&lt;br /&gt;3rd time Send 8 byte Echo back time =(48805&amp;nbsp; -21421 )/32768= 0.83 Second&lt;/p&gt;
&lt;p&gt;See in Log 1st time Client send only 8byt to server ,Client Retries 3 time after receive Ack but&amp;nbsp;server receive message 2 times.&lt;/p&gt;
&lt;p&gt;i think client wait for Ack if not receive then retries multiple time . in my case&amp;nbsp;server receive messege 2 time but not send ack to client.&lt;/p&gt;
&lt;p&gt;Thank&amp;#39;s&lt;/p&gt;
&lt;p&gt;Nikunj&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140691?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2018 13:59:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7a500b8-38a6-446b-9bca-59bc4415ca01</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Nikunj,&lt;/p&gt;
&lt;p&gt;Mesh is built on BLE advertisement packets. An advertising packet is 31 bytes long. In Mesh, if you exclude the headers, you are left with 11 bytes. In addition, since you are using the nordic access API, company-ID and opcode, you are left with 8 bytes.&lt;/p&gt;
&lt;p&gt;This means that when you send a message with 50 bytes, it is split into 7 packets.&amp;nbsp;six&amp;nbsp;with 8 bytes, and one with 2 bytes.&lt;/p&gt;
&lt;p&gt;Your devices will only send a packet every 20ms. I am not sure exactly how that example works, but if you loose a packet, it might have to send the entire message again. Since you only have 2 nodes in the network, you don&amp;#39;t have any nodes to retransmit the packets either, so if the client doesn&amp;#39;t receive the packet initially,&amp;nbsp;the message will be lost.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please try to split the packet into 8 bytes sized packets? You can use the&amp;nbsp;NRF_MESH_EVT_TX_COMPLETE event to know when a packet is sent, to trigger the next one, like explained earlier.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140650?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2018 11:12:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b02272c-cc2e-4f24-b866-677d2de61549</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;HI Edvin,&lt;/p&gt;
&lt;p&gt;Forgot Every Thing ..I have modify simple on_off Light Switch Example.&lt;/p&gt;
&lt;p&gt;Query : When Client Send 50 Byte to server,&amp;nbsp;server get 50 byte message immediately&amp;nbsp; after sever send echo back message to client but client does not get message immediately,&amp;nbsp;due to this&amp;nbsp;server retries message.&lt;/p&gt;
&lt;p&gt;My question is why client does not receive echo back message immediately?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Firmware.rar"&gt;devzone.nordicsemi.com/.../Firmware.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank&amp;#39;s&lt;/p&gt;
&lt;p&gt;Nikunj Patel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140600?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2018 06:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d508d76-62e5-4d45-bc3d-d7d9966389d4</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You write that you use two DKs, right?&lt;/p&gt;
&lt;p&gt;Is it possible to send the project that you are using to perform the tests?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140513?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 11:43:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0873aed6-57b1-4da5-acf6-bee81dc0932c</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;Please focus on my main Question is to reduce roundtrip delay of echo-back message from client to server to client again with the same message.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Client Send Message:-&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;pre class="ui-code" data-mode="text"&gt;uint8_t DATA_Tx[50]=&amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWX&amp;quot;;
uint32_t status = NRF_SUCCESS;
    status = send_command_client(&amp;amp;m_clients[button_number],&amp;amp;DATA_Tx[0],sizeof(DATA_Tx));
    if(!status)
    {
        Send_Cnt++;
        Start_timer_cnt=log_timestamp_get();
        
        __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;SendMsg to Server:%s    Msg_Send_Cntr:%d     Start_timer_cnt =%d \n&amp;quot;,DATA_Tx, Send_Cnt,Start_timer_cnt);
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Server Received Message After Echo-Back Message to client:-&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void handle_send_command_cb(access_model_handle_t handle, const access_message_rx_t * p_message, void * p_args) 
{
    
    uint16_t  i;
    uint8_t buffer[260];
    
    
    Stop_timer_cnt= log_timestamp_get();
    Rec_Cnt++;
    Actual_Time =((Stop_timer_cnt-Start_timer_cnt)/32768);
    
    memset(buffer, 0, sizeof(buffer));
    strncpy(buffer, command, length); 
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Received Data From Client: %s Rec_Cnt = %d rssi=%d Stop_timer_cnt=%d Actual_Time=%d\n&amp;quot;, buffer,Rec_Cnt,p_message-&amp;gt;meta_data.p_core_metadata-&amp;gt;params.scanner.rssi,Stop_timer_cnt,Actual_Time);


    strncpy(response_msg.response, command, length);
    response_msg.length = length;               


    if (response_msg.length !=0)
    {  // need to send reply
        access_message_tx_t reply; 
        reply.opcode.opcode = Custom_message_OPCODE_RESPOND;
        reply.opcode.company_id = ACCESS_COMPANY_ID_NORDIC;
        reply.p_buffer = (const uint8_t *) &amp;amp;response_msg;
        reply.length = response_msg.length+2;  // just sending the length (16-bit) + response string.
        (void) access_model_publish(p_server-&amp;gt;model_handle, &amp;amp;reply); //Publishing
    }    
    else
     {
        failureCount++;
     }
}&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Client Received Echo Message :-&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;hr /&gt;&lt;strong&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void handle_status_cb(access_model_handle_t handle, const access_message_rx_t * p_message, void * p_args)
{

    uint16_t  i;
    uint8_t buffer[260];

   simple_on_off_client_t * p_client = p_args;
   NRF_MESH_ASSERT(p_client-&amp;gt;status_cb != NULL);
   uint8_t *command = ((send_command_msg_t *) p_message-&amp;gt;p_data)-&amp;gt;command;
   uint16_t length =  ((send_command_msg_t *) p_message-&amp;gt;p_data)-&amp;gt;length;
   
    if (!is_valid_source(p_client, p_message))
    {
        return;
    }


    Stop_timer_cnt= log_timestamp_get();
    Recv_Cnt++;
    Actual_Time =((Stop_timer_cnt-Start_timer_cnt)/32768);

    receive_response_msg_t *p_response = (receive_response_msg_t *) p_message-&amp;gt;p_data;
    memset(buffer, 0, sizeof(buffer));
    strncpy(buffer,  p_response-&amp;gt;response, p_message-&amp;gt;length-2);
   __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Received Data From Server: %s\t Rec_Cnt = %d rssi=%d Stop_timer_cnt=%d Actual_Time=%d\n&amp;quot;, buffer,Recv_Cnt,p_message-&amp;gt;meta_data.p_core_metadata-&amp;gt;params.scanner.rssi,Stop_timer_cnt,Actual_Time);

}&lt;/pre&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank&amp;#39;s&lt;/p&gt;
&lt;p&gt;Nikunj Patel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140509?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 10:51:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:461b46a7-8166-48c5-b0a5-036c43d896e6</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;your answer does not match with my requirement. Answer for your required&amp;nbsp;question&amp;nbsp;below.&lt;/p&gt;
&lt;div&gt;Que:Do you have any way of identifying message?&lt;br /&gt;Ans: whatever client will send, server will echoback same message it received.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Que: Do you know that you are measuring the correct delay?&lt;br /&gt;Ans: when client send message to server,timer started in client and it waits for echoback message from server. when echoback message received at client side.it will capture the timer.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Que: do you wait until you get the message back before you send a new one?&lt;br /&gt;Ans: Yes&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thank&amp;#39;s&lt;/div&gt;
&lt;div&gt;Nikunj Patel&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140505?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 10:29:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a009d633-d3eb-4303-86dc-1bff742e7db3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I had to ask a colleague of mine to look at your question. He had some questions about how you measure the delays. He writes:&lt;/p&gt;
&lt;p&gt;----------&lt;/p&gt;
&lt;p&gt;It doesn&amp;#39;t look like he stamps the messages, so how does he know what message the server receives and answers to? It might have some implications on the measurements. Messages are not guaranteed to come in the right order in Mesh (although it is likely with only two nodes).The theoretical latency is ADV_INT/2 and default ADV_INT is 20ms.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have a feature in the stack that implements flow control relatively simple:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/blob/master/mesh/core/api/nrf_mesh.h#L88"&gt;nrf_mesh_tx_token_t&lt;/a&gt;. Her is a code snippet that shows one way of using it:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static nrf_mesh_tx_token_t m_my_token;

static void mesh_evt_handler(const nrf_mesh_evt_t * p_evt)
{
    if (p_evt-&amp;gt;type == NRF_MESH_EVT_TX_COMPLETE &amp;amp;&amp;amp;
        p_evt-&amp;gt;params.tx_complete.token == m_my_token)
    {
        /* Message has been sent on air. */
    }
}

void packet_send(void)
{
    /* Using the access API directly. */
    access_message_tx_t message;
    memset(&amp;amp;message, 0, sizeof(message));

    /* TODO: Fill fields correctly */
    message.token = m_my_token;

    /* TODO: send */    
}


void init(void)
{
    static nrf_mesh_evt_handler_t s_evt_handler = {
        .evt_cb = mesh_evt_handler
    };

    /* nrf_mesh_unique_token_get() was introduced in v2.1.1 to guarantee uniqueness of the value.
     * You _could_ just use a #defined number, but risk using the same number as something else in
     * the stack.
     */
    m_my_token = nrf_mesh_unique_token_get();
    nrf_mesh_evt_handler_add(&amp;amp;s_evt_handler);
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This is used e.g. in Node Reset to make sure that we have sent a status message &lt;em&gt;before&amp;nbsp;&lt;/em&gt;actually deleting everything and reset the node. Right now, you must use the access.h or nrf_mesh.h API directly to control tokens.&lt;/p&gt;
&lt;p&gt;----------&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So do you know that you are measuring the correct delays? Do you have any way of identifying the messages, or do you wait until you get the message back before you send a new one?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140488?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 08:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fe50585-0b4f-43a3-b2ff-e88e8ca8f0cf</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please reply me...according to my log&amp;nbsp;RSSI value is not ok.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140316?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 03:40:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66cc2d49-719c-460d-9a4b-47ec84a07ba7</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;Thank&amp;#39;s for reply me..!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i want to calculate Roundtrip delay between client and server no other node in mesh network. However, when I try to increase the frequency of sending the command the communication seem to choke.&lt;/p&gt;
&lt;p&gt;light switch example code(Mesh 2.0.1) is modify&amp;nbsp;just i add&amp;nbsp;simple message model.in this code.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;Thank&amp;#39;s&lt;/div&gt;
&lt;div&gt;Nikunj&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140239?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 14:15:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a62166b2-d6c7-4e7a-a7bc-28f638c71dfb</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. We are quite short staffed due to summer holiday here in Norway, so there is a little longer response time now, unfortunately.&lt;/p&gt;
&lt;p&gt;What is the size of your Mesh Network, and how often do you send the messages?&lt;/p&gt;
&lt;p&gt;When you send the 11Byte message, I suspect that it is split into several messages, and hence will increase the roundtrip time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Check out what Thomas and leonwj wrote in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32854/max-size-of-data-to-send-from-one-node-to-other-ble-mesh"&gt;this case&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But yes, how many nodes are there in the network, and how often do you send the message?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE MESH Stack(2.0.1)Light Switch Demo Roundtrip Delay getting higher between client and server</title><link>https://devzone.nordicsemi.com/thread/140145?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 04:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3246a2fa-58c6-4924-b137-5e562c38e68d</guid><dc:creator>Nikunj Patel</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m wating for reply from you...!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>