The method public long getFullBiasNanos ()
in the GnssClock
class is defined to be:
the difference between hardware clock (getTimeNanos()) inside GPS receiver and the true GPS time since 0000Z, January 6, 1980, in nanoseconds.
So i assumed that every time i will get a callback event for the gnss measurements(from which i am extracting the gnss clock), this number will grow, as the subsequent calls arrive at subsequent times, so that the time of the received measurement will be larger (naturally we are moving AWAY from 1980, not towards it)
However that is not seemed to be the case, Here are two readings (the first and last) i got while the app was running: (date and time stamp attached)
First was on 14:11:40
2022-07-06 14:11:40.985 12285-12304/com.example.gnss1 I/aabaab: full Bias Nanos: -1340320027695657699
Last was on 14:13:40
2022-07-06 14:13:40.040 12285-12304/com.example.gnss1 I/aabaab: full Bias Nanos: -1340320027695649792
As you can see, after 2 full minutes of the app running, the result of getFullBiasNanos()
didn't increase, it actually DECREASED by a couple of thousands of nano seconds, when it should have been increased by hundreds of billions of nano-seconds.
What am i missing?
Thank you in advance