So, once I have figured it out how to obtain nanosecond on timestamps, I did a test.
So, on an open space for tests, with 03 RAKs connected to TTN, I programed a lorawan mote to send some payload to TTN periodically… And obviusly, I expected to receive the messages through the 03 RAKs in order to check the respective timestamps (that each radio gateway imparts) on TTN App GUI.
Once I checked them, I noticed that the timestamps differ up to microseconds… (10us at most). If we do a simple multiplication d=c.t (c=speed of ligth, t = timestamps difference) we can figure out that the distance between the radio gateways is supposed to be hundreds or even thousends of kilometers, which is false.
So, this is obviusly a sync problem between the RAKs. From my POV, I Just can figure out that maybe:
- RAKs are obtaining their time sync from different satellites. Or,
- RAKs are obtaining their time sync from same satellite but at different times and therefore timestamping differs.
Can you please help me out to figure out a clue to what is happening?
Thanks in avance for your support.