Trimble Outdoors 44326-00-ENG GPS Receiver User Manual


 
A
Using the FirstGPS API
58
FirstGPS Starter Kit User Guide
1.5.16
Standard FirstGPS Events
The following lists all of the standard events that the library could
possibly generate. For example, the event NAV_FIX_NEW indicates
that a new position fix has been generated.
1.6
FirstGPS API - Return Types
The currently defined return types are:
npRetCode is the FirstGPS API function return type that enumerates
the above values.
Define Value Description
NAV_FIX_NEW 10 New solution fix.
NAV_NO_FIX_NEW 11 Incapable of producing new fix.
NAV_TRK_SELECTION_NEW 12 New SV tracking selection.
NAV_FIX_SV_SEL_NEW 13 New SV fix selection.
NAV_REF_DCORR_NEW 15 Newly generated differential correction.
NAV_POWER_ON_ACK 20 Received request to turn on the FirstGPS
software.
NAV_START_UP_COMPLETE 21 FirstGPS software started. Status valid.
NAV_READY_TO_SHUTDOWN 22 FirstGPS software ended. User can shutdown
the application.
NAV_START_UP_FAILED 25 FirstGPS software startup failed.
NAV_TEMP_MEAS 27 Temperature measurement updated.
NAV_FATAL_ERROR 28 FirstGPS software fatal error generated.
1
1
NAV_FATAL_ERROR indicates that a fatal error has occurred, and that the library has been
shut down. To restart the library, call navGpsStart (page 80).
Define Value Description
NAV_ERROR -1 A function call failed.
NAV_OK 0 A function call is successful.
NAV_INCOMPLETE 1 Data retrieved is not complete.