How do I calculate throughput for a BLE link?

How can I calculate the maximum throughput for an application running on the nRF51822 and the S110, when connecting to different kind of Central devices?

Parents
  • Hi Ole Morten,

    thanks for the quick response.

    But how do I know how many packets can I send per interval ?

    And i want calculate throughput after receiving 1000 packets, so i have to consider this value in calculations right ? total time would be 40seconds and not 40ms...

    thanks a lot again, but I want to make sure my calculations are correct :\

  • Your question doesn't quite make sense. Do you want to calculate throughput (i.e. bytes per second), or do you want to know the time it takes to transmit a certain amount of data (i.e. seconds per x bytes)?

    This question has to do with the former, but it's basic math going between them, if you know the throughput. Also, did you actually read the first reply here? The number of packets per interval is dependent on the devices you use, and there is hence no general answer to it, you simply have to test the devices you're interested in knowing the throughput between. As for the TI chip you're apparently using, I unfortunately don't know.

    1000 packets also doesn't say anything about what amounts of data you need to transfer, so I'm not quite sure how you'd suggest using this number for anything.

    I really think that you should take some time to make sure you understand the basics of BLE, what a connection interval is, what happens in a connection event, and how data transfer is ongoing. The previously linked questions may be useful, as well as nAN-36: https://www.nordicsemi.com/eng/content/download/34055/573345/file/nAN-36.zip

    Finally, I must say I find it rather interesting that you have to visit a Nordic Q&A site to get answers on how to use your TI chip, as both the name of your defines and this questions suggests: http://e2e.ti.com/support/low_power_rf/f/538/t/322198.aspx

Reply
  • Your question doesn't quite make sense. Do you want to calculate throughput (i.e. bytes per second), or do you want to know the time it takes to transmit a certain amount of data (i.e. seconds per x bytes)?

    This question has to do with the former, but it's basic math going between them, if you know the throughput. Also, did you actually read the first reply here? The number of packets per interval is dependent on the devices you use, and there is hence no general answer to it, you simply have to test the devices you're interested in knowing the throughput between. As for the TI chip you're apparently using, I unfortunately don't know.

    1000 packets also doesn't say anything about what amounts of data you need to transfer, so I'm not quite sure how you'd suggest using this number for anything.

    I really think that you should take some time to make sure you understand the basics of BLE, what a connection interval is, what happens in a connection event, and how data transfer is ongoing. The previously linked questions may be useful, as well as nAN-36: https://www.nordicsemi.com/eng/content/download/34055/573345/file/nAN-36.zip

    Finally, I must say I find it rather interesting that you have to visit a Nordic Q&A site to get answers on how to use your TI chip, as both the name of your defines and this questions suggests: http://e2e.ti.com/support/low_power_rf/f/538/t/322198.aspx

Children
No Data
Related