Trimble Outdoors 44326-00-ENG GPS Receiver User Manual


 
A
Using the FirstGPS API
50
FirstGPS Starter Kit User Guide
1.5
FirstGPS API - #define Directives
and Enumerated Data Types
1.5.1
Event Handling Constants
1.5.2
Almanac Status Code
For the almanac status flag, if the value is 0, then there is no almanac
data in the receiver. This is the normal situation after a cold reset. It is
possible that a complete almanac was not collected before the receiver
was turned off after a cold reset.
When the value is non-zero, some almanac pages are present in the
receiver.
A value of 15 indicates the desired condition, namely that the almanac
is complete and current.
Define Value Description
EVENT_NO_WAIT 0 For more information, refer to the lTimeOut
parameter of navGetEvent, page 63.
EVENT_WAIT_FOREVER -1 For more information, refer to the lTimeOut
parameter of navGetEvent, page 63.
EVENT_GET_FIRST 0 For more information, refer to the ucGetFlag
parameter of navGetEvent, page 63.
EVENT_GET_LAST 1 For more information, refer to the ucGetFlag
parameter of navGetEvent, page 63.
Define Value Description
NO_ALMANAC_DATA 0 There is no almanac data in the database.
HEALTH_PRESENT 1 Indicates almanac health page is collected.
ALM_PAGES_PRESENT 2 Almanac is complete and current.
UTC_PRESENT 4 Indicates UTC page is collected.
IONO_PRESENT 8 Indicates ionospheric page is collected.