Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 4 Forum Discussions

Anonymous
Not applicable

Hi,

I'm researching what is the maximun throughput via notification that can be achieved. Is there any limitation regarding the number of packtes in one connection interval? 

I want to send a max of 32 bytes a packet, how do i know how many packets it will send?

Thank you

0 Likes
1 Solution
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Please have a look at this project in which steps to maximize throughput has been used.

PSoC-4-BLE/100_Projects_in_100_Days/Day024_Throughput at master · cypresssemiconductorco/PSoC-4-BLE ...

Thanks,

Hima

View solution in original post

0 Likes
3 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Please have a look at this project in which steps to maximize throughput has been used.

PSoC-4-BLE/100_Projects_in_100_Days/Day024_Throughput at master · cypresssemiconductorco/PSoC-4-BLE ...

Thanks,

Hima

0 Likes
Anonymous
Not applicable

Ok, but there is no formula to get the value of the throughput ?

And how connection really works? For example, if connection interval is 7.5ms, this means that it sends packtes during 7.5 ms and sleep for another 7.5ms?

Thank You

0 Likes
Anonymous
Not applicable

7.5ms is the time between each packet transmission; This means that you can send a packet of data every 7.5ms. So, if you use the extended data you could get up to 512 bytes per 7.5ms or about 68266.7~ bytes per second, but that is assuming that the whole 512 bytes are sent in the same packet.

The best way to measure would be to test with a project trying to achieve maximum throughput, and then count the number of bytes received over the time it takes to get the throughput. Empirical testing is much more accurate than running calculations on the operation of the device.