TOMASuplNavigationModel Class Reference

class TOMASuplNavigationModel
TOMASuplSatelliteInfoElement holds values for
  • GPS Week, which contains values for GPS Week of the Assistance Data currently held in the SET. The valid range is 0 to 1023.

  • GPS Toe, which contains the GPS time of Ephemeris in hours of the newest set of Ephemeris contained in the SUPL Enabled Terminal. Valid range is 0 to 167.

  • NSat, which contains the number of satellites to be considered for the current GPS Assistance data request. Valid range is 0 to 32.

  • Toe Limit, which contains the Ephemeris age tolerance of the SUPL Enabled Terminal in hours. Valid range is 0 to 10.

  • A list of Satellite Info objects. The number of satellite info elements held by the list is same as NSat. Each Satellite Info element contains the Satellite ID and Satellite Sequence Number.

Since
Series 60 3.1u

Constructor & Destructor Documentation

TOMASuplNavigationModel()

IMPORT_CTOMASuplNavigationModel()

~TOMASuplNavigationModel()

IMPORT_C~TOMASuplNavigationModel()

Member Functions Documentation

GetNavigationModel(TInt &, TInt &, TInt &, TInt &)

IMPORT_C voidGetNavigationModel(TInt &aGpsWeek,
TInt &aGpsToe,
TInt &aNSAT,
TInt &aToeLimit
)const

GetNavigationModel retrieves values for the different parameters of Navigation Data.

Parameters

TInt & aGpsWeekA reference parameter that holds the GPS Week of the assistance data currently held.
TInt & aGpsToeA reference parameter that holds the GPS Time of Ephemeris in hours of the newest set of Ephemeris.
TInt & aNSATA reference parameter that holds Number of satellites to be considered for the current GPS assistance data request.
TInt & aToeLimitA reference parameter that holds T-Toe Limit, that contains the age tolerance of the SET to the network in hours.

GetSatInfoElement(RArray< TOMASuplSatelliteInfoElement > &)

IMPORT_C TIntGetSatInfoElement(RArray< TOMASuplSatelliteInfoElement > &aSatInfo)const

GetSatInfoElement gets the set of all Satellite Info elements held by TOMASuplNavigationModel

Parameters

RArray< TOMASuplSatelliteInfoElement > & aSatInfoA reference parameter that holds the Satellite Info Elements

GetSatInfoElement(TOMASuplSatelliteInfoElement &, TInt)

IMPORT_C TIntGetSatInfoElement(TOMASuplSatelliteInfoElement &aSatInfo,
TIntaIndex
)const

GetSatInfoElement gets Satellite Info element at a given index

Parameters

TOMASuplSatelliteInfoElement & aSatInfoA reference parameter that holds the Satellite Info Element
TInt aIndexThe index for the Satellite Info Element to be retrieved

SetNavigationModel(TInt, TInt, TInt, TInt)

IMPORT_C TIntSetNavigationModel(TIntaGpsWeek,
TIntaGpsToe,
TIntaNSAT,
TIntaToeLimit
)

SetNavigationModel sets values for the different parameters of Navigation Data

Parameters

TInt aGpsWeekGPS Week of the assistance data currently held. Valid range is 0 to 1023
TInt aGpsToeGPS Time of Ephemeris in hours of the newest set of Ephemeris. Valid range is 0 to 167
TInt aNSATNumber of satellites to be considered for the current GPS assistance data request. Valid range is 0 to 31. If the SUPL Enabled Terminal has no ephemeris data, this field shall be set to zero. If the SUPL Enabled Terminal has ephemeris data whose age exceeds the T-Toe Limit, this field may be set to zero. If the network receives a zero value for this field, it ignores the GPS Week, GPS Toe fields and assumes that the SUPL Enabled Terminal has no ephemeris value
TInt aToeLimitT-Toe Limit, that contains the age tolerance of the SET to the network in hours. Valid range is 0 to 10.

SetSatInfoElement(const RArray< TOMASuplSatelliteInfoElement > &)

IMPORT_C voidSetSatInfoElement(const RArray< TOMASuplSatelliteInfoElement > &aSatInfo)

SetSatInfoElement sets the Satellite Info Elements

Parameters

const RArray< TOMASuplSatelliteInfoElement > & aSatInfoParameter of type RArray, that has the Satellite Info elements

SetSatInfoElement(const TOMASuplSatelliteInfoElement &, TInt)

IMPORT_C TIntSetSatInfoElement(const TOMASuplSatelliteInfoElement &aSatInfo,
TIntaIndex
)

SetSatInfoElement sets Satellite Info element at a given index

Parameters

const TOMASuplSatelliteInfoElement & aSatInfoParameter that holds the Satellite Info Element
TInt aIndexThe index at which the Satellite Info element has to be set

operator=(const TOMASuplNavigationModel &)

TOMASuplNavigationModel &operator=(const TOMASuplNavigationModel &aNaviModel)

Parameters

const TOMASuplNavigationModel & aNaviModel

Member Data Documentation

TInt iGPSToe

TInt iGPSToe[private]

TInt iGPSWeek

TInt iGPSWeek[private]

TInt iNSat

TInt iNSat[private]

RArray< TOMASuplSatelliteInfoElement > iSatInfo

RArray< TOMASuplSatelliteInfoElement >iSatInfo[private]

TBool iSatInfoPresent

TBool iSatInfoPresent[private]

TInt iToeLimit

TInt iToeLimit[private]