Trimble Outdoors 44326-00-ENG GPS Receiver User Manual


 
FirstGPS Starter Kit User Guide
57
Using the FirstGPS API
A
1.5.14
Satellite Status Code
1.5.15
Time Status Code
The time status flag has the following valid states. Only the highest
state should be considered valid for setting the application's real-time
clock.
npTimeStatusType is the type that enumerates the above constants.
Define Value Description
SCODE_DOING_FIXES 0 Doing position fixes.
SCODE_GOOD_1SV 1 A usable SV is available.
SCODE_NEED_TIME 2 Need GPS time.
SCODE_PDOP_HIGH 3 PDOP is too high.
SCODE_BAD_1SV 4 The chosen SV is unusable.
SCODE_0SVS 5 No usable satellites.
SCODE_1SV 6 Only one usable satellite.
SCODE_2SVS 7 Only two usable satellites.
SCODE_3SVS 8 Only three usable satellites.
SCODE_DCORR_GEN 9 Differential corrections.
SCODE_OVERDET_CLK 10 Over-determined clock.
Define Value Description
T_STATUS_NONE 0 Time is unknown.
T_STATUS_PROBLEM 1 Error detected. Now being fixed.
T_STATUS_APPX 2 Time is good to a few seconds, from
outside the receiver.
T_STATUS_SET 3 Time is good to ±10 msecs, from tracking
one satellite.
T_STATUS_BIAS_KNOWN 4 Time is good to ±1 µs, from a position fix.