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

Streaming data over BLE without any ACK

Hello,

I'm trying to stream data at ~ 30KB/s rate. I use nRF52840 development board with S140 as peripherial and smartphone with "nRF Connect" app as central. UART example works fine and I can send mentioned data in short range, but data rate decrease after distance between phone and nRF board increases. As far as I understant UART example uses notifications to send data and notifications has ACK in Link Layer. So increasing range lower my data transfer speed.

In my case packet loss is tolerable and i'm even curious how distance between devices affect packet loss. Every packet has index so after streaming i want to calculate how many packets were lost.

So I wand to ask if there any way to stream data without any ACK?

Thanks.

Parents
  • Hello,

    Thank you for your answer.

    I have one more question: So if my nRF52840 development board send data using notifications to mobile phone there is no guarantee that smartphone received every packet?

    I've done some test based on UART example and noticed that in longer range between devices transfer speed decreases but zero packets are lost, i used notifications. So in my theory smartphone as data receiver send some ACK in lower BLE layer to my development board which is peripheral.

    Best regards,

    Rytis

Reply
  • Hello,

    Thank you for your answer.

    I have one more question: So if my nRF52840 development board send data using notifications to mobile phone there is no guarantee that smartphone received every packet?

    I've done some test based on UART example and noticed that in longer range between devices transfer speed decreases but zero packets are lost, i used notifications. So in my theory smartphone as data receiver send some ACK in lower BLE layer to my development board which is peripheral.

    Best regards,

    Rytis

Children
No Data
Related