Definition:
#include <aGPM.tea>
| int aGPM_GetSatelliteID( | char addr, char n); |
Parameters:
| addr | - | IIC address of the specified GPM. |
| n | - | Zero-based index of the satellite. |
Return Value:
An int with the ID of the indexed satellite being used for tracking in the specified GPM.
Description:
This routine reads the ID of the indexed satellite being used for tracking from a GPM. The GPM keeps track of up to 8 satellites. The index may range from 0 to 7. See the documentation for the GPS Module for more details regarding GPM registers and functions.
Example:
#include <aGPM.tea>
x=aGPM_GetSatelliteID((unsigned char)0xD0, 4);
This would set variable x to the ID of satellite 4 in use by the GPM.
Related:
aGPM_Get2DigitInt, aGPM_Get3DigitInt, aGPM_GetYear, aGPM_GetAltitude, aGPM_GetAnalogInput, aGPM_GetHours, aGPM_GetMinutes, aGPM_GetSeconds, aGPM_GetDay, aGPM_GetMonth, aGPM_GetLatitudeDegrees, aGPM_GetLatitudeMinutes, aGPM_GetLatitudeFrac, aGPM_GetLatitudeDirChar, aGPM_GetLongitudeDegrees, aGPM_GetLongitudeMinutes, aGPM_GetLongitudeFrac, aGPM_GetLongitudeDirChar, aGPM_GetGPSQuality, aGPM_GetSatellitesInUse, aGPM_GetHDOP, aGPM_GetTrueHeading, aGPM_GetTrueHeadingFrac, aGPM_GetMagHeading, aGPM_GetMagHeadingFrac, aGPM_GetSpeed, aGPM_GetSpeedFrac, aGPM_GetSatelliteSignalLevel, aGPM_GetDigitalIO, aGPM_GetPosFoundFlag, aGPM_GetStatus, aGPM_SetPortDir, aGPM_SetPortBits
version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado. All rights reserved.