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?

How can I calculate the maximum throughput for a ble link between peripheral and central device ? I'm sending a packet (20bytes = 160 bits) every 40ms until send a total of 1000 packets.

R = (160*1000)/40s = 4000bps => 3.9kbps

That is a correct way for calculate throughput for ble ?? and the max and min connection interval ? at this moment my parameters are:

DEFAULT_DESIRED_MIN_CONN_INTERVAL 32; // 40ms

DEFAULT_DESIRED_MAX_CONN_INTERVAL 64; //80ms

How do these values interfere with my calculations?
I dont understand your examples because my propose is calculate throughput after sending 1000 packets.

How can I calculate the maximum throughput for a ble link between peripheral and central device ? I'm sending a packet (20bytes = 160 bits) every 40ms until send a total of 1000 packets.

R = (160*1000)/40s = 4000bps => 3.9kbps

That is a correct way for calculate throughput for ble ?? and the max and min connection interval ? at this moment my parameters are:

DEFAULT_DESIRED_MIN_CONN_INTERVAL 32; // 40ms

DEFAULT_DESIRED_MAX_CONN_INTERVAL 64; //80ms

How do these values interfere with my calculations?
I dont understand your examples because my propose is calculate throughput after sending 1000 packets.

If you want to transfer data every 40 ms, you should use a connection interval of 40 ms. For a link with a connection interval of 40 ms, max throughput will be 6 * 20 B * 1/(0.040 s) = 3 kB/s if your devices are capable of transferring six packet per interval and 1 * 20 B * 1/(0.040 s) = 0.5 kB/s if you transfer one packets per interval.