LinksPoint GPS Toolkit Reference
SirfGetAlmanac
SiRF Specific functions | See Also
Gets almanac data from a SiRF receiver
Parameters
Parameters Description
void * pAlmanac Pointer to void, see SIRF_ALMANAC_ALLOCATION_SIZE_IN_BYTES.
Return Value
Returns GPSERROR_NONE on success or GPSERROR_CONFIG on failure.
Remarks
  • Call SiRFPollAlmanac before this function to cause the receiver to output the data

  • The almanac data is stored in the code as a 448-element array of INT16 values. These 448 elements are partitioned as 32 x 14 elements where the 32 represents the satellite number minus 1 and the 14 represents the number of INT16 values associated with this satellite. The data is packed; the exact format of this representation and packing method can be extracted from the ICD-GPS-2000 document. The ICD-GPS- 2000 document describes the data format of each GPS navigation sub-frame and is available on the web at http://www.arinc.com/gps.

  • The user is responsible for allocating and freeing the memory for the parameter(s).
See Also
Group
Declaration
GPSERROR GPSAPI SirfGetAlmanac(void * pAlmanac);
File
sirfapi.h
Links
Copyright ©1998-2005 Links Point Inc.