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
  • Oh, just one more thought: if you are trying connection with android device, it is highly propable that you dont have 7.5ms connection interval! many smartphones dont accept that. However, they often allow more than one packet/connection interval. But you should not depend on that if you are developing public app, because it is not standarized between phones and some accept long connection interval and ex. only 2 packets/connection, and some allow shorter interval and for example 4 packets/connection. So, achieving high throughput between bluetooth smart device and smartphone could be quite problematic. as far as i know (i am not really into mobile development...) it also depends of android version installed - in 7.0 shorter connection intervals could be rejected.

Reply
  • Oh, just one more thought: if you are trying connection with android device, it is highly propable that you dont have 7.5ms connection interval! many smartphones dont accept that. However, they often allow more than one packet/connection interval. But you should not depend on that if you are developing public app, because it is not standarized between phones and some accept long connection interval and ex. only 2 packets/connection, and some allow shorter interval and for example 4 packets/connection. So, achieving high throughput between bluetooth smart device and smartphone could be quite problematic. as far as i know (i am not really into mobile development...) it also depends of android version installed - in 7.0 shorter connection intervals could be rejected.

Children
No Data
Related