TGpsTimingMeasurementData Class Reference

class TGpsTimingMeasurementData

This class is used to store timing assistance measurement data.

Public Member Functions
TGpsTimingMeasurementData ()
IMPORT_C TGpsTimingDataType DataType ()
IMPORT_C TInt DeltaTow ()
IMPORT_C TUint GPSTimingOfCellLsPart ()
IMPORT_C TInt GPSTimingOfCellMsPart ()
IMPORT_C TInt GpsReferenceTimeUncertainty ()
IMPORT_C TInt GpsTowSubms ()
IMPORT_C TNetworkMode NetworkMode ()
IMPORT_C TInt ReferenceFrameMsb ()
IMPORT_C TInt ReferenceIdentity ()
IMPORT_C void SetDataType ( TGpsTimingDataType )
IMPORT_C void SetDeltaTow ( TInt )
IMPORT_C void SetGPSTimingOfCellLsPart ( TUint )
IMPORT_C void SetGPSTimingOfCellMsPart ( TInt )
IMPORT_C void SetGpsReferenceTimeUncertainty ( TInt )
IMPORT_C void SetGpsTowSubms ( TInt )
IMPORT_C void SetNetworkMode ( TNetworkMode )
IMPORT_C void SetReferenceFrameMsb ( TInt )
IMPORT_C void SetReferenceIdentity ( TInt )
IMPORT_C void SetSfn ( TInt )
IMPORT_C TInt Sfn ()
Public Member Enumerations
enum _TGpsTimingDataType { EGpsTimingDataTypeUndefined , EGpsTimingDataTypeUtran , EGpsTimingDataTypeGsm , EGpsTimingDataTypeMax }
enum _TUtranMode { ENetworkModeUndefined , ENetworkModeFdd , ENetworkModeTdd , ENetworkModeMax }
Private Member Enumerations
enum _TTimingDataFlags { ETimingDataFlagsUtranTimingData  = 1, ETimingDataFlagsGsmTimingData  = 2, ETimingDataFlagsUtranModeIsFdd  = 4 }
Public Member Type Definitions
typedef TUint TGpsTimingDataType
typedef TUint TNetworkMode
Private Member Type Definitions
typedef TUint TTimingDataFlags
Private Attributes
TUint iData1
TInt iData2
TInt iData3
TInt iData4
TTimingDataFlags iTimingDataFlags

Constructor & Destructor Documentation

TGpsTimingMeasurementData()

IMPORT_C TGpsTimingMeasurementData ( )

Default Constructor

Member Functions Documentation

DataType()

IMPORT_C TGpsTimingDataType DataType ( ) const

Returns the data type to be stored. TGpsTimingMeasurementDataType

DeltaTow()

IMPORT_C TInt DeltaTow ( ) const

Returns the GSM Gps Tow Subms data Note data type must be EGpsTimingDataTypeGsm Valid values are in the range 0..127 (optional)

TGpsTimingMeasurementData::DataType()

GPSTimingOfCellLsPart()

IMPORT_C TUint GPSTimingOfCellLsPart ( ) const

Returns the GPS Timing Of Cell LS Part data Note data type must be EGpsTimingDataTypeUtran Valid values are in the range 0..4294967295

TGpsTimingMeasurementData::DataType()

GPSTimingOfCellMsPart()

IMPORT_C TInt GPSTimingOfCellMsPart ( ) const

Returns the GPS Timing Of Cell Ms Part data Note data type must be EGpsTimingDataTypeUtran Valid values are in the range 0..16383

TGpsTimingMeasurementData::DataType()

GpsReferenceTimeUncertainty()

IMPORT_C TInt GpsReferenceTimeUncertainty ( ) const

Returns the GSM Gps Reference Time Uncertainty data Note data type must be EGpsTimingDataTypeGsm Valid values are in the range 0..127 (optional)

TGpsTimingMeasurementData::DataType()

GpsTowSubms()

IMPORT_C TInt GpsTowSubms ( ) const

Returns the Gps Tow Subms data Note data type must be EGpsTimingDataTypeGsm Valid values are in the range 0..9999 (optional)

TGpsTimingMeasurementData::DataType()

NetworkMode()

IMPORT_C TNetworkMode NetworkMode ( ) const

Returns the UTran Network Mode Note data type must be EGpsTimingDataTypeUtran TGpsTimingMeasurementData::DataType()

ReferenceFrameMsb()

IMPORT_C TInt ReferenceFrameMsb ( ) const

Returns the Reference Frame MSB data Note data type must be EGpsTimingDataTypeGsm Valid values are in the range 0..63

TGpsTimingMeasurementData::DataType()

ReferenceIdentity()

IMPORT_C TInt ReferenceIdentity ( ) const

Returns the Reference Identity data Note data type must be EGpsTimingDataTypeUtran Valid values are in the range 0..511 for FDD mode 0..127 for TDD mode

TGpsTimingMeasurementData::DataType()

SetDataType(TGpsTimingDataType)

IMPORT_C void SetDataType ( TGpsTimingDataType aDataType )

Sets the data type to be stored.

Parameters

TGpsTimingDataType aDataType data type to be stored

SetDeltaTow(TInt)

IMPORT_C void SetDeltaTow ( TInt aDeltaTow )

Sets the GSM Delta Tow data element Note data type must have been set to EGpsTimingDataTypeGsm Valid values are in the range 0..127 (optional)

TGpsTimingMeasurementData::SetDataType()

Parameters

TInt aDeltaTow the GSM Delta Tow value to assign

SetGPSTimingOfCellLsPart(TUint)

IMPORT_C void SetGPSTimingOfCellLsPart ( TUint aGpsTocLs )

Sets the UTran GPS Timing Of Cell LS Part data element Note data type must have been set to EGpsTimingDataTypeUtran Valid values are in the range 0..4294967295

TGpsTimingMeasurementData::SetDataType()

Parameters

TUint aGpsTocLs the GPS Timing Of Cell LS Part to assign

SetGPSTimingOfCellMsPart(TInt)

IMPORT_C void SetGPSTimingOfCellMsPart ( TInt aGpsTocMs )

Sets the UTran GPS Timing Of Cell Ms Part data element Note data type must have been set to EGpsTimingDataTypeUtran Valid values are in the range 0..16383

TGpsTimingMeasurementData::SetDataType()

Parameters

TInt aGpsTocMs the GPS Timing Of Cell Ms Part to assign

SetGpsReferenceTimeUncertainty(TInt)

IMPORT_C void SetGpsReferenceTimeUncertainty ( TInt aGpsRefTimeUncert )

Sets the GSM Gps Reference Time Uncertainty data element Note data type must have been set to EGpsTimingDataTypeGsm Valid values are in the range 0..127 (optional)

TGpsTimingMeasurementData::SetDataType()

Parameters

TInt aGpsRefTimeUncert the GSM Gps Reference Time Uncertainty value to assign

SetGpsTowSubms(TInt)

IMPORT_C void SetGpsTowSubms ( TInt aGpsTowSubms )

Sets the GSM Gps Tow Subms data element Note data type must have been set to EGpsTimingDataTypeGsm Valid values are in the range 0..9999 (optional)

TGpsTimingMeasurementData::SetDataType()

Parameters

TInt aGpsTowSubms the Gps Tow Subms value to assign

SetNetworkMode(TNetworkMode)

IMPORT_C void SetNetworkMode ( TNetworkMode aNetworkMode )

Sets the UTran Network Mode Note data type must have been set to EGpsTimingDataTypeUtran TGpsTimingMeasurementData::SetDataType()

Parameters

TNetworkMode aNetworkMode indicates FDD or TDD mode

SetReferenceFrameMsb(TInt)

IMPORT_C void SetReferenceFrameMsb ( TInt aRefFrameMsb )

Sets the GSM Reference Frame MSB data element Note data type must have been set to EGpsTimingDataTypeGsm Valid values are in the range 0..63

TGpsTimingMeasurementData::SetDataType()

Parameters

TInt aRefFrameMsb the Reference Frame MSB value to assign

SetReferenceIdentity(TInt)

IMPORT_C void SetReferenceIdentity ( TInt aRefId )

Sets the UTran Reference Identity data element Note data type must have been set to EGpsTimingDataTypeUtran Valid values are in the range 0..511 for FDD mode 0..127 for TDD mode

TGpsTimingMeasurementData::SetDataType()

Parameters

TInt aRefId the Reference Identity to assign

SetSfn(TInt)

IMPORT_C void SetSfn ( TInt aSfn )

Sets the UTran SFN data element Note data type must have been set to EGpsTimingDataTypeUtran Valid values are in the range 0..4095

TGpsTimingMeasurementData::SetDataType()

Parameters

TInt aSfn the SFN value to assign

Sfn()

IMPORT_C TInt Sfn ( ) const

Returns the SFN data Note data type must be EGpsTimingDataTypeUtran Valid values are in the range 0..4095

TGpsTimingMeasurementData::DataType()

Member Enumerations Documentation

Enum _TGpsTimingDataType

Enumerators

EGpsTimingDataTypeUndefined
EGpsTimingDataTypeUtran
EGpsTimingDataTypeGsm
EGpsTimingDataTypeMax

Enum _TTimingDataFlags

Enumerators

ETimingDataFlagsUtranTimingData = 1
ETimingDataFlagsGsmTimingData = 2
ETimingDataFlagsUtranModeIsFdd = 4

Enum _TUtranMode

Enumerators

ENetworkModeUndefined
ENetworkModeFdd
ENetworkModeTdd
ENetworkModeMax

Member Type Definitions Documentation

Typedef TGpsTimingDataType

typedef TUint TGpsTimingDataType

Specifies the type of timing data supplied

Typedef TNetworkMode

typedef TUint TNetworkMode

Specifies the network mode of operation. Currently specific to UTRAN networks.

Typedef TTimingDataFlags

typedef TUint TTimingDataFlags [private]

class internal flags

Member Data Documentation

TUint iData1

TUint iData1 [private]

Data containers The data containers hold different data depending on the network protocol in use. See constructor definition.

TInt iData2

TInt iData2 [private]

TInt iData3

TInt iData3 [private]

TInt iData4

TInt iData4 [private]

TTimingDataFlags iTimingDataFlags

TTimingDataFlags iTimingDataFlags [private]

Gps Time of Week in milli seconds