How to sync a BLE based Arduino with Android App

Hi All,

I need to sync the clocks between my BLE connected Arduino devices and my Android App. Just imagine that I have 2 sensors each connected to a different Arduino and both are communicating with the App. So I am looking for some kind of algorithms that will allow me to sync between the 3 clocks. My goal is to achieve 1-2 millisecond timing accuracy.

Due to the BLE latency, I must sync the clocks somehow.

Any ideas?

Thanks, Moe