PNALMANAC

This structure stores Global Positioning System (GPS) almanac details.

Syntax

typedef struct tagPNALMANAC{
DWORD
dwStructureSize;
PNTIME
tiTime;
PNSATELLITE
saSatellite[PN_NUM_SATS_c];
DWORD
dwPNReserved;
} PNALMANAC;

Members

dwStructureSize
Specifies the size, in bytes, of the PNALMANAC structure
tiTime
Specifies the time data was collected by the GPS device
saSatellite
Specifies the satellite information that the GPS returns as a PNSATELLITE structure
dwPNReserved
Reserved for future use

Remarks

The index number for each PNSATELLITE structure is the pseudo-random noise (PRN) signal number or space vehicle identification (SVID) number of the satellite in question. However, as the index number goes from 0 through 31, the index number is one less than the PRN or SVID number.

The tiTime member stores the time almanac data was collected. To be precise, it is the time that the first piece of almanac information from a GPS satellite was received.