Bluetooth transfer speed is slow.

- nRF connect SDK 1.9.1

- nRF5340 DK

We use the official samples Bluetooth: Central UART and Bluetooth: Peripheral UART to test bluetooth transfer between two development kit. We found observable delays and data loss when sending data continuously.

Specifically, the central sends data with a length of 40 bytes each 0.05s. The central send a total of 5120bytes, but the peripheral recieve only 4480 bytes of data. The transmission process was accompanied by a relatively obvious delay.

  • We want to know how to solve the problem of real-time transmission and packet loss

  • Hi

    From what you explain here, it seems like you're not handling the received data correctly (checking that it all arrives and is handled) before sending more. I would recommend checking out our Throughput sample to see how transmitting and receiving big amounts of data is handled there. There must be some error message on your end that you're not checking for or ignoring.

    Best regards,

    Simon

  • T'hanks for your answer. We have read the sample you mentioned. We found this program to transfer data between two development kits. If it is to transfer data between the development kit and the computer, is such a solution still feasible?

  • In addition, we did not find out where the int bt_throughput_read(struct bt_throughput *throughput) stores the data. We have no clue how to get the received data.

  • If your computer support Bluetooth Low Energy, this should be possible, but we don't have a computer application that works as a Bluetooth central. You can use the nRF Connect for Desktop BLE app, but that requires a DK connected to the computer to act as the central device, where data is going from one DK to the one connected to the computer, and then forwards that to the computer.

    Best regards,

    Simon

1 2