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

Notification frequency

Hi

I'm using nrf51 to notify some data to an andriod device. I set the connection interval of my nrf51 program to 7.5ms. And I need to send 100 packets per second (20 bytes per packet). However, sometimes there are packets loss and I cannot receive 100 packets per second. So what could I do wrong to cause the packets loss? Thank you!

Parents
  • I checked the error code and it's the tx buffer problem as you said. Thanks a lot!

    I solved the problem by this way: resent the packet if error code is returned until NRF_SUCCESS is returned. But in this way, 100 packets per second may not be able to achieve when there are tx buffer problems in 1 second. Is there any better solution to send 100 packets per second?

Reply
  • I checked the error code and it's the tx buffer problem as you said. Thanks a lot!

    I solved the problem by this way: resent the packet if error code is returned until NRF_SUCCESS is returned. But in this way, 100 packets per second may not be able to achieve when there are tx buffer problems in 1 second. Is there any better solution to send 100 packets per second?

Children
No Data
Related