LinksPoint GPS Toolkit Reference
SirfSetEphemeris
SiRF Specific functions
Sets ephemeris data on a SiRF receiver
Parameters
Parameters Description
SIRF_PACKED_EPHEMERIS * pFrame Pointer to SIRF_PACKED_EPHEMERIS
ulSvid Sattelite ID number, ranging from 0 to 32
Return Value
Returns GPSERROR_NONE on success or GPSERROR_CONFIG on failure.
Remarks
  • SiRF receivers support external sources of ephemeris data to improve acquisition times.

  • The ephemeris data for each satellite is stored as a two dimensional array of [3][15] UNIT16 elements. The 3 represents three separate sub-frames. 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).
Group
Declaration
GPSERROR GPSAPI SirfSetEphemeris(unsigned short usSvid, SIRF_PACKED_EPHEMERIS * pFrame);
File
sirfapi.h
Links
Copyright ©1998-2005 Links Point Inc.