Trimble Outdoors 44326-00-ENG GPS Receiver User Manual


 
A
Using the FirstGPS API
80
FirstGPS Starter Kit User Guide
1.7.19
navGpsStart
Navigation platform startup.
Description
This is the entry point of the navigation platform. It creates all the
necessary tasks and allocates all the global resources used within the
navigation platform. It also has a set of input parameters, which allows
an application task to enter the initial time and accuracy of that initial
time, to reduce the time needed to determine the first fix.
Included Header File
#include npStdIface.h
Format
npRetCode navGpsStart (FLT fltTimeAccuracy, U32 ulGpsMsec,
U16 usGpsWeek, U8 ucTimeStatus);
Input Parameters
Return Values
Data Type Parameter Description
FLT fltTimeAccuracy Accuracy of time value input in milliseconds, 1 if unknown.
U32 ulGpgMsec Approximate GPS time of week in milliseconds.
U16 usGpsWeek GPS week number.
U8 ucTimeStatus A flag indicates whether or not the above values are
accurate. The value can be either TRUE, indicating that the
time is accurate, or FALSE, indicating that the time is
approximate. Ignore if fltTimeAccuracy is 1.
Value Description
NAV_OK The initialization of navigation platform is successful.
NAV_ERROR The initialization of navigation platform is not successful.