Answer the question
In order to leave comments, you need to log in
How to increase the speed of reading GATT characteristics of BLE?
I am working on a project to transfer data stream between a bluetooth device (TI CC2650) and android. To do this, it is necessary to read the GATT characteristic, into which the necessary information from the chip is written, at a speed of at least 24 kbps. The Bluetooth Low Energy specification allows this transmission rate. I work in Android Studio and use the standard libraries for BLE offered by the studio. When a read request is made from the Master device, the characteristics of the Slave device via command mBluetoothLeService.readCustomCharacteristic()
or mBluetoothLeService.readCharacteristic()
the time until the data becomes available is a minimum of 100 ms. By increasing the size of the GATT characteristic, the time can reach 1500 ms. What is the reason for this limitation and how can it be bypassed?
Answer the question
In order to leave comments, you need to log in
Specifications are not designed for this. This is not a mechanism for high-speed data transfer, but a mechanism for notifying surrounding consumers about the values of characteristics.
Bluetooth LE and Bluetooth in particular offer several mechanisms (standards) for data streaming (A2DP, etc.).
In general, in ready-made BLE modules, the interval for sending characteristics is programmed, because this affects the power consumption of the module. So, if you remain in the proposed concept of hammering nails with a microscope, then you need to look for ways to configure the BLE module.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question