This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Some delay while receiving sensor data using mesh proxy

Hi, I'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 in flow) with putty.If i use without proxy (provisioner with DK board), i never face that issue.Can you please help me.

Parents Reply Children
  • OK, please explain the data flow. How do you send it via mesh ? Then from that how to get to Putty   ? Please give as much information as possible. 

  • 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-->server), next the sensor board act as (client) and sends the sensor data to first  device(server) with the help of uart , here i used putty to read data. facing delay while receiving data

  • Hi Satheesh, 

    I'm sorry but I still don'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. 

    In your description, I don't know when Mesh is used. You only mentioned about UART. What exactly you mean by "and start the sensor (client-->server)" ? 

  • i used control model for board 1 and board 2. with the help of set()  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's in putty.putty is used to display the sensor data.

  • Hi Satheesh, 

    Thanks, please correct me if I'm wrong you have this kind of communication: 

    PC-UART-> BOARD1 --MESH 1 byte --> BOARD 2 --UART-> PC 

    And then after board 2 receives the image, it does this:

    PC-UART-> BOARD2 --MESH 6 bytes --> BOARD 1 --UART-> PC 

    Correct ? 

    We need to check at which step the delay is introduced.

    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)? 

    To verify if it's the mesh communication causing the delay, you can setup a timer from a client and periodically send some data to the server.  
    I don'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. 


Related