GLCT Libary main entry point. More...
Functions | |
GlctComps & | GetGlctComps () |
GL_STOP_CODE | GpsRun (const plain_char *pcConfigString, const plain_char *pcQAjobToExecute, short sExtraParmNum, const plain_char *apcExtraParms[]) |
This function starts the GPS control software (GPSCT). |
GLCT Libary main entry point.
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.
GlctComps& GetGlctComps | ( | ) |
The GLCT component object is needed the whole life of GPS task. It contains:
GL_STOP_CODE GpsRun | ( | const plain_char * | pcConfigString, |
const plain_char * | pcJobToRun, | ||
short | sExtraParmNum, | ||
const plain_char * | apcExtraParms[] | ||
) |
This function starts the GPS control software (GPSCT).
The function does not return until the command "q" is received from the command stream. If a non blocking implementation is preferred see the source code for GpsRun for details on how to use the CreateGpsEngine, GlctProcessEvent, and DisposeEngine.
pcConfigString | - XML configuration string either read from file or hard-coded. See the GL XML configuration file GL XML Config file description for description of XML file format. |
pcJobToRun | - "normal", "cold" or some other job name defined in the XML config string. |
sExtraParmNum | - number of extra parameters in apcExtraParms |
apcExtraParms | - parm=value strings to be passed directly to GpsHalSetCfgValue(). |