TPositionGpsMeasurementInfo Class Reference
class TPositionGpsMeasurementInfo : public TPositionInfoBase |
Inherits from
- TPositionGpsMeasurementInfo
Constructor & Destructor Documentation
TPositionGpsMeasurementInfo()
IMPORT_C | TPositionGpsMeasurementInfo | ( | ) | |
Member Functions Documentation
AppendMeasurementData(const TPositionGpsMeasurementData &)
ClearMeasurementData()
IMPORT_C void | ClearMeasurementData | ( | ) | |
GetGpsTimingData(TGpsTimingMeasurementData &)
Populates aGpsTimingData with the GPS Timing Measurement Data
GetMeasurementData(TUint, TPositionGpsMeasurementData &)
Parameters
TUint aIndex | The index of the measurement data requested. An index of zero specifies the first set of measurement data |
TPositionGpsMeasurementData & aMeasurementData | Holds the returned measurement data |
GpsTimeOfWeek()
IMPORT_C TInt | GpsTimeOfWeek | ( | ) | const |
Returns the GPS Time of Week in milliseconds
Note that RRC and RRLP encode this using a different algorithm in their respective GPS Measurement Position Response message elements.
For RRC the actual value in milliseconds is sent, in the range 0 to 604800000.
For RRLP the value sent is a 24 bit representation of actual GPS TOW in ms in the range 0 to 14399999. This value should be set to (GpsTimeOfWeek() mod 14400000), ie the remainder of division by 14400000.
SetGpsTimeOfWeek
NumMeasurements()
IMPORT_C TInt | NumMeasurements | ( | ) | const |
PositionCalculationPossible()
IMPORT_C TBool | PositionCalculationPossible | ( | ) | const |
Returns true if the measurement info is complete enough so it should be possible to calculate a position.
SetGpsTimeOfWeek(TInt)
IMPORT_C void | SetGpsTimeOfWeek | ( | TInt | aGpsTimeOfWeek | ) | |
Sets the GPS Time of Week
The Time of Week in milliseconds, with no conversion specific to the location protocol in use (RRC, RRLP or other).
GpsTimeOfWeek
Parameters
TInt aGpsTimeOfWeek | The GPS Time of Week to assign |
SetGpsTimingData(const TGpsTimingMeasurementData &)
Sets the GPS Timing Measurement Data
SetPositionCalculationPossible(TBool)
IMPORT_C void | SetPositionCalculationPossible | ( | TBool | aCalcPossible | ) | |
The indicator is typically set by an AGPS positioning module and, if set to true, instructs the Location subsystem to complete Terminal Assisted positioning without waiting for a positioning timeout to expire.
Parameters
TBool aCalcPossible | The calculation indicator. |
Member Data Documentation
TInt
iCalcPossible
TInt
| iCalcPossible | [protected] |
Indicates if the measurement information is complete enough to calculate a position
TInt
iGpsTimeOfWeek
TInt
| iGpsTimeOfWeek | [protected] |
Gps Time of Week in milli seconds
TGpsTimingMeasurementData
iGpsTimingMeasurementData
GPS/Network Timing Measurements
TFixedArray< TPositionGpsMeasurementData, KPositionGpsMaxMeasurements > iMeasurementData
The satellite measurements
TUint
iNumMeasurements
TUint
| iNumMeasurements | [protected] |
The number of measurements
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.