How to do real-time data rate calculation?

Hi,

I have tried the BLE image transfer demo and I really want to have the similar function about the real time data rate calculation. How could I do that? I found there is no information about this . Thank you for your help!

Related