GL Android XML Config file description

The GPS software is shipped with a configuration file, named gpsconfig.xml, that contains the configurations most frequently used during the GPS QA stage.

These configurations are some of the actual configurations used by Broadcom's GPS QA, and they are known to work correctly.

However, you may need to modify these default settings to accommodate your host platform and/or specific GPS hardware configuration.

Below we describe each of the major sections in the configuration file: HAL configuration, GLL parameters, and job descriptions.

For updating the gpsconfig.xml file came with the SDK, see Update GPS Configuration File gpsconfig.xml at the bottom of this page.

The general layout of a GPS configuration file is:

  • Common XSD header information
  • Optional internal <gps_features /> element.
  • One or more <job /> elements.

Each <job /> element contains:

  • One or more <task /> elements

containing a number of optional attributes to describe assistance data,

startup conditions, GPS features, and far start attributes.

  • One or more GPS requests:
  • <req_pos /> - periodic positioning.
  • <req_pos_single /> - single shot position.
  • <req_meas /> - periodic measurements.
  • <req_meas_single /> - single shot measurement.
  • Other requests that are less used are:
  • <req_asst />- ask GLL what assistance is needed
  • <req_cntin /> - Calibrate the TCXO
  • <req_gll_data /> - get GPS data

The TCXO calibration (req_cntin) will happen automatically

for any request if the frequency plan includes a calibration frequency.

It is separate so that the calibration can be started in anticipation

of an impending position request.

HAL Elements

The <hal /> element below defines parameters passed to HAL when it gets initialized. Note that the values are all double-quoted.

The existence and meaning of these parameters varies based on the GLL host platform. This example describes some settings used for Windows XP.


          <!-- Typical HAL Configuration for Windows -->

  <hal

       PortName="COM4"

       BaudRate="115200"

       LogEnabled="true"

       LogDirectory="C:\debuglog\"

       LtoFileName="lto.dat"

       NmeaPort="UDP:18723,COM2:115200"

       HulaSensorsMask="GL_EXT_SENS_MOUNT | GL_EXT_SENS_TEMP"

  />

Required Attributes

  • PortName

required - The name of the serial or USB port to use for communication with the ASIC.

Example I2C names: AAI2C_4751, AAIC_47511, or AAIC_4752. Default value is platform specific.

DEFAULT VALUE:  
  • BaudRate

The baud rate for the PortName

DEFAULT VALUE:  

Optional Attributes

  • HulaDebugLog

HulaDebugLog - enable/disable sensors log. Used only for debug sensors.

DEFAULT VALUE: false 
  • HulaLog

HulaLog - enable/disable sensors log.

DEFAULT VALUE: false 
  • HulaEnable

HulaEnable - enable/disable all sensors

DEFAULT VALUE: true 
  • HulaSensorsMask

Bitmask of sensors to be enabled [default is all sensors enabled] SENSORS_ACCELERATION = 0x01, SENSORS_MAGNETIC_FIELD = 0x02, SENSORS_BAROMETER = 0x04, SENSORS_GYROSCOPE = 0x08

on Windows you can use a combination of string such as SENSORS_ACCELERATION|SENSORS_MAGNETIC_FIELD etc.., on Android use hexadecimal bitmask

to enable Accelerometer set the bitmask 01

to enable Barometer (Pressure sensor) set the bitmask 04

to enable Gyroscope set the bitmask 08

HulaSensorsMask="0x0D" (default) would be equivalent to Accelerometer, Gyroscope and Barometer Enabled (1+4+8 = 13 = 0x0D)

DEFAULT VALUE: 0x0D 
  • PpsDevice

Name of the linux pps device to be used to get the system time associated to a PPS asserted by the asic. This data will be used to generate the PGLOR,PPS NMEA sentence

DEFAULT VALUE:  
  • AlmanacFile

Complete directory plus name of the file where almanac is stored

DEFAULT VALUE:  
  • LtoDir

The directory where LTO assistance data is stored

DEFAULT VALUE: /data/gps 
  • LtoFileName

The name of the file where LTO assistance data is stored

DEFAULT VALUE: lto2.dat 
  • SuplTlsStopForInvPath

Stop SUPL session if TLS certificate path is not valid.

DEFAULT VALUE: true 
  • SuplTlsCertPath

SuplTlsCertPath - path on the device pointing to SUPL server certificate.

On Windows, you can type openssl.exe x509 -in f336e3d1.0 -text -noout > f336e3d1.0.txt to decode

the certificate.On Windows, to convert DER format (WINDOWS FORMAT) to PEM format, type

openssl.exe x509 -inform der -outform pem -in certificate.der -out certificate.pem.

Finally, for Android device, to generate the right filename for a new certificate on the device

use c_rehash. c_rehash belongs to openssl tools. Android default is "/data/gps/supltlscert.pem".

DEFAULT VALUE:  
  • SuplTlsEnable

Enables Supl TLS

DEFAULT VALUE: false 
  • SuplVersion

Available options - {1/2}. Specify device to behave as SUPL V1 or V2 client. Default is "1".

DEFAULT VALUE: 1 
  • PrintToConsole

Prints to Console - {true/false}

DEFAULT VALUE: false 
  • ReAidingOnHotStart

Start re-aiding even if assistance is up to date

DEFAULT VALUE: true 
  • ReAidingType

Re-aiding type [0-none, 1-SUPL, 2-LBS, 3-LBS and SUPL]

DEFAULT VALUE: 3 
  • ReAidingIntervalSec

Re-aiding interval in seconds.

DEFAULT VALUE: 1200 
  • ReAidingRetryCount

ReAidingRetryCount - specify number of retries for re-Aiding requests

DEFAULT VALUE: 10 
  • ReAidingRetryIntervalSec

Re-aiding retry interval in seconds

DEFAULT VALUE: 10 
  • SuplNIGpsIcon

Customer specific - {true/false}

When you want to enable GPS icon blinking in SUPL NI mode set this to true.

DEFAULT VALUE: false 
  • SuplFixedCellID

If SuplFixedCellID is set, then the cell ID, MCC, and MNC from these elements will be used with SUPL and the framework will not be queried. If SuplFixedLAC is set, then the settings will be for GSM (2G), otherwise if left empty the settings will be for WCDMA (3G).

DEFAULT VALUE: 0 
  • SuplFixedLAC

If SuplFixedCellID is set, then the cell ID, MCC, and MNC from these elements will be used with SUPL and the framework will not be queried. If SuplFixedLAC is set, then the settings will be for GSM (2G), otherwise if left empty the settings will be for WCDMA (3G).

DEFAULT VALUE: 0 
  • SuplFixedMNC

If SuplFixedCellID is set, then the cell ID, MCC, and MNC from these elements will be used with SUPL and the framework will not be queried. If SuplFixedLAC is set, then the settings will be for GSM (2G), otherwise if left empty the settings will be for WCDMA (3G).

DEFAULT VALUE: 0 
  • SuplFixedMCC

If SuplFixedCellID is set, then the cell ID, MCC, and MNC from these elements will be used with SUPL and the framework will not be queried. If SuplFixedLAC is set, then the settings will be for GSM (2G), otherwise if left empty the settings will be for WCDMA (3G).

DEFAULT VALUE: 0 
  • SuplUT8Seconds

UT8 SUPL timer in seconds.

DEFAULT VALUE: 10 
  • SuplUT7Seconds

UT7 SUPL timer in seconds.

DEFAULT VALUE: 10 
  • SuplUT5Seconds

UT5 SUPL timer in seconds.

DEFAULT VALUE: 10 
  • GpioNResetPath

Name of the linux device to be used to toggle the nreset IO.

DEFAULT VALUE:  
  • CtrlPipe

A pipe to send IRM commands Interactive Request Manager (IRM) Commands. Default value is ($NvStorageDir)/ctrlpipe

DEFAULT VALUE: ($NvStorageDir)/ctrlpipe 
  • LogEnabled

LogEnabled "true" enables diagnostic logging to a file; "false" disables logging

DEFAULT VALUE: false 
  • LogDirectory

The path where the log file will be created. Default value is platform specific.

DEFAULT VALUE:  
  • LogLineThreshold

Split log every LogLineThreshold lines.

DEFAULT VALUE: 0 
  • LogDirectoryMaxSizeMb

Specify the max size of log directory in MB; 0 indicates no limits.

DEFAULT VALUE: 0 
  • NvStorageDir

The name of the directory where NV Data is stored. Default value is /data/gps/

DEFAULT VALUE: /data/gps 
  • CbeeDir

The name of the directory where EE data is stored.

DEFAULT VALUE: /data/gps/ 
  • CbeeFileName

The name of the file where EE data is stored

DEFAULT VALUE: cbee.cbee 
  • NvStorageName

The name of the file where NV data is stored

DEFAULT VALUE: gldata.sto 
  • SuplLogFullName

The full path to AGPS CMCC supllog file - required CONFIG_HAL_SUPLLOG option to be enable.

DEFAULT VALUE: /data/gps/log/supllog.txt 
  • SuplNTTDocomo

SuplNTTDocomo {true/false}

DEFAULT VALUE: false 
  • SuplUT1Seconds

UT1 SUPL timer in seconds.

DEFAULT VALUE: 10 
  • SuplUT2Seconds

UT2 SUPL timer in seconds.

DEFAULT VALUE: 10 
  • SuplUT3Seconds

UT3 SUPL timer in seconds.

DEFAULT VALUE: 10 
  • GpioDelayMs

gpio delay In millisecond between power-on and the beginning of ASIC communication.

DEFAULT VALUE: 120 
  • RfkillNStdby

name of the linux rfkill device to be used to toggle the nstdby IO. In case it's set, it has prevalence to the value In gpioNStdbyPath [default is an empty string, so not used by default]

DEFAULT VALUE:  
  • SuplServer

SUPL server name or IP address

DEFAULT VALUE:  
  • SuplPort

DefaultSuplPortType

DEFAULT VALUE: 7276 
  • SuplEnable

Enables SUPL. Set it to "false" if you do autonomous testing.

DEFAULT VALUE: true 
  • SuplMsbCapable

Set Based SUPL capablity. Default is "true".

DEFAULT VALUE: true 
  • SuplMsaCapable

Set Assisted SUPL capablity.

DEFAULT VALUE: true 
  • SuplEcidCapable

Set Enhanced Cell Id SUPL capablity.

DEFAULT VALUE: false 
  • SuplOtdoaCapable

Set OTDOA SUPL capablity.

DEFAULT VALUE: false 
  • SuplLppCapable

Set LPP SUPL capablity.

DEFAULT VALUE: false 
  • SuplGlonassCapable

Set GLONASS SUPL capablity.

DEFAULT VALUE: true 
  • SuplPrefMethod

Set SUPL preferred method to msa, msb or no.

DEFAULT VALUE: no 
  • SuplUseApn

Disable connection/release requests to Framework. When "true", enable connection/release requests to connect new APN and to get interface name.(for example: PDP1 or VSNET1)

DEFAULT VALUE: false 
  • SuplInterfaceDevice

Linux specific.Force the use of a specific network interface to use by the SUPL session. This may override routing policies.

DEFAULT VALUE:  
  • SuplDisableDevice

DisableDevice {on/off} - use of SUPL APN device name is disabled if set to "on".

DEFAULT VALUE: on 
  • SuplEmergencyApns

Comma separated list of emergency APN names. If defined, emergency SUPL INIT will be processed only if device is connected to emergency APN.

DEFAULT VALUE:  
  • SuplEmergencyInterfaceDevice

Name of IP interface device to be used for E911 NI SUPL session.

DEFAULT VALUE:  
  • SuplSslMethod

specify the SSL/TLS protocol version between the device and SUPL server{TLSv1_1/TLSv1/SSLv3/SSLv23/SSLv23_NO_TLSv1_2} default is TLSv1

There is no SSL protocol version named SSLv23. The SSLv23_method() API and its variants choose SSLv2, SSLv3, or TLSv1 for

compatibility with the peer. Consider the incompatibility among the SSL/TLS versions when you develop SSL client/server applications.

For example, a TLSv1 server cannot understand a client-hello message from an SSLv2 or SSLv3 client. The SSLv2 client/server

recognizes messages from only an SSLv2 peer. The SSLv23_method() API and its variants may be used when the compatibility with

the peer is important. An SSL server with the SSLv23 method can understand any of the SSLv2, SSLv3, and TLSv1 hello messages.

However, the SSL client using the SSLv23 method cannot establish connection with the SSL server with the SSLv3/TLSv1 method

because SSLv2 hello message is sent by the client. For SUPL 2.0, TLS 1.1 is required per OMA-AD-SUPL-V2_0-20110527-C

specification section 4.2.3 Confidentiality and Data Integrity. SSLv23_NO_TLSv1_2 can be used if there are concerns that server will

not respond to TLS 1.2 hello message.

DEFAULT VALUE: TLSv1 
  • SuplSslVerify

Options available = {peer/none} when check to none no handsheck is done with SuplServer to verify the SSL certificate.

this option should not be used for production unless you are certain the SUPL server doesn't support certificate.

DEFAULT VALUE: peer 
  • RtiEnable

RtiEnable="true" - enabled RTI download

RtiEnable="false" - disable RTI download

DEFAULT VALUE: true 
  • RtiConfig

Specify Real-Time Integrity service configuration.

DEFAULT VALUE: gllto.glpals.com:80/rtistatus.dat 
  • PreferCoarseTime

Specify coarse-time preference for measurement request.

DEFAULT VALUE: false 
  • SendUnsolicitedTam

SendUnsolicitedTam - Set to FALSE for ATT 2G Control plane because ATT uses Nortel who uses Andrew SMLC and Andrew has a bug in their server

DEFAULT VALUE: true 
  • LbsConfig

LbsConfig - LBS configuration to specify DB size and positioning mode

DEFAULT VALUE:  
  • LbsWlanEnable

LbsWlanEnable - Enables LBS WLAN module

DEFAULT VALUE: false 
  • LtoSyncThresholdDays

LtoSyncThresholdDays - Specifies the LTO sync interval in days.

DEFAULT VALUE: 2 
  • SyncLtoMobileThresholdSeconds

SyncLtoMobileThresholdSeconds - Specifies the LTO sync interval in seconds when connected to Mobile network.

DEFAULT VALUE: 259200 
  • SyncLtoWiFiThresholdSeconds

SyncLtoWiFiThresholdSeconds - Specifies the LTO sync interval in seconds when connected to WiFi.

DEFAULT VALUE: 86400 
  • SyncLtoMaxThresholdSeconds

SyncLtoMaxThresholdSeconds - Specifies the LTO sync interval in seconds if neither WiFi nor Mobile threshold are set.

DEFAULT VALUE: 259200 
  • LbsWlScanIntervalSec

LbsWlScanIntervalSec - Specifies Wifi scan interval in seconds

DEFAULT VALUE: 5 
  • LbsTAC

LbsTAC - Specifies TAC for device identification. Default is customer specific.

DEFAULT VALUE:  
  • LbsIMEIPropName

LbsIMEIPropName - Specifies IMEI property name

DEFAULT VALUE:  
  • LbsDisableDbUploadInMobileNetworks

LbsDisableDbUploadInMobileNetworks - Allow to upload DB only if connected to WiFi network

DEFAULT VALUE: true 
  • LbsEnable

Enables LBS client

DEFAULT VALUE: false 
  • LbsLocal

Disallows LBS client from contacting server to aquire assistance data

DEFAULT VALUE: false 
  • LbsSyncLto

Enables LTO file download during LBS server synchronization

DEFAULT VALUE: false 
  • LbsServer

Specifies LBS server name or IP address.

DEFAULT VALUE: lbs.glpals.com 
  • LbsPort

Specifies LBS server port

DEFAULT VALUE: 7275 
  • LbsLog

Enables LBS logging

DEFAULT VALUE: false 
  • HttpSyncLto

Enables LTO file download through HTTP.

DEFAULT VALUE: false 
  • GpslogdPipePath

Specifies named pipe for communicating to gpslogd daemon. Default value is defined by makefile variable CONFIG_HAL_GPSLOGD_PIPE_PATH.

DEFAULT VALUE:  
  • LogCatBufferName

Specifies android log buffer name for LOGCAT output. Name can be one of "system", "main", "radio".

DEFAULT VALUE: main 
  • TcpConnectionTimeout

Specifies timeout in seconds for TCP connection.

DEFAULT VALUE: 5 
  • PrefIpVersion

Set preferrence to IPv4, IPv6 or nothing. There is no preference by default.

Examples:

PrefIpVersion="4" // prefer IPv4

PrefIpVersion="6" // prefer IPv6

PrefIpVersion="0" // no preference

DEFAULT VALUE:  
  • HalLogLevel

Specifies HAL logging level. LOG_CRIT LOG_WARNING LOG_INFO LOG_DEBUG LOG_VERBOSE.

DEFAULT VALUE: LOG_DEBUG 
  • Log

Specifies SLOG logging type; JAVA - BrcmLogRecorder, FILE - direct to file, LOGCAT - android logcat, DAEMON UNIX only

require gpslogd. deprecated for Android

DEFAULT VALUE: JAVA 
  • IgnoreAidingMask

Specifies bitmask of aiding to be ignored.

DEFAULT VALUE: 0 
  • IoctlNStdby

Specifies IOCTL pin value for nstdby IO.

DEFAULT VALUE: -1 
  • IgnoreJniTime

Ignores Android inject time from JNI.

DEFAULT VALUE: false 
  • IgnoreJniLocation

Ignores Android inject location from JNI.

DEFAULT VALUE: false 
  • WakeLock

Enables/disables WakeLock from gpsd. The string is translated to a long value

set it to "geo" for Geofencing on 47521 translated to 2

set it to "true" for other Wakelock translated to a 1

default is "geo" translated to a 2

DEFAULT VALUE: geo 
  • AssertEnabled

Enables/disables ASSERT.

DEFAULT VALUE: true 
  • SmartMaskEnable

Enables/disables Accuracy SmartMask feature.

DEFAULT VALUE: true 
  • CtrlPipeEnabled

CtrlPipeEnabled "true" enables the Ctrl Pipe for IRM/BRM command - should be disable on production image

DEFAULT VALUE: true 
  • TimeSyncHWDelay

Compensate the HW delay from the CDMA modem to GPS asic, the value depends on HW design.

DEFAULT VALUE:  
  • FactoryTestFilePath

Provides file path to factory test files.

DEFAULT VALUE:  
  • NmeaPort

Windows specific.NMEA output to a set matched virtual serial ports from com0com.

Syntax: "PORT1:BAUDRATE1,PORT2:BAUDRATE2,." up to 8 ports.

Example: "COM2:115200,COM9:38400"

See SetupVirtualComPort.doc for more details.

Specifies the output (UDP and/or Serial) port used for NMEA output from the GLL (GLMap connects to this port)

DEFAULT VALUE:  
  • NmeaOutName

A pipe to stream out NMEA lines. Default value is ($NvStorageDir)/nmeapipe

DEFAULT VALUE: ($NvStorageDir)/nmeapipe 
  • BackupDir

Windows CE specific.Backup directory for NVRAM/CBEE files

DEFAULT VALUE:  
  • CollectEphemerisIntervalSeconds

Windows CE/Desktop specific.Automatically collect ephemeris every number of seconds

DEFAULT VALUE:  
  • CbeeGenAppParam

CbeeGenAppParam -

DEFAULT VALUE:  
  • CbeeGenAppPath

CbeeGenAppPath -

DEFAULT VALUE:  
  • CbeeCheckNewBEPeriodSec

CbeeCheckNewBEPeriodSec -

DEFAULT VALUE:  
  • CbeeSignalGenOnNewBE

CbeeSignalGenOnNewBE - If true, GpsHalEEInformGeneratorNewBE will be called when new BE is detected and is expected to inform cbee_gen.

DEFAULT VALUE: false 
  • CbeeWriteNvmemOnNewBe

CbeeWriteNvmemOnNewBe - If true, NV RAM will be written whenever new BE is detected.

DEFAULT VALUE: false 
  • Glrt

WinXP HAL only. Choices are:

Glrt="false" - not enabled [default]

Glrt="true" - enabled for connection to a peer GLRT via serial link

Glrt="glrtt" - enabled for standalone testing using GLRTT and Beluga or Thames.

DEFAULT VALUE: false 
  • SuplLogEnable

SuplLogEnable="true" - enabled CMCC SUPLLOG.

SuplLogEnable="false" - disable CMCC SUPLLOG.

DEFAULT VALUE: false 
  • FactoryTestOutput

WindowsXP specific.report C/No output during factory test

DEFAULT VALUE: false 
  • PeriodicFixOutput

WindowsXP specific.report C/No output during periodic positioning

DEFAULT VALUE:  
  • ShowTTFF

WindowsXP specific.report TTFF and other important messages to console.

DEFAULT VALUE: true 
  • FactoryTestFileName

WindowsXP specific.Save FactoryTestOuput and PeriodicFixOutput to this file.

DEFAULT VALUE:  
  • TestDurationSec

WindowsXP specific.Stop after the specified number of seconds. On the command-line this is "-t nSec".

DEFAULT VALUE:  
  • AntennaSignalStrengthOffset

WindowsXP/CE specific.Add SNR offset value to $GxGSV lines in NMEA sentences

DEFAULT VALUE:  
  • DebugFile

Used to set the full path of the file that is being replayed in GLPP2

DEFAULT VALUE:  
  • AtCmdTransportType
DEFAULT VALUE:  
  • AtCmdTransportPort

Selects the file name for Socket or TTY connections. This should be a path and file name in the system, such as /dev/socket/at_pal

DEFAULT VALUE:  
  • AtCmdTransportSocketType
DEFAULT VALUE:  
  • AtCmdTransportSocketMode
DEFAULT VALUE:  
  • AtCmdTransportTtyMode
DEFAULT VALUE:  
  • AtCmdTransportTtyType
DEFAULT VALUE:  
  • GpioNStdbyPath

Name of the linux device to be used to toggle the nstdby IO.

DEFAULT VALUE:  
  • HulaTimePeriodAcclMs

HulaTimePeriodAcclMs - Time in ms between accelerometer samples (frequency of sensors data)

DEFAULT VALUE: 20 
  • HulaTimePeriodGyroMs

HulaTimePeriodGyroMs - Time in ms between gyro samples (frequency of sensors data)

DEFAULT VALUE: 20 
  • HulaAltEnable

HulaAltEnable - Altitute aiding enabled/disabled

DEFAULT VALUE: true 
  • HulaHeadingEnable

HulaHeadingEnable - Heading (azimuth) from compas enabled/disabled

DEFAULT VALUE: false 
  • HulaPowerSave

HulaPowerSave - Allows turn on/off sensors from GLL, when good GPS signal avaliable.

DEFAULT VALUE: true 
  • HulaRawAcclGyroEnable

HulaRawAcclGyroEnable - Raw accelerometer and gyro enabled/disabled

DEFAULT VALUE: true 
  • HulaTurnEnable

HulaTurnEnable - Turn detection enabled/disabled. Not used In gyro enabled.

DEFAULT VALUE: false 
  • HulaMoEnable

HulaMoEnable - Motion detection enabled/disabled

DEFAULT VALUE: true 

GLL Elements

The <gll /> element below defines parameters passed to GlEngine through the GlSettings class whenever GlctGlEngineOnStart() is called.

  • LogPriMask - Defines how much of the data will be sent to the log file

o LOG_DEBUG everything is sent out

o LOG_INFO a bit less data

  • LogFacMask - Specifies the type of data sent to the log file

o LOG_DEFAULT - Preferred setting for general-purpose GPS debugging

o LOG_DEFAULT_FULL - Preferred setting for in-depth GPS debugging

o LOG_GLLAPI - Logs a line whenever the GLL API is called. Useful if you are modifying GLCT

o LOG_NMEA - Log the NMEA sentences that were sent to request handlers

o LOG_RAWDATA - Log RAW data (used for post-processing)

  • FrqPlan - Tells GLL what kind of oscillator you are using. Discuss the choice of this

parameter with your GPS FAE. See GlSettings::SetFrequencyPlan().

o GL_RF_4751_DANUBE

o GL_RF_4751_DANUBE_EXT_LNA - There is an external LNA attached to the 4751.

An output can be used to control the shutdown pin of the external LNA.

The internal LNA power consumption is reduced.

  • NvmemWritePeriodMs - Periodically write to NVMEM (not needed in the case of graceful shutdowns)
  • By default this is set to zero, which means that NVMEM will only be updated at critical points such as when shutting down.
  • CountInOffsetPpb - Introduce an offset to the estimated frequency provided by count in.

This example shows the most desirable debug levels:


  <!-- Parameters passed to GlEngine   -->

  <gll

       LogPriMask="LOG_INFO"

       LogFacMask="LOG_DEFAULT"

       FrqPlan="FRQ_PLAN_10MHZ_2PPM_10MHZ_300PPB"

       RfType="GL_RF_BARRACUDA"

       DynMode="DYN_AUTOMATIC"

       NvmemWritePeriodMs="900000"

       CountInOffsetPpb="0"

       LtoCbeeQatest="false"

  />

This example shows how to set individual facilities for diagnosing specific issues:


  <!-- Parameters passed to GlEngine   -->

  <gll

       LogPriMask="LOG_DEBUG"

       LogFacMask="LOG_GLLAPI | LOG_NMEA | LOG_RAWDATA | LOG_DEVKF | LOG_ASIC_IO"

  />

Additional gll elements are needed in rare cases.

  • RfAtt - RF attenuation tells the GLL to add up

to 18 dB attenuation in the RF front end.

This is useful if an active antenna is used. This feature does

not support dynamic changes in attenuation.

RfAtt is not normally needed, please discuss the choice of

this parameter with your FAE.


Values of RfAtt are:

        o GL_RF_ATT_DISABLED  [default]

        o GL_RF_ATT_3DB

        o GL_RF_ATT_6DB

        o GL_RF_ATT_9DB

        o GL_RF_ATT_6DB

        o GL_RF_ATT_12DB

        o GL_RF_ATT_15DB

        o GL_RF_ATT_18DB

    

See GlSettings::SetRfAtt.

  • PadNum tells the GLL to send N characters of value 0x00 before starting data transmission. The default value is 0. The maximum value is 63.

This is useful if the GPS transmit characters are used to waken the host CPU.

See GlSettings::SetPadNum.

  • DynMode This parameter is optional. It forces the dynamics mode in the GLL to optimize the navigation mode behavior for the desired application.

Values of DynMode are:

        o DYN_AUTOMATIC  [default: the GLL determines the dynamic mode automatically based on the speed over time]

        o DYN_PEDESTRIAN

        o DYN_VEHICLE

    
  • NvmemWritePeriodMs - Periodically write to NVMEM (not needed in the case of graceful shutdowns).

By default this is set to zero, which means that NVMEM will only be updated

at critical points such as when shutting down.

  • PeriodicTimeOutSec Sets the default periodic timeout value for all requests. If the GLL does not get

a position fix within PeriodicTimeOutSec, then it will open the accuracy mask to the maximum (400m) until there

is a position fix, then immediately restore the accuracy mask to the previous value.

  • LtoCbeeQatest - enable lto cbee qa test.

Platform Specific Flags may be set individually or all in one go. See Platform-specific flags.

  • PlatformSpecificFlag="PSF_NO_INFO" - force all platform-specific flags to 0.
  • PsfSignalStrength - Anticipated device signal strength.

            o PsfSignalStrength="REFERENCE" - [default] Device has typical signal strength.

            o PsfSignalStrength="HIGH" - Device can have very strong signal.

            o PsfSignalStrength="LOW" - Device signal tends to be lower than normal.

        
  • PsfClockVariationModel - Platform specific flag for clock variation model

            o PsfClockVariationModel="REFERENCE" - [default] Device has typical TCXO behavior (< 1ppb/s).

            o PsfClockVariationModel="MEDIUM" - Device has TCXO variations between 1.5 and 3ppb/s.

            o PsfClockVariationModel="HIGH" - Device has large TCXO variation (> 3ppb/s).

        
  • PsfExpectLargeClockOffset - If set to true, the device may have a large initial TCXO offset (> 100ppb). An API call will tell GLL whether the offset is actually present or not. (default is "false").
  • PsfEnableAnalogIfOutput - Platform specific flag for analog IF output

            o PsfEnableAnalogIfOutput="DISABLED" - [default] analog IF output disabled.

            o PsfEnableAnalogIfOutput="GPS" - GPS analog IF output enabled.

            o PsfEnableAnalogIfOutput="GLONASS" - Glonass analog IF output enabled.

        
  • PsfEnablePedVdr - Allow virtual DR (clamping while static) in pedestrian mode (default is "false").
  • PsfEarlyMeasurements - Send MS-A measurements early so middleware can assess quality. (default is "false").
  • PsfEnableLeastSquares - Enable Least Squares Algorithm for position computation in addition to navigation solution. (default is "false").
  • PsfDerateTimeAiding - Set this flag if the time aiding of your AGPS server could routinely be greater than 100s.
  • PsfRecoverJobsUponBadTime - When the GLL detects time aiding error of greater than 100s, it will attempt to restart all jobs. The alternative is to exit the GLL.
  • PsfTimingApplication - Set this flag if PPS output is more important than position accuracy in a timing application (default us "false").
  • PsfReduceGap - Set this flag if reduce Gap logic in poor GNSS condition is enabled (default us "false").

These gll elements are needed for testing or backwards compatibility:

  • PpsEnable - Enable PPS output
  • PpsOffsetNs - Set the PPS offset from the GPS second.
  • PpsWidthNs - Set the PPS output pulse width.
  • CountInOffsetPpb - Introduce an offset to the estimated frequency provided by count in.
  • AdsSyncInMode - Set the FTT configuration for ULTS operation with the ADS router
  • AdsSyncInUncUsec - Set the FTT uncertainty (ULTS + ADS environment).
  • AdsUplinkTmOffMs - Set the uplink time offset for ADS ULTS testing.
  • LtoCbeeQatest - enable lto cbee qa test.
  • RfPathLossDb - Set the RF signal loss from antenna connector to the baseband (RF noise figure). The GLL subtracts this value from the signal levels reported at the antenna. The default value is 4.0dB. The valid range is 0.0 to 12.0dB.
  • TimeSyncGroupDelay - Compensate the fine time group delay between CDMA cell tower and phone

Ignore NVMEM flags:

Ignore Assistance flags:

Horizontal Accuracy Remapping It is possible to remap the horizontal

accuracy QoP for periodic fixes that are started via the GLCT.

GLL tag periodic_hor_acc_remap supports 16 remappings.

In this example, a QoP of 301 becomes 401m when the GLL starts a position

request; 777 becomes 50m; and 299 becomes 270m.

All other QoP are not modified.


<gll

        FrqPlan="FRQ_PLAN_16_8MHZ_2PPM"

        RfType="GL_RF_4751_DANUBE_EXT_LNA"

    >

    <periodic_hor_acc_remap>

        <remap in="301" out="401" />

        <remap out="50" in="777" />

        <remap in="299" out="270" />

        </periodic_hor_acc_remap>

</gll>

Take careful note of the <gll> XML syntax changes when

<periodic_hor_acc_remap> is added because "/>" becomes

">" and </gll> is now required.

The list of possible gll tags are:

Required Attributes

  • RfType

RfTypes

DEFAULT VALUE:  


 GL_RF_BARRACUDA

 


 GL_RF_2075_LN22

 


 GL_RF_2075_BRCM

 


 GL_RF_2076_BRCM

 


 GL_RF_2076_BRCM_EXT_LNA

 


 GL_RF_PALS7_BRCM

 


 GL_RF_BARRACUDA_BRCM

 


 GL_RF_BARRACUDA_EXT_LNA

 


 GL_RF_BARRACUDA_BRCM_EXT_LNA

 


 GL_RF_4751_BLUEFIN

 


 GL_RF_4751_DANUBE

 


 GL_RF_2075_ALADDIN

 


 GL_RF_2075B0_BRCM

 


 GL_RF_47511_BLUEFIN

 


 GL_RF_47511_BRCM

 


 GL_RF_47511_BRCM_EXT_LNA

 


 GL_RF_4752_BRCM

 


 GL_RF_4752_BRCM_EXT_LNA

 


 GL_RF_47521_BRCM

 


 GL_RF_47521_BRCM_EXT_LNA

 


 GL_RF_47520_BRCM

 


 GL_RF_47520_BRCM_EXT_LNA

 


 GL_RF_4753_BRCM

 


 GL_RF_4753_BRCM

 


 GL_RF_4753_BRCM_TSX

 


 GL_RF_4753_BRCM

 


 GL_RF_47531_BRCM

 


 GL_RF_47531_BRCM_EXT_LNA

 
  • FrqPlan

freqPlans

DEFAULT VALUE:  


 FRQ_PLAN_13MHZ_2PPM

 


 FRQ_PLAN_16_367667MHZ_2PPM

 


 FRQ_PLAN_16_369MHZ_2PPM

 


 FRQ_PLAN_16_8MHZ_2PPM

 


 FRQ_PLAN_19_2MHZ_2PPM

 


 FRQ_PLAN_26MHZ_2PPM

 


 FRQ_PLAN_10MHZ_2PPM_10MHZ_100PPB

 


 FRQ_PLAN_16_367667MHZ_2PPM_26MHZ_100PPB

 


 FRQ_PLAN_16_369MHZ_2PPM_26MHZ_100PPB

 


 FRQ_PLAN_16_8MHZ_2PPM_10MHZ_100PPB

 


 FRQ_PLAN_16_8MHZ_2PPM_26MHZ_100PPB

 


 FRQ_PLAN_19_2MHZ_2PPM_26MHZ_100PPB

 


 FRQ_PLAN_26MHZ_2PPM_10MHZ_100PPB

 


 FRQ_PLAN_26MHZ_2PPM_26MHZ_100PPB

 


 FRQ_PLAN_26MHZ_2PPM_38_4MHZ_100PPB

 


 FRQ_PLAN_26MHZ_2PPM_52MHZ_100PPB

 


 FRQ_PLAN_33_6MHZ_2PPM_26MHZ_100PPB

 


 FRQ_PLAN_10MHZ_2PPM_10MHZ_300PPB

 


 FRQ_PLAN_16_367667MHZ_2PPM_26MHZ_300PPB

 


 FRQ_PLAN_16_369MHZ_2PPM_10MHZ_300PPB

 


 FRQ_PLAN_16_369MHZ_2PPM_26MHZ_300PPB

 


 FRQ_PLAN_16_8MHZ_2PPM_10MHZ_300PPB

 


 FRQ_PLAN_16_8MHZ_2PPM_26MHZ_300PPB

 


 FRQ_PLAN_19_2MHZ_2PPM_26MHZ_300PPB 

 


 FRQ_PLAN_19_2MHZ_2PPM_49_152MHZ_300PPB

 


 FRQ_PLAN_26MHZ_2PPM_10MHZ_300PPB

 


 FRQ_PLAN_26MHZ_2PPM_13MHZ_300PPB

 


 FRQ_PLAN_26MHZ_2PPM_26MHZ_300PPB

 


 FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB

 


 FRQ_PLAN_26MHZ_2PPM_23_04MHZ_300PPB

 

Optional Attributes

  • PpsMaxUncertaintyNs

When the uncertainty on the timing rises to X, range[?],

PPS output will be turned off. Our working value has been 3000 for 3us

max uncertainty.

DEFAULT VALUE:  
  • PpsWidthNs

Set the PPS output pulse width.

DEFAULT VALUE:  
  • PpsOffsetNs

Set the PPS offset from the GPS second.

DEFAULT VALUE:  
  • PsfEnableLeastSquares

Enable Least Squares Algorithm for position computation in addition to navigation solution.

DEFAULT VALUE: false 
  • PlatformSpecificFlag

type_PlatformSpecificFlag

DEFAULT VALUE: PSF_NO_INFO 


 PSF_SIGNAL_STRENGTH_REFERENCE

 


 PSF_SIGNAL_STRENGTH_HIGH

 


 PSF_SIGNAL_STRENGTH_LOW

 


 PSF_CLOCK_VARIATION_REFERENCE

 


 PSF_CLOCK_VARIATION_MEDIUM

 


 PSF_CLOCK_VARIATION_HIGH

 


 PSF_EXPECT_LARGE_CLOCK_OFFSET

 


 PSF_ANALOG_IF_OUTPUT

 


 PSF_PEDESTRIAN_VDR_ALLOWED

 


 PSF_EARLY_MEASUREMENTS

 


 PSF_ANALOG_IF_OUTPUT

 


 PSF_ENABLE_LSQ

 
  • PsfEarlyMeasurements

Send MS-A measurements early so middleware can assess quality.

DEFAULT VALUE: false 
  • PsfEnablePedVdr

Allow virtual DR (clamping while static) in pedestrian mode

DEFAULT VALUE: false 
  • PsfEnableAnalogIfOutput

type_PsfAnalogIFOutput

DEFAULT VALUE: DISABLED 


 GPS analog IF output enabled.

 


 GLONASS analog IF output enabled.

 


 PSF_ANALOG_IF_OUTPUT_DISABLED

 


 PSF_ANALOG_IF_OUTPUT_GPS

 


 PSF_ANALOG_IF_OUTPUT_GLONASS

 


 PSF_ANALOG_IF_OUTPUT_BEIDOU

 
  • PsfExpectLargeClockOffset

If set to true, the device may have a large initial TCXO offset (> 100ppb). An API call will tell GLL whether the offset is actually present or not.

DEFAULT VALUE: false 
  • PsfSignalStrength

type_PsfSignalStrength

DEFAULT VALUE: REFERENCE 


 Device can have very strong signal.

 


 Device signal tends to be lower than normal.

 


 PSF_SIGNAL_STRENGTH_REFERENCE.

 


 PSF_SIGNAL_STRENGTH_HIGH.

 


 PSF_SIGNAL_STRENGTH_LOW.

 
  • PsfReduceGap

Set this flag to reduce Gaps due to poor GNSS signal condition.

DEFAULT VALUE: true 
  • PsfTimingApplication

Set this flag if PPS output is more important than position accuracy in a timing application.

DEFAULT VALUE: false 
  • PsfCwFtsWide

CW factory test covers a wider than normal frequency range.

DEFAULT VALUE: false 
  • PsfEnablePosPropagation

Allows GLL to propagate position automatically based on user state

DEFAULT VALUE: false 
  • PsfRecoverJobsUponBadTime

If the GLL detects time aiding error of greater than 100s, it will attempt to restart all jobs.

DEFAULT VALUE: false 
  • PsfDerateTimeAiding

Set this flag if the time aiding of your AGPS server could routinely be greater than 100s.

DEFAULT VALUE: false 
  • PsfDisableClamping

When the GLL is stationary, do not clamp the position.

DEFAULT VALUE: false 
  • PsfStrictAssert

The GLL will assert more frequently if positioning problems occur.

DEFAULT VALUE: false 
  • PpsEnable

Enable PPS output

DEFAULT VALUE: false 
  • PadNum

PadNumValues

DEFAULT VALUE:  
  • PmmPercent

PMM Percentage Range

DEFAULT VALUE: 50 
  • RfAtt

RfAttValues

DEFAULT VALUE: GL_RF_ATT_DISABLED 


 GL_RF_ATT_3DB

 


 GL_RF_ATT_6DB

 


 GL_RF_ATT_9DB

 


 GL_RF_ATT_12DB

 


 GL_RF_ATT_15DB

 


 GL_RF_ATT_18DB

 
  • FlowControl

Sets the UART flow control. FlowControl="Type,Xon,Xoff", with Type = {"HW, SW, DISABLED"}. Xon and Xoff are the SW flow control characters. If not set, HW flow control is used by default.

It will be HW flow control by default. SW flow control only supported with certain chipsets. Check with your AE.

XOFF/XON representations in ASCII

Code Meaning ASCII Dec Hex Keyboard

XOFF Pause transmission DC3 19 13 CTRL+S

XON Resume transmission DC1 17 11 CTRL+Q

the syntax expected for Xon and Xoff is similar to that of integer constants, which is formed by a succession of:

An optional prefix indicating hexadecimal base ("0x"/"0X" respectively)

A sequence of decimal digits (if no base prefix was specified) or hexadecimal digits if a specific prefix is present

DEFAULT VALUE:  
  • LogFacMask

LogFacMaskTypes

DEFAULT VALUE:  


 LOG_GLLAPI

 


 LOG_DEVIA

 


 LOG_DEVVG

 


 LOG_NMEA

 


 LOG_RAWDATA

 


 LOG_DEVMS

 


 LOG_ASIC_IO

 


 LOG_BBTEST

 


 LOG_DEVET

 


 LOG_MESM

 


 LOG_DEVKF

 


 LOG_DEVCV

 


 LOG_DEVJG

 


 LOG_DEVMR

 
  • LogPriMask

LogMaskType

DEFAULT VALUE:  


 LOG_ALERT

 


 LOG_CRIT

 


 LOG_ERR

 


 LOG_WARNING

 


 LOG_NOTIFY

 


 LOG_INFO

 


 LOG_DEBUG

 
  • PsfClockVariationModel

type_PsfClock

DEFAULT VALUE: REFERENCE 


 Device has large TCXO variation (greater than 3ppb/s).

 


 Device has TCXO variations between 1.5 and 3ppb/s.

 


 Device has LOW TCXO variations

 


 Device has PSF_CLOCK_VARIATION_REFERENCE TCXO variations

 


 Device has PSF_CLOCK_VARIATION_MEDIUM TCXO variations

 


 Device has PSF_CLOCK_VARIATION_HIGH TCXO variations

 
  • FtaPolarity

FtaPolarity="ACTIVE_HIGH" or "ACTIVE_LOW".

DEFAULT VALUE: ACTIVE_LOW 
  • ConfigParameters

ConfigParameters -

DEFAULT VALUE:  
  • PrecTimerEnabled

Precise Timer enabled (internal only) -

DEFAULT VALUE:  
  • AsicDacEnabled

Asic DAC enabled (internal only) -

DEFAULT VALUE:  
  • DebugStrict

Debug strict (internal only) - Enbales GLPP2 to replay the data in strict/nonstrict mode.

DEFAULT VALUE:  
  • PsfNotConnected

Device is never connected and can never rely on asssitance data, not even occasional LTO.

DEFAULT VALUE: false 
  • DynamicMode

type_DynMod

DEFAULT VALUE:  


 DYN_PEDESTRIAN

 


 DYN_VEHICLE

 
  • WarmStandbyTimeout2Seconds

Time during which fine time is maintained after the last periodic request got stopped

DEFAULT VALUE:  
  • WarmStandbyTimeout1Seconds

Time a periodic request is kept running internally after the engine got asked to stop it

DEFAULT VALUE:  
  • TimeSyncGroupDelay

Compensate the group delay from the CDMA cell tower to cell phone, the value for PLTS test is -8.048440us.

DEFAULT VALUE:  
  • DegreeThresholdForPhn

Set the gamma threshold used in phase noise tests for comparing it with I to Q power of Phase corrected signal.

DEFAULT VALUE:  
  • AdsSyncInUncertaintyUsec

Set the FTT uncertainty (ULTS + ADS environment)

DEFAULT VALUE:  
  • RfPathLossDb

Set the RF signal loss from antenna connector to the baseband (RF noise figure). The GLL subtracts this value from the signal levels reported at the antenna. The default value is 4.0dB. The valid range is 0.0 to 12.0dB.

DEFAULT VALUE:  
  • BurstMode

BurstMode="{true/false},{number of dummy bytes},{delay between dummy bytes and data in ms},{dummy byte (optional)},{ctrl byte (optional)}, {GPIO pin(optional)}, {GPIO pin polairty(optional)}" (BurstMode="true,2,10") or (BurstMode=true,2,10,120") or (BurstMode="true,2,10,120,7,1,1")

DEFAULT VALUE:  
  • LtoCbeeQatest

enable lto cbee qa test.

DEFAULT VALUE:  
  • AdsUplinkTimeOffsetMs

Set the uplink time offset for ADS ULTS testing

DEFAULT VALUE:  
  • PpsOscDriftPpb

When all satellite signals are lost, it is not possible to calibrate the

TCXO anymore. Timing uncertainty will grow X ns every second, with PPS

being kept on until uncertainty reaches pps-max-uncertainty-ns, at

which point it is turned off. The value for X should be obtained from

the TCXO datasheet characteristics.

DEFAULT VALUE:  
  • AdsSyncInMode

Set the FTT configuration for ULTS operation with the ADS router

DEFAULT VALUE:  
  • CountInOffsetPpb

Introduce an offset to the estimated frequency provided by count in

DEFAULT VALUE:  
  • PreferCoarseTime

PreferCoarseTime -

DEFAULT VALUE:  
  • PeriodicTimeOutSec

Sets the default periodic timeout value for all requests. If the GLL does not get a position fix within PeriodicTimeOutSec, then it will open the accuracy mask to the maximum (400m) until there is a position fix, then immediately restore the accuracy mask to the previous value

DEFAULT VALUE:  
  • NvmemWritePeriodMs

Periodically write to NVMEM (not needed in the case of graceful shutdowns). By default this is set to zero, which means that NVMEM will only be updated at critical points such as when shutting down.

DEFAULT VALUE:  

Optional Attributes

  • EnableFlightMode

Instructs GLL to enable flight mode

DEFAULT VALUE: false 
  • HighestElevation

Highest elevation search strategy. If enabled, only the highest N elevation satellites will be tracked.

DEFAULT VALUE: false 
  • EnableLtoUpdateCalibration

When "true" Decoded broadcast ephemeris will update the LTO calibration.

When "false", calibration from NVS is applied, but not updated from Broadcast Ephemeris

DEFAULT VALUE: true 
  • EnableFalseAlarms

Instructs GLL to allow false alarms to go through to facilitate the RF test

DEFAULT VALUE: false 
  • EnableLowPowerPmm

Instructs GLL to enable switching to low power duty cycling

DEFAULT VALUE: false 

<job> GPS Jobs

The <job /> element defines the sequence of requests that will be sent to the GlEngine for execution.

The second parameter to the glgpsapp defines the job to execute.

If GLCT is not supplied with a job id, the application waits for a position

request from an ARP other than the BRM.

Note that only one <job /> element can be executed.

Normally you don't need to modify the job descriptions. The config file you received in

your distribution contains all possible jobs to do QA either with the simulator or

with live signal.

The default file defines the following list of jobs:

  • "Periodic" - Periodic position fixes using default settings.
  • "Cold_Starts" - Repetitive cold starts, all stored GPS data is discarded before each start.
  • "Warm_Starts" - Repetitive warm starts, stored ephemeris data is discarded before each start; this simulates GPS

receiver start after it was left off for more than 4 hours.

  • "Simulator_Warm_Starts" - Repetitive warm starts performed on GPS simulator.
  • "Hot_Starts" - Repetitive hot starts.
  • "CollectEphemeris" - Must be performed every time the GPS simulator scenario is reset.
  • "Assisted_Cold_Starts" - Performs a series of single-shot requests using the data stored in NVRAM to simulate

assistance data received from the network. The QoS parameters are set to maximize the GPS sensitivity.

  • "3GPP_Assisted_Cold_Starts" - Performs a series of single-shot requests using the data stored in NVRAM to simulate

assistance data received from the network.

The QoS parameters are set as it would be set by the Spirent ULTS executing

3GPP TS performance tests.

  • "Factory_High_SNR" - This exists for legacy only. Please use "Factory_Track_Test".
  • "Factory_Track_Test" - Starts single-channel factory test mode. The signal is expected to initially be in the range from -125 dBm to -142 dBm with the frequency offset range from -2 ppm to +2 ppm for this mode to provide reliable results. In order to do tracking tests at low signal strength, start the test at high signal strength (above -145 dBm) and then bring the signal down.
  • "Factory_Low_SNR" - This exists for legacy only. Please use "Factory_Low_SNR_Acquisition".
  • "Factory_Low_SNR_Acquisition" - This job is intended to be ran after the Factory_Track_Test job. It uses the TCXO offset stored in NVRAM during the Factory_Track_Test job. This is a low-signal strength acquisition only test. It performs repeated acquisitions but no tracking, hence it cannot be used to produce, for example, WER measurements.

If you have custom QA procedures that you need to follow, you should study the job descriptions below in case you need

to modify existing job descriptions or create some of your own.

The "normal" job below is the simplest job you can give to GLCT. It performs a never-ending sequence of periodic fixes.


  <!-- List of jobs can be performed by the GPS controller -->



  <!-- The default job: all parameters are set to default values -->

  <job Id="normal">

    <task>

      <req_pos />

    </task>

  </job>

Within a <job>, tasks are executed sequentially.

Both jobs and tasks can have an ID and a repeat count:

  • Id="TaskName" - set the task name. Default is none.

This task name is appended to the job name in the GLL log file.

  • Repeat="20" - The default repeat count is 1.

  <!-- Jobs can have a repeat -->

  <job Id="more" Repeat="5">

    <task>

      <req_pos />

    </task>

  </job>



  <!-- Tasks can also have a repeat and an ID and multiple requests -->

  <job Id="again" Repeat="77">

    <task Id="A" Repeat="2">

      <req_pos />

      <req_meas_single />

    </task>

    <task Id="B" Repeat="3">

      <req_pos />

    </task>

  </job>

Random Sleep Between Tasks

It is possible to enable random pauses of 1 to 32 seconds between repetitions of a task by

setting EnableRandomSleepBetweenIterations="true".


  <!-- Tasks can have random sleep enabled -->

  <job Id="randomSleep32" Repeat="5">

    <task Repeat="2"

          EnableRandomSleepBetweenIterations="true">

          <req_pos />

    </task>

  </job>

It is possible to enable random pauses of 1 to N seconds between repetitions of a task by

setting RandomSleepSecondsBetweenIterations="N". The valid range of N is 1 to 3600 seconds.


  <!-- Tasks can have random sleep enabled -->

  <job Id="variableRandomSleep" Repeat="5">

    <task Repeat="2"

          RandomSleepSecondsBetweenIterations="3600">

          <req_pos />

    </task>

  </job>

For these random sleep times to take effect define preprocessor label GPS_HAL_ENABLE_RANDOM_SLEEP

when building the BRM (glreq_mgrs/glnmea) and implement function GpsHalRandomSleep() in your HAL.

See glhal/win_xp/glgps_hal_tim.c for an example.

Special Jobs

To test core dump and remote debugging capabilities, these special "jobs" are defined:

  • ASSERT - The NMEA batch job calls GpsHalAssert(pHal).
  • CRASH - The NMEA batch job crashes by writing a 32-bit value to a bad pointer (value 0x1).
  • EARLY_CRASH - Same as CRASH, but crashes in main.cpp before the HAL is created (for WinXP only).
  • STACK - The NMEA batch job crashes by corrupting the stack. It calls strcat with a long string to a small buffer.

Crashes automatically create core dump files on WinXP systems.

Since this can take a long time, the WinXP hal tag for .XML

accepts this parameter to disable core dumps: bDisableCoreDumpUponAssert="true".

<req_***> Requests

Every task in a job is described by one or more request.

The common requests are:

  • <req_pos> - periodic positioning.
  • <req_pos_single> - single-shot.
  • <req_meas> - periodic measurements.
  • <req_meas_single> - single-shot measurement.

Other requests that are less used are:

  • <req_asst />- ask GLL what assistance is needed.
  • <req_cntin /> - Calibrate the TCXO.

Common attributes of most requests are:

  • Timeout - Timeout QoS parameter
  • AccuracyMask - Accuracy QoS parameter
  • DurationSec - Stop after specified duration of time (seconds)

To request a periodic position, use <req_pos />.

In addition to the common attributes, it may also have these optional attributes:

  • FixCount - Stop after specified number of fixes (valid or invalid) reported
  • Period - Number of milliseconds between fixes or fix reports.
  • ValidFixes - Stop after specified number of valid fixes reported

Note, the IRM does not currently support this parameter.

  • PeriodicTimeOutSec Sets the default periodic timeout value for this specific request, overriding the

default value from the <gll> tag. If the GLL does not get

a position fix within PeriodicTimeOutSec, then it will open the accuracy mask to the maximum (400m) until there

is a position fix, then immediately restore the accuracy mask to the previous value.

<req_pos_single /> is the single-shot position request.

It uses the common attributes and age:

  • Age - Set u.shot.usMaxLocAgeSec in the single-shot request.

To request periodic measurements, use <req_meas />.

It has the the same options as <req_pos>.

Platform Test

<req_platform_test /> parameters can be set in one go

or using separated fancier names for each specific test type.

Available platform tests are:

  • Type="SerialStressTest"
  • TestIdHex="0x1" - another means to select the serial stress test

Parameters available to all platform tests are:

  • AllParameters="1,2,3,4,5,6,7" - set them all at once
  • DurationSec="14"

Serial Stress Test

The serial stress test attempts to move the specified number of small

(about 13 bytes) ASIC packets per second.

The requested numbers are checked and quietly limited to ensure

reasonable values. The checks are:

  • Minimum TX bytes per packet are 1
  • TX and RX bytes are always equal
  • Maximum TX bytes per packet are 200
  • Minimum TX packet is 1
  • Maximum TX packets are 75

Serial stress test parameters are:

  • TxPacketsPerSecond="40"
  • TxLength="150"
  • Pattern="1"

These parameters are accepted but have no effect yet:

  • PatternId="1"
  • RxLength="2"
  • RxPacketsPerSecond="8"

Examples:


  <job Id="plat">

      <task >

        <req_platform_test

                TestIdHex="0x1"

                AllParameters="1,2,3,4,5,6,7" />

      </task>

  </job>



  <job Id="Stress4sec">

      <task >

        <req_platform_test

                Type="SerialStressTest"

                TxPacketsPerSecond="60"

                TxLength="150"

                Pattern="10"

                DurationSec="4"

        />

      </task>

  </job>

Spectrum Analyzer Feature

To request a frequency scan, use the <req_freq_scan /> request.

The default Band is "GL_FACT_TEST_BAND_GPS". To select GLONASS, use Band="GL_FACT_TEST_BAND_GLONASS".

The "spa-gps" test configuration below is the default showing how to perform a spectrum analysis across a +/-3MHz frequency band centered at the GPS L1 band (1,575,420,000.0 Hz).

The resolution bandwidth (RBW) is fixed at 1KHz.

The default video bandwidth (VBW) is 100Hz.


<job Id="spa-gps">

     <task Repeat="1">

         <req_freq_scan />

     </task>

</job>

The "spa-glonass" test configuration below shows how to perform a spectrum analysis across a +/-2MHz frequency band centered at the GLONASS FCN0 (1,602,000,000.0 Hz) with tighter VBW.


<job Id="spa-glonass">

     <task Repeat="1">

         <req_freq_scan

                InitL1OffsetHz="-2000000"

                EndL1OffsetHz = "2000000"

                Band="GL_FACT_TEST_BAND_GLONASS"

                VideoBandwidthHz="50"

         />

     </task>

</job>

Parameters are:

  • InitL1OffsetHz

o The initial frequency to start the sweeping, from L1, in Hz.

  • EndL1OffsetHz

o The stop frequency to finish the sweeping, from L1, in Hz.

  • Band

o Specifies the band to use:

o GL_FACT_TEST_BAND_GPS sweeps the GPS band.

o GL_FACT_TEST_BAND_GLONASS sweeps the GLONASS band.

  • VideoBandwidthHz

o Valid range is 100Hz to 1Hz, unless the scan time exceeds 660s. So a narrower span can use the lower VBW.

o Default is 100Hz.

  • AgcLock

o If "true", the AGC is locked at the start of the test.

  • SmallSpur

o If "true", the AGC is tuned for lower input signals. Larger spurs may cause saturation and artifacts.

Spectrum Analyzer link

For more details, see page Spectrum Analyzer

Optional Task Inner Attributes

Every request can have one or more of these optional inner elements described

in detail below.

  • <assistance>
  • <startup>
  • <features>
  • <far_start>

The optional <position /> assistance tag goes inside the

<assistance> </asst> tags to describe the assistance position.

It can have these attributes:

  • Lat - The latitude in degrees (+/-DD.DDDDDD).

The default latitude is 0 degrees (+/-DDD.DDDDDD).

  • Lon - The longitude in degrees.

The default longitude is 0 degrees.

  • Alt - The altitude in meters.

The default altitude is 0m.

  • HorAcc - The horizontal accuracy in meters.

The default horizontal accuracy is 10000m.

  • VerAcc - The vertical accuracy in meters.

The default vertical accuracy is 3000m.

  • AgeSec - The age of the assistance position in seconds.

The default age is 0s.

The XML parser accuracy defaults are different from the GLL

aiding accuracy defaults.

This example uses defaults for altitude and accuracy.


    <assistance>

        <position Lat="37.212345" Lon="-121.123456" AgeSec="3600"/>

    </assistance>

The optional <frequency /> assistance element goes inside the

<assistance> </asst> tags to define the TCXO offset if it is known by

some external mechanism. Attributes of the <frequency> tag are:

  • OffsetPpb - The frequency offset in PPB.
  • UncertaintyPpb - The frequency uncertainty in PPB.
  • OffsetAgeSec - The age of the frequency offset measurement in seconds.

    <!-- Measure the TCXO in a factory test, then apply one hour later -->

    <assistance>

        <frequency OffstPpb="-371" UncPpb="33" OffstAgeSec="3600" />

    </asst>

The optional <gps_time /> assistance element goes inside the

<assistance> </asst> tags to set the GPS time.

some external mechanism. Attributes of the <gps_time> tag are:

  • WeekNum - The GPS week number (e.g. 1625).
  • TowMs - The GPS time of week in milliseconds.
  • OffstAgeSec - The age of the frequency offset measurement in seconds.

    <assistance>

        <gps_time WeekNum="1625" TowMs="354235501" />

    </asst>

The optional <aid_mask /> element goes inside the

<task> tag to force removal of certain inputs to the GLL for test purposes. There are five masks. The masks are sent to the GLL using

the SetAidMask() API.

The five types of masks are:

  • BE - Broadcast Ephemeris. Any BE data in non-volatile storage is ignored for the specified SV list.
  • LTO - Long-Term Orbits. LTO data is ignored for the specified SV list.
  • ALM - Almanac. Almanac data (hard-coded, non-volatile storage, or from LTO) is ignored for the specified SV list.
  • CBEE - Client-Based Extended Ephemeris. CBEE data is ignored for the specified SV list.
  • CAL - Calibration. Calibration data (for 30-day LTO) is ignored for the specified SV list.

Each mask consists of the GNSS constellation name; the equal sign; then

a list of GNSS IDs (in the range 1 to 32) to be excluded. Use '*' to exclude all SVs of a constellation.

A semicolon ';' indicates the end of this constellations exclusion list (optional at the end of the entry.)

Spaces are allowed after commas and semicolons.


    <task>

        <aid_mask

            BE="GPS=1,2;QZSS=*;GLONASS=3,4,5;SBAS=5"

            LTO="GPS=1,2,3,4,5,6,7,8;QZSS=1,2;GLONASS=3,4,5;SBAS=1;"

            ALM="QZSS=1,2;GPS=12,13;"

            CBEE=" GLONASS=3,4,5; GPS=2,4; QZSS= 1,2; SBAS=3"

            CAL="GPS=*" />

    </task>

Not all masks must be present:


    <task>

        <aid_mask

            LTO="GPS=*"

        />

    </task>

The <startup /> tag defines the action to be taken during the loading of NVSTORAGE and has the following optional attributes:

  • RtcErrorMs="60000" Instructs GLL to induce 60 seconds of time error
  • PositionError="true" Instructs GLL to induce random position error
  • OscOffsetPpb="-344" Instructs GLL to change the reference clock value
  • OscAgeSec="7200" Instructs GLL to add time to the age of the reference clock. The maximum osc_age_sec accepted is 40 weeks.

If the oscillator offset or age are set, then CNTIN should not be used.

In the above example, if the reference clock stored in NVRAM was 1000, then the GLL will use 656 ppb

and assume this value is 2 hours older.

See GlNvStorageReader::SetDataToIgnore(), GlNvStorageReader::AddErrorToRtc().

<far_start /> Far starts attributes can be added to any task.

Attributes of far_start are:

  • Enabled="true" - enable the far start feature (default is disabled).
  • TrustPositionForSec="10800" - Trust the position for 10800 seconds or three hours (default).
  • ClearPositionAfterSec="180" - invalidate the position after 45 seconds (default).

See GlSettings::SetFarStart. For more details see page Far Start

A More Detailed Example

The "auton-start" job is a bit more complicated.

It has two named tasks with repeat counts.


  <!-- Job to perform autonomous mode testing -->

  <job Id="auton-start">

    <task Id="factory" Repeat="5">

      <assistance>

        <position Lat="37.26533" Lon="-121.941288" Alt="0" />

      </asst>



      <!-- Instructs GLL to ignore all elements stored in NVRAM listed below -->

      <startup

            IgnoreTime="true"

            IgnoreOsc="true"

            IgnorePosition="true"

            IgnoreNav="true"

            IgnoreRamAlm="true"

            IgnoreRomAlm="true" />



        <!-- Do this test in periodic mode  -->

        <!-- Stop if we got either 100 any fixes or one valid  -->

        <req_pos Period="1000" FixCount="100" Validfixes="1" />



    </task>



    <task Id="warm" Repeat="5">

      <assistance>

        <position Lat="37.26533" Lon="-121.941288" Alt="0" />

      </assistance>



      <startup ignore_nav="true" />



      <!-- Do this test in periodic mode  -->

      <!-- Stop if we got either 100 any fixes or one valid  -->

      <req_pos Period="1000" FixCount="100" ValidFixes="1"/>



    </task>

  </job>

Update GPS Configuration File gpsconfig.xml

This section describes how to update the XML configuration file for the Windows XP sample application in the SDK.

  • Unzip the SDK on the local drive of the computer where you want to run.

o The top directory of SDK will have the format

Platform_Compiler_SdkVersion/SdkVersion.

o For example, Windows SDK _WinXP_VC8_2.16.201.72126\2.16.201.72126.

o Linux SDK Unix_CP2103_gcc_2.16.4.83827/2.16.4.83827

o Under the top directory, you will have subdirectories "allPartners",

"bin" and among other things.

  • Locate original file allPartners/deliverables/glgpsapp/gpsconfig.xml

o Note that the actual name of gpsconfig.xml depends on the GPS chipset. For

example, the actual name might be gpsconfig4751.xml

  • Tip: it is better to use a syntax highlight editor such as Notepad++

(Windows) or vim (Linux) so that you can distinguish from valid XML code

and comments


    <!-- This is an XML Comment-->

    <code Id="This is valid XML code">

  • Update gpsconfig.xml on Windows

o This step is required if the GPS kit is connected to USB. Set the

value of acPortName to the COM port number observed after installing

the driver. For example, if the USB COM port is "COM3", then you

set acPortName="COM3".

o I2C settings to be documented.

o Note the value of acLogDirectory="C:\\debuglog\\barracuda", where the log

files will be located.

  • Update gpsconfig.xml on Linux

o For serial interface, set this value to acPortName="/dev/ttyUSB0"

o Use the "dmesg" command to check the usb2uart device you are referencing with /dev/ttyUSBn

o For I2C interface, to be documented

o Set acLogDirectory="/var/tmp/gpslogs", where the log files will be located.

o Optionally, set the value acNmeaOutName="/var/tmp/nmeapipe"

o Be sure NOT to use Windows directory separator "\" in Linux

o A typical serial interface hal settings as follows:


    <hal

        PortName="/dev/ttyUSB0"

        BaudRate="115200"cLogEnabled="true"

        LogDirectory="/var/tmp/gpslogs"

        NmeaOutName="/var/tmp/nmeapipe"

        CtrlPipe="/var/tmp/gpsirmctrl"

        LtoFileName="lto.dat"

    />

  • Ensure the following fields are configured properly to match the EK settings

    <!-- This is for BASS evaluation kit -->

    FrqPlan="FRQ_PLAN_16_8MHZ_2PPM"

    RfType="GL_RF_BARRACUDA_EXT_LNA"



    <!-- This is for Piranha and Thames (RF input to INT_LNA) evaluation kit -->

    FrqPlan="FRQ_PLAN_26MHZ_2PPM"

    RfType="GL_RF_4751_DANUBE"



    <!-- This is for Thames (RF input to EXT_LNA) evaluation kit -->

    FrqPlan="FRQ_PLAN_26MHZ_2PPM"

    RfType="GL_RF_4751_DANUBE_EXT_LNA"

  • Save gpsconfig.xml you just updated and copy it to the directory where the

glgps_* executable is located:

o Windows - bin\WinXP

o Linux - bin/Unix

The next step How to run SDK on (Windows or Linux) PC is to run the host-based GPS SDK on a PC.

Options for loading NVSTORAGE

This section describes the NVMEM ignore options available from GLL Elements and startup of a job

  • IgnoreTime="true" Instructs GLL to ignore time from the RTC
  • IgnoreOsc="true" Instructs GLL to ignore stored oscillator offset value
  • IgnorePosition="true" Instructs GLL to ignore stored position
  • DeletePosition="true" Instructs GLL to not save position to NVMEM
  • PreventUpdateBadLtoList="true" Instructs GLL to not change the LTO list in NVMEM based on current run
  • IgnoreNav="true" Instructs GLL to ignore stored ephemeris
  • DeleteNav="true" Instructs GLL to not save ephemeris to NVMEM
  • IgnoreRamAlm="true" Instructs GLL to ignore stored almanac
  • IgnoreRomAlm="true" Instructs GLL to ignore ROM almanac
  • IgnoreBadLtoList="true" Instructs GLL to ignore the list of SVs with bad LTO that is kept in NV storage.
  • IgnoreIono="true" Instructs GLL to ignore ionosphere data
  • IgnoreUtc="true" Instructs GLL to ignore UTC
  • IgnoreUid="true" Instructs GLL to ignore UID mismatches (default)
  • IgnoreCalibration="true" Instructs GLL to ignore LTO calibration data
  • IgnoreEeim="true" Instructs GLL to ignore CBEE integration monitoring (list of bad SVs)
  • IgnoreTerrain="true" Ignore terrain model (NOTE: Terrain Model not actually stored in NVRAM)

Ignore NVMEM flags are the logical OR of the flags set in GLL Elements and startup of a job.

Options for ignoring external assistance data

This section describes the ignore assistance options available from GLL Elements and startup of a job

  • AsstIgnoreLto="true" Instructs GLL do not call the callback OnLTOFileRead()
  • AsstIgnoreCbee="true" Instructs GLL do not call the callback OnEEFileRead()
  • AsstIgnoreAll="true" Instructs GLL to ignore all assistance data

Ignore assistance flags are the logical OR of the flags set in GLL Elements and startup of a job.

factorytest

For more details, see Page Factory Test

The list of possible job tags are:

Required Attributes

  • Id

Job must have id. Application uses this id to run specific job

DEFAULT VALUE:  

Optional Attributes

  • Repeat

For QA purposes job can be repeated multiple times

DEFAULT VALUE: 1 

Notch filters It is possible to configure the notch filters presents in some

chips using this element. When specifing a notch filter, you have to specify also

the frequency affected by this filter and the band (GPS or GLONASS). The attributes for

this element are:

  • Freq Specify the frequency on which the notch filter will be applied, in Hz.
  • Mode Specify gps for GPS, glonass for glonass, or disabled if the filter is not used.

<!-- Notch filter example -->

<gll ... >

    <notch_filter Freq="1500" Mode="gps"/> <!-- Filter at L1 + 1500 Hz -->

     and<notch_filter Freq="10000" Mode="glonass"/> <!-- Filter at FCN0 + 10000 Hz ->

</gll>

Take careful note of the <gll> XML syntax changes when <notch_filter>

is added because "/>" becomes ">" and </gll> is now required.

The list of possible Notch filters tags are:

Required Attributes

  • NotchFilterMode

This attribute specifies the band: for GPS, for glonass and if the filter is not used.

DEFAULT VALUE:  
  • NotchFilterFreq

This one specifies the frequency on which the notch filter will be applied, in Hz.

DEFAULT VALUE:  

Other settings

  • Value

Sets AGC forcing value

DEFAULT VALUE:  

Backwards Compatibility

GLL versions prior to v19 used inconsistent naming. For backwards compatibility, these old names are still accepted.

Backwards compatibility for all configuration parameters:

  • old_name NewName
     aa-configure --> AardvarkConfigure
     aa-debug --> AardvarkDebug
     aa-escaping --> AardvarkEscaping
     aa-gpio-direction-mask --> AardvarkGpioDirectionMask
     aa-gpio-set-value --> AardvarkGpioSetValue
     aa-host-req --> AardvarkHostReq
     aa-i2c-bitrate-khz --> AardvarkI2cBitrateKhz
     aa-i2c-board --> AardvarkI2cBoard
     aa-i2c-bus-timeout-ms --> AardvarkI2cBusTimeoutMs
     aa-i2c-max-read-bytes --> AardvarkI2cMaxReadBytes
     aa-i2c-pullup-mask --> AardvarkI2cPullupMask
     aa-i2c-slave-addr --> AardvarkI2cSlaveAddr
     aa-i2c-write-read-flags --> AardvarkI2cWriteReadFlags
     aa-reg-pu --> AardvarkRegPu
     aa-spi-bitrate-khz --> AardvarkSpiBitrateKhz
     aa-spi-configure-bitorder --> AardvarkSpiConfigureBitorder
     aa-spi-configure-polarity --> AardvarkSpiConfigurePolarity
     aa-spi-master-ss-polarity --> AardvarkSpiMasterSsPolarity
     aa-spi-sconfigure-sphase --> AardvarkSpiSconfigureSphase
     sim-asst --> SimAsst
     splitlog --> SplitLog
     TcpConnectionTimeout --> TcpConnectionTimeout
     TISEnabled --> TISEnabled
     RILEnabled --> RILEnabled
     LPmode --> LPmode
     ulLogLineThreshold --> LogLineThreshold
     WakeLock --> WakeLock
     acAlmFile --> AlmanacFile
     acIRMPipeName --> IrmPipeName
     acLogDirectory --> LogDirectory
     acLogFileName --> LogFileName
     acLtoDir --> LtoDir
     acNmeaOutName --> NmeaOutName
     acNmeaPort --> NmeaPort
     acNtpServer --> NtpServer
     acNvStoDir --> NvStorageDir
     acNvDir --> NvStorageDir
     acNvStoName --> NvStorageName
     acNvFileName --> NvStorageName
     acPortName --> PortName
     cLogEnabled --> LogEnabled
     cLogEnableInitState --> LogEnableInitState
     CollectEphemerisPeriodMinute --> CollectEphemerisPeriodMinute
     ctrlPipe --> CtrlPipe
     gpioDelayMs --> GpioDelayMs
     gpioNResetPath --> GpioNResetPath
     GpsConfigPath --> GpsConfigPath
     gpslogdPipePath --> GpslogdPipePath
     HalLogLevel --> HalLogLevel
     ignore_aiding_mask --> IgnoreAidingMask
     ignore_asst_mask --> IgnoreAsstMask
     IgnoreJniLocation --> IgnoreJniLocation
     IgnoreJniTime --> IgnoreJniTime
     ioctlNStdby --> IoctlNStdby
     irqNHostReqPath --> IrqNHostReqPath
     gpioNStdbyPath --> GpioNStdbyPath
     enable_lto --> EnableLto
     gpioNHostReqPath --> GpioNHostReqPath
     NoDataStandalone --> NoDataStandalone
     prefer-coarse-time --> PreferCoarseTime
     RilApiSocketName --> RilApiSocketName
     rti-config --> RtiConfig
     send-unsolicited-TAM --> SendUnsolicitedTam
     pps_device --> PpsDevice
     irmFreqAid --> IrmFreqAid
     irmPosAid --> IrmPosAid
     iIrmCmdPort --> IrmCmdPort
     lBaudRate --> BaudRate
     acLtoFileName --> LtoFileName
     ltoFileName --> LtoFileName
     ReAidingIntervalSec --> ReAidingIntervalSec
     ReAidingRetryCount --> ReAidingRetryCount
     ReAidingRetryIntervalSec --> ReAidingRetryIntervalSec
     ReAidingType --> ReAidingType
     AssertEnabled --> AssertEnabled
     LogCatBufferName --> LogCatBufferName
     lcsApiSockName --> LcsApiSockName
     posAccOverride --> PositionAccOverride
     ignoreBadLTO --> IgnoreBadLto
     lcsNmeaUDP --> LcsNmeaUDP
     cSuppressNvmemWrite --> SuppressNvmemWrite
     acArchiveSubfolder --> ArchiveSubfolder
     acFileNamePrefix --> FileNamePrefix
     acFileNameSuffix --> FileNameSuffix
     acSmartLogging --> SmartLogging
     acUtc2GpsOff --> Utc2GpsOff
     arp-sync-in-mode --> SyncInMode
     arp-sync-in-unc-usec --> SyncInUncertaintyUsec
     arp-uplink-tm-off-ms --> UplinkTimeOffsetMs
     AsicIP --> AsicIP
     AsicPort --> AsicPort
     forced-periodic --> ForcedPeriodic
     bDisableCoreDumpUponAssert --> DisableCoreDumpUponAssert
     bDisableGpioCtrl --> DisableGpioCtrl
     bPrintToConsole --> PrintToConsole
     cDisableConsoleIO --> DisableConsoleIO
     SelfTestInput --> SelfTestInput
     SelfTestOutput --> SelfTestOutput
     hal-file-prefix --> HalFilePrefix
     HCDFile --> HCDFile
     HCIEncoding --> HCIEncoding
     MaxHCIPayloadSize --> MaxHCIPayloadSize
     allowLcsSessionOverride --> AllowLcsSessionOverride
     rfkillNStdby --> RfkillNStdby
     Freq --> NotchFilterFreq
     Mode --> NotchFilterMode
     cp-3gpp-raw-mode --> Cp3gppRawMode
     cp-3gpp-wait-OK --> Cp3gppWaitOk
     cpApiSockName --> CpApiSockName
     cp-force-coldstart --> CpForceColdStart
     cp-enhanced-assisted --> CpEnhancedAssisted
     LPMode --> CpLpMode
     cp-cold-start --> CpColdStart
     cp-guard-time-sec --> CpGuardTimeSec
     cpGuardTimeSec --> CpGuardTimeSec
     cbeeEnable --> CbeeEnable
     acEEDir --> CbeeDir
     acEEFileName --> CbeeFileName
     arp-cbee-cbeegen-app-param --> CbeeGenAppParam
     arp-cbee-cbeegen-app-path --> CbeeGenAppPath
     arp-cbee-check-new-be-period-sec --> CbeeCheckNewBePeriodSec
     arp-cbee-signal-cbeegen-on-new-be --> CbeeSignalCbeegenOnNewBe
     arp-cbee-write-nvmem-on-new-be --> CbeeWriteNvmemOnNewBe
     enhanced-assisted --> EnhancedAssisted
     arp-supl-auto-slp --> SuplAutoSlp
     arp-supl-cap-autonomousgps --> SuplAutonomousGpsCapable
     arp-supl-cap-ecid --> SuplEcidCapable
     arp-supl-cap-msa --> SuplMsaCapable
     arp-supl-cap-msb --> SuplMsbCapable
     arp-supl-cap-glonass --> SuplGlonassCapable
     arp-supl-disable-device --> SuplDisableDevice
     arp-supl-enable --> SuplEnable
     arp-supl-hmac-key --> SuplHmacKey
     arp-supl-interface-device --> SuplInterfaceDevice
     arp-supl-max-aid-tries --> SuplMaxAidTries
     arp-supl-ssl-method --> SuplSslMethod
     arp-supl-ssl-verify --> SuplSslVerify
     arp-supl-use-apn --> SuplUseApn
     arp-supl-reaiding-time-sec --> SuplReAidingTimeSec
     ArpSuplNiCapMsb --> SuplNiCapMsb
     ArpSuplNiCapMsa --> SuplNiCapMsa
     ArpSuplCapOtdoa --> SuplCapOtdoa
     acSuplLogFullName --> SuplLogFullName
     acSuplServer --> SuplServer
     SuplEndConnectionOnTimeOut --> SuplEndConnectionOnTimeOut
     SuplFixedCellID --> SuplFixedCellID
     SuplFixedLAC --> SuplFixedLAC
     SuplFixedMCC --> SuplFixedMCC
     SuplFixedMNC --> SuplFixedMNC
     SuplForNTTDocomo --> SuplNTTDocomo
     SuplPort --> SuplPort
     SuplUT1Seconds --> SuplUT1Seconds
     SuplUT2Seconds --> SuplUT2Seconds
     SuplUT3Seconds --> SuplUT3Seconds
     SuplLogEnable --> SuplLogEnable
     SuplVersion --> SuplVersion
     SuplMinorVersion --> SuplMinorVersion
     SuplHmacHash --> SuplHmacHash
     tlsEnable --> SuplTlsEnable
     tlsCertPath --> SuplTlsCertPath
     tlsStopForInvPath --> SuplTlsStopForInvPath
     acc --> AccuracyMask
     AcquisitionTimeUs --> AcquisitionTimeUs
     age --> Age
     AgeSec --> AgeSec
     ALM --> Almanac
     Alt --> Alt
     asst_ignore_acq --> AsstIgnoreAcquisitionAssistance
     asst_ignore_all --> AsstIgnoreAll
     asst_ignore_alm --> AsstIgnoreAlm
     asst_ignore_cbee --> AsstIgnoreCbee
     asst_ignore_eph --> AsstIgnoreEphemeris
     asst_ignore_fix --> AsstIgnoreFix
     asst_ignore_glns_alm --> AsstIgnoreGlonassAlm
     asst_ignore_glns_eph --> AsstIgnoreGlonassEphemeris
     asst_ignore_iono --> AsstIgnoreIono
     asst_ignore_lto --> AsstIgnoreLto
     asst_ignore_pos --> AsstIgnorePosition
     asst_ignore_precise_time --> AsstIgnorePreciseTime
     asst_ignore_rti --> AsstIgnoreRti
     asst_ignore_sens --> AsstIgnoreSensor
     asst_ignore_time --> AsstIgnoreTime
     asst_ignore_utc --> AsstIgnoreUtc
     avg_int_sec --> AveragingIntervalSec
     Band --> Band
     BE --> BE
     CAL --> CAL
     CBEE --> CBEE
     clear_pos_after_sec --> ClearPositionAfterSec
     data --> Data
     delete_nav --> DeleteNav
     delete_pos --> DeletePosition
     duration_in_sec --> TestDurationSec
     duration_sec --> DurationSec
     enabled --> Enabled
     EnableRandomSleepBetweenIterations --> EnableRandomSleepBetweenIterations
     EndL1OffsetHz --> EndL1OffsetHz
     Fcn --> Fcn
     fixcount --> FixCount
     GL_FACT_TEST_ITEMS --> FactoryTestItems
     GL_FACT_TEST_MODE --> FactoryTestMode
     gsv_rate --> GsvRate
     HorAcc --> HorAcc
     id --> Id
     ignore_calibration --> IgnoreCalibration
     ignore_eeim --> IgnoreEeim
     ignore_iono --> IgnoreIono
     ignore_lto --> IgnoreBadLtoList
     ignore_nav --> IgnoreNav
     ignore_osc --> IgnoreOsc
     ignore_osc_if_bad_uid --> IgnoreOscIfBadUid
     IgnorePosition --> IgnorePosition
     ignore_ram_alm --> IgnoreRamAlm
     ignore_rom_alm --> IgnoreRomAlm
     ignore_terrain --> IgnoreTerrain
     ignore_time --> IgnoreTime
     ignore_uid --> IgnoreUid
     ignore_utc --> IgnoreUtc
     ignore_pos --> IgnorePosition
     in --> In
     InitL1OffsetHz --> InitL1OffsetHz
     Lat --> Lat
     TowMs --> TowMs
     timeout --> Timeout
     StepFreqHz --> StepFreqHz
     trust_pos_for_sec --> TrustPositionForSec
     unc_ppb --> UncertaintyPpb
     validfix --> ValidFixes
     Value --> Value
     VerAcc --> VerAcc
     WeekNum --> WeekNum
     Lon --> Lon
     LTO --> LTO
     MEAS --> MEAS
     offst_age_sec --> OffsetAgeSec
     offst_ppb --> OffsetPpb
     grow_ppb --> GrowPpb
     osc_age_sec --> OscAgeSec
     osc_offset_ppb --> OscOffsetPpb
     osc_unc_ppb --> OscUncPpb
     out --> Out
     period --> Period
     period_in_sec --> TestPeriodSec
     pos_age_sec --> PositionAgeSec
     pos_error --> PositionError
     PRN --> Prn
     repeat --> Repeat
     rtc_error_ms --> RtcErrorMs
     LogFacMask --> LogFacMask
     LogPriMask --> LogPriMask
     lto-cbee-qatest --> LtoCbeeQatest
     nvmem-write-period-ms --> NvmemWritePeriodMs
     DynMode --> DynamicMode
     enable_false_alarms --> EnableFalseAlarms
     enable_flight_mode --> EnableFlightMode
     enable_hahm_mode --> EnableHahmMode
     enable_low_power --> EnableLowPower
     enable_lto_update_calibration --> EnableLtoUpdateCalibration
     burst-mode --> BurstMode
     config_parameters --> ConfigParameters
     count-in-offset-ppb --> CountInOffsetPpb
     FrqPlan --> FrqPlan
     highest_elevation --> HighestElevation
     AdsSyncInMode --> AdsSyncInMode
     AdsSyncInUncUsec --> AdsSyncInUncertaintyUsec
     AdsUplinkTmOffMs --> AdsUplinkTimeOffsetMs
     WarmStandbyTimeout1Seconds --> WarmStandbyTimeout1Seconds
     WarmStandbyTimeout2Seconds --> WarmStandbyTimeout2Seconds
     PadNum --> PadNum
     PeriodicTimeOutSec --> PeriodicTimeOutSec
     PlatformSpecificFlag --> PlatformSpecificFlag
     pps-enable --> PpsEnable
     pps-max-uncertainty-ns --> PpsMaxUncertaintyNs
     pps-offset-ns --> PpsOffsetNs
     pps-max-uncty-ns --> PpsMaxUncertaintyNs
     pps-osc-drift-ppb --> PpsOscDriftPpb
     pps-offset-ms --> PpsOffsetMs
     pps-width-ns --> PpsWidthNs
     prefer-coarse-time --> PreferCoarseTime
     psf-clock-variation-model --> PsfClockVariationModel
     psf-cw-fts-wide --> PsfCwFtsWide
     psf-derate-time-aiding --> PsfDerateTimeAiding
     psf-disable-clamping --> PsfDisableClamping
     psf-early-measurements --> PsfEarlyMeasurements
     psf-enable-analog-if-output --> PsfEnableAnalogIfOutput
     psf-enable-least-squares --> PsfEnableLeastSquares
     psf-enable-ped-vdr --> PsfEnablePedVdr
     psf-expect-large-clock-offset --> PsfExpectLargeClockOffset
     psf-not-connected --> PsfNotConnected
     psf-recover-jobs-upon-bad-time  --> PsfRecoverJobsUponBadTime
     psf-signal-strength --> PsfSignalStrength
     psf-strict-assert --> PsfStrictAssert
     PsfTimingApplication --> PsfTimingApplication
     RfAtt --> RfAtt
     RfType --> RfType
     ArchiveDbEnable --> LbsArchiveDbEnable
     Config --> LbsConfig
     LbsEnable --> LbsEnable
     GpsEnable --> LbsGpsEnable
     IMEIPropName --> LbsImeiPropName
     Local --> LbsLocal
     LbsLog --> LbsLog
     LbsPort --> LbsPort
     LbsServer --> LbsServer
     SyncCells --> LbsSyncCells
     SyncLto --> LbsSyncLto
     SyncLtoThresholdDays --> LtoSyncThresholdDays
     SyncTimeSec --> LbsSyncTimeSec
     Tac --> LbsTAC
     LbsUploadTimeIntervalSec --> LbsUploadTimeIntervalSec
     WlanEnable --> LbsWlanEnable
     WlCmd --> LbsWlCmd
     WlDbSizeKb --> LbsWlDbSizeKb
     LbsWlDll --> LbsWlDll
     LbsWlScan --> LbsWlScan
     WlScanIntervalSec --> LbsWlScanIntervalSec
     LbsWlScanTimeoutMs --> LbsWlScanTimeoutMs
     CellEnable --> LbsCellEnable
     SyncLto --> HttpSyncLto
     acMoveSensorInitialState --> HulaMoveSensorInitialState
     SensorsAccelCount --> HulaAccelCount
     SensorsAccelMax --> HulaAccelMax
     SensorsBaroEnable --> HulaBaroEnable
     SensorsCompasCount --> HulaCompasCount
     SensorsEnable --> HulaEnable
     SensorsForceEnable --> HulaForceEnable
     SensorsGyroScaleFactor --> HulaGyroScaleFactor
     SensorsHeadingEnable --> HulaHeadingEnable
     SensorsLog --> HulaLog
     SensorsDebugLog --> HulaDebugLog
     SensorMask --> HulaSensorMask
     SensorsMask --> HulaSensorMask
     SensorsMoEnable --> HulaMoEnable
     SensorsNoTurnDelay --> HulaNoTurnDelay
     SensorsPowerSave --> HulaPowerSave
     SensorsProcessing --> HulaProcessing
     SensorsRawAcclGyroEnable --> HulaRawAcclGyroEnable
     SensorsStepEnable --> HulaStepEnable
     SensorsTimePeriodMs --> HulaTimePeriodMs
     SensorsTurnEnable --> HulaTurnEnable
     SensorsTurnAngleMax --> HulaTurnAngleMax
     SensorsTurnAngleMin --> HulaTurnAngleMin
     SensorsTurnRateEnable --> HulaTurnRateEnable
     SensorsTurnSigma --> HulaTurnSigma
     SensorsType --> HulaSensorsType
     SensorsUsagePercent --> HulaUsagePercent
     SensorsUserStepSize --> HulaUserStepSize
     UserStepSize --> HulaUserStepSize
     SensorsAltEnable --> HulaAltEnable
     SensorsTimePeriodGyroMs --> HulaTimePeriodGyroMs
     SensorsTimePeriodAcclMs --> HulaTimePeriodAcclMs
     SensorsAcclInRunBiasCal --> HulaAcclInRunBiasCal
     SensorsEstBiasInWalking --> HulaEstBiasInWalking
     SensorsBaroLog --> HulaBaroLog
     SensorsBaroValidTimeMin --> HulaBaroValidTimeMin
     SensorsStart --> HulaStart
     SensorsLocation --> HulaLocation
     SensorsOrientationEnable --> HulaOrientationEnable
     SensorsUdpEnable --> HulaUdpEnable
     SensorsNavStepEnable --> HulaNavStepEnable
    
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines