glct/glct_evt_cbks.cpp File Reference

Implementation of GLCT callbacks. More...

#include "glct_crt_lib.h"
#include "glgpsapi.h"
#include "glgps_hal.h"
#include "glct_evt_proc.h"
#include "glct_req_list.h"
#include "glct_data.h"
#include "glct_api.h"
#include "glct_evt_cbks.h"
#include "gltoolsapi.h"
Include dependency graph for glct_evt_cbks.cpp:

Functions

short GlctGlEngineOnStart (GlEngine *pEngine, GlSettings *pSettings)
 Called before GLL will begin processing the first request.
short GlctGlEngineOnStartDbg (GlEngine *pEngine, GlSettings *pSettings)
 Called before GLL will begin processing the first request.
void GlctGlEngineOnStop (GlEngine *pEngine, GL_STOP_CODE etCode, const plain_char *pAssertMessage)
 Called after GLL completed processing the last request.
void GlctGlEngineOnAsicData (GlEngine *pEngine, unsigned char *pucBuff, short sSize)
 Called when GLL needs to send data to the ASIC.
void GlctGlEngineOnSysLogLine (GlEngine *pEngine, const plain_char *pcLine)
 Syslog callback.
int GlctGlEngineOnDebugRead (GlEngine *pEngine, void *pBuf, int iBytes, int *piEof, int *piError)
 Debug callback.
void GlctGlEngineOnDacData (GlEngine *pEngine, unsigned char *pucBuff, short sSize)
 Called when GLL needs to send data to the DAC.
unsigned long GpsCtllGlEngineOnTimerRq (GlEngine *pEngine)
 Timer callback.
unsigned long GpsCtllGlEngineOnPrecTimerRq (GlEngine *pEngine)
 Precise Timer callback.
void GlctGlEngineOnTimerSet (GlEngine *pEngine, unsigned long ulTimerInterval, short sPadNum, bool bDeepSleepOk)
 Called when GLL needs to set timer on which the Tick() would be called.
void GlctGlEngineOnBurstMode (GlEngine *pEngine, bool bBurstModeEnabled)
 Called when GLL and ASIC are in Burst Mode.
void GlctGlEngCbOnNvStgRead (GlEngine *pEngine, GlNvStorageReader *pStorageReader)
 This callback is called by GLL when it's ready to read the data from the nonolatile storage.
void GlctGlEngCbOnNvStgWrite (GlEngine *pEngine, GL_NV_STG_CTRL etCtrl, const plain_char *pcBuff, short sBuffSize)
 This callback is called by GLL to store the data to the nonvolatile storage.
void GlctGlEngCbOnLTOFileRead (GlEngine *pEngine, GlLTOFileReader *pLTOFileReader)
 This callback is called by the GLL when it's ready to read the data from an LTO file.
int GlctGlEngCbOnEEFileRead (GlEngine *pEngine, GL_NV_STG_CTRL etCtrl, GlEEFileReader *pEEFileReader)
 This callback is called by the GLL when it's ready to read the data from an EE file.
plain_char * GlctGlEngineOnSelfTestReadLine (GlEngine *pEngine)
 This callback is called by the GLL when it wishes to read data from a test file.
int GlctGlEngineOnSelfTestWriteLine (GlEngine *pEngine, const plain_char *pBuffer)
 This callback is called by the GLL when it wishes to write data to a test file.
void GlctEngineOnAsstStatus (GlEngine *pEngine, GL_AID_REQUEST *pAidReq)
 Called to deliver information on needed assistance data unsolicitely.
void GlctGlEngineOnFreqUpdate (GlEngine *pEngine, GL_REFCLK_REQUEST etRequest)
 Frequency status request callback GLL Calls it before and after CNTIN measurement.
void GlctEngineOnPPSPlatformTime (GlEngine *pEngine)
 Called when GLL needs to know the platform time associated to a PPS asserted.
void GlctOscAgeAdd (void *, unsigned long ulSec)
 GlctOscAgeAdd Add some time to the oscillator age as it is read from NV storage.
void GlctOscOffsetAdd (void *, long lPpb)
 GlctOscOffsetAdd Add or subtract some PPB from the oscillator uncertainty as it is read from NV storage.

Detailed Description

Implementation of GLCT callbacks.

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.


Function Documentation

void GlctEngineOnAsstStatus ( GlEngine pEngine,
GL_AID_REQUEST *  pAidReq 
)

Called to deliver information on needed assistance data unsolicitely.

Mostly used in SI callflows, when the assitnace stack will be woken up once this callback is executed

void GlctGlEngCbOnNvStgRead ( GlEngine pEngine,
GlNvStorageReader pStorageReader 
)

This callback is called by GLL when it's ready to read the data from the nonolatile storage.

Usually it happens once the ASIC started and RTC is available Within this callback application has an option to tell GLL what data needs to be ignored.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines