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

BLE pheripheral and client send and recieve timing

Hi, good morning  , i am just wondering is it possible to send and recive data through ble faster than the coded examples please as i am sending gyrodata and its taking about 0.5sec per line and i would like to take alot of data samples and would like to minimize the time.

  • Hello,

    i am just wondering is it possible to send and recive data through ble faster than the coded examples please

    Absolutely - most of the examples does not strive for high throughput, as it is simply not required for their function.
    Have you see the SoftDevice's throughput documentation? This should be helpful for you to choose the right connection parameters, to achieve the desired throughput.

    i am sending gyrodata and its taking about 0.5sec per line and i would like to take alot of data samples and would like to minimize the time.

    0.5 sec per sample? That is indeed a very slow connection.
    What connection parameters are you using? If you want to minimize latency, you could try to configure your central device to use the shortest possible connection interval - 7.5 ms. Try this, and let me know if you achieve the desired functionality.

    Best regards,
    Karl 

Related