Long time data forwarding pause

Hello All,

I have a problem when I build my project from sample central_uart &  peripheral_uart.

I have two nrf5340 called A and BB scans the broadcast to A to establish a connection. Then my nrf52840(C) connects B.

A sends data to B, and B forwards data to C.

I use sniffer to capture the data packet.

I found that there is always Long time data forwarding pause of connection between and C.

Is there any solution to solve this problem? 

Thank you.

Parents
  • Hello,

    What do you mean by a long time? Are we talking seconds? I didn't understand exactly what I was looking at in the sniffer trace screenshot. Which of the connections is that? B->C? If so, I can't tell when A->B was sent.

    How do you handle the forwarding inside B? Can you send some snippets?

    And finally, what are your connection parameters? Connection interval, mainly.

    Best regards,

    Edvin

  • Sorry for the delaying. I have tested more data. The problem is that I set the connection interval is 7.5ms, but it doesn't work when sending data. After several data packets, there is always a long delay of B. 

    The data of image is between A and B. B is master and A  is salve.

    Now  A B and C all work at PHY2M. It seems that every time interval the ratio sends all data packets in  ACL_TX buffer. Then B ratio works for anonther connection. Is there any solution to Shorten the time interval?My project needs low latency less than 4ms for every data packects.

    Thanks!

Reply
  • Sorry for the delaying. I have tested more data. The problem is that I set the connection interval is 7.5ms, but it doesn't work when sending data. After several data packets, there is always a long delay of B. 

    The data of image is between A and B. B is master and A  is salve.

    Now  A B and C all work at PHY2M. It seems that every time interval the ratio sends all data packets in  ACL_TX buffer. Then B ratio works for anonther connection. Is there any solution to Shorten the time interval?My project needs low latency less than 4ms for every data packects.

    Thanks!

Children
Related