Helpre function implementig C interface to pass assitance data. More...
#include "glgpsapi.h"
#include "glgps_hal.h"
#include "glct_api.h"
#include "glct_evt_proc.h"
#include "glct_crt_lib.h"
#include "glct_data.h"
#include "gltoolsapi.h"
Functions | |
void | GlctMarkToIgnore (void *pGpsCtrl, unsigned long ulNvStorageToIgnore) |
GlctMarkToIgnore Marks elements of nonvolatile storage to ignore next time the NVRAM is loaded. | |
void | GlctMarkToIgnoreAndSpoof (void *pGpsCtrl, unsigned long ulNvStorageToIgnore, long lRtcErrMs, signed char cPosError, unsigned long ulPosAgeSec) |
GlctMarkToIgnoreAndSpoof Marks element of nonvolatile storage to ignore next time the NVRAM is loaded and causes the time stored in RTC and position to be spoofed. | |
void | GlctMarkToIgnoreAndSpoofAll (void *pGpsCtrl, unsigned long ulNvStorageToIgnore, long lRtcErrMs, signed char cPosError, unsigned long ulPosAgeSec, unsigned long ulOscAgeSec, unsigned long ulOscUncPpb) |
GlctMarkToIgnoreAndSpoofAll extends GlctMarkToIgnoreAndSpoof by adding OscAge and OscUnc (ppb). | |
int | GlctSetReferenceTime (void *pGpsCtrl, GL_REF_TIME *pRefTime) |
GlctSetReferenceTime should be called from the HAL when assistance data is received from the network. | |
int | GlctSetReferenceTimeAndUnc (void *pGpsCtrl, GL_REF_TIME *pRefTime, unsigned long ulUncertaintyMs) |
GlctSetReferenceTimeAndUnc should be called from the HAL when assistance time and uncertainty is received from the network. | |
int | GlctSetAsstPreciseTime (void *pGpsCtrl, GL_TIME *pPreciseTimeGps, GL_TIME_DIRECTION etTimeDirection) |
GlctSetAsstPreciseTime should be called from the HAL when assistance precise time is received from the network. | |
int | GlctSetReferenceLocation (void *pGpsCtrl, GL_ASS_POS_QUAL *pAsstPos) |
GlctSetReferenceLocation should be called from the HAL when assistance reference location is received from the network. | |
int | GlctSetReferenceLocationAndAge (void *pGpsCtrl, GL_ASS_POS_QUAL *pAsstPos, unsigned long ulAgeSec) |
GlctSetReferenceLocationAndAge should be called from the HAL when assistance reference location with known age is received from the network. | |
int | GlctSetSetEphemeris (void *pGpsCtrl, GlUncmprsdEph *pEph) |
GlctSetSetEphemeris should be called from the HAL when ephemeris data is received from the network. | |
int | GlctSetSetAlmanac (void *pGpsCtrl, GlAlmanac *pAlm) |
GlctSetSetAlmanac called when almanac data is received from the network. | |
int | GlctSetAsstIono (void *pGpsCtrl, GL_IONO_MODEL *pIono) |
should be called from the HAL when almanac data is received from the network | |
int | GlctSetAsstUtc (void *pGpsCtrl, GL_UTC_MODEL *pUtc) |
GlctSetAsstUtc should be called from the HAL when almanac data is received from the network. | |
int | GlctSetAcquisitionAssistance (void *pGpsCtrl, GL_ACQ_AID *pAcqAid) |
GlctSetAcquisitionAssistance should be called from the HAL when acquisition assistance data is received from the network. | |
int | GlctSetReferenceFreq (void *pGpsCtrl, GL_FREQ *pFreqStat) |
GlctSetReferenceFreq should be called from the HAL when refrence frequency information received form handset. | |
int | GlctEnablePowerSave (void *pGpsCtrl, int iEnable) |
Controls power saving mode. | |
int | GlCtSetPpsSettings (void *pGpsCtrl, int bEnable, long ulOffsetUs, unsigned long ulWidthNs, unsigned long ulMaxUnctyNs, unsigned long ulOscDriftPpb) |
Controls PPS settings. | |
int | GlctSetFixStatus (void *pGpsCtrl, GL_FIX_STATUS *pFixStatus) |
Provide fix status. | |
int | GlctWriteNvMem (void *pGpsCtrl) |
GlctWriteNvMem forces a write to NVMEM; useful on platforms that do not support graceful shutdowns. | |
int | GlctForceReadLTOFile (void *pGpsCtrl) |
GlctForceReadLTOFile Force the GLL to re-read an LTO file in the middle of a run. | |
int | GlctSetFlightMode (void *pGpsCtrl, int bEnableFlightMode) |
Allow wider, shallower searches. |
Helpre function implementig C interface to pass assitance data.
Detailed file description Copyright 2001-2010 Broadcom Corporation -- http://www.broadcom.com This program is the proprietary software of Broadcom Corporation and/or its licensors, and may only be used, duplicated, modified or distributed pursuant to the terms and conditions of a separate, written license agreement executed between you and Broadcom (an "Authorized License"). Except as set forth in an Authorized License, Broadcom grants no license (express or implied), right to use, or waiver of any kind with respect to the Software, and Broadcom expressly reserves all rights in and to the Software and all intellectual property rights therein. IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE.
void GlctMarkToIgnoreAndSpoof | ( | void * | pGpsCtrl, |
unsigned long | ulNvStorageToIgnore, | ||
long | lRtcErrMs, | ||
signed char | cPosError, | ||
unsigned long | ulPosAgeSec | ||
) |
GlctMarkToIgnoreAndSpoof Marks element of nonvolatile storage to ignore next time the NVRAM is loaded and causes the time stored in RTC and position to be spoofed.
Mark element of nonvolatile storage to ignore next time the NVRAM is loaded Spoof the time stored in RTC. Spoof the position Inject a TCXO offset and set the TCXO uncertainty