Trimble Outdoors 44326-00-ENG GPS Receiver User Manual


 
A
Using the FirstGPS API
66
FirstGPS Starter Kit User Guide
1.7.6
navGetLastFix
Get last position fix information.
Description
Gets a copy of the complete fix structure reflecting the last solution
fix. This contains various items including LLA and ECEF
position/velocity solutions, both raw and filtered, and their
uncertainties, clock bias, clock offset, list of satellites used, issue of
data (ephemeris) (IODE), and different mode flags.
The NAV_FIX_NEW event will be generated when a new position fix
is available.
Included Header File
#include npStdIface.h
Format
npRetCode navGetLastFix (npNavFixType* ptNavFix);
Output Parameter
Return Values
Data Type Parameter Description
npNavFixType* ptNavFix A pointer to the npNavFixType data structure, which
has various representations of navigation
information, updated by the navigation platform. For
detailed descriptions of each sub-field, refer to
npNavFixType, page 45.
Value Description
NAV_OK The last position fix information is retrieved
successfully.
NAV_ERROR The last position fix information is not retrieved
successfully.