Vote for internal modem only
Vote for internal modem only in power vote temporary fix until we process a .jsn file Change-Id: I732f920a0c18976b0f1323501e0e5541b11d5887 CRs-fixed: 2247589
This commit is contained in:
parent
dab99a6cb5
commit
745505e5be
3 changed files with 14 additions and 0 deletions
|
@ -71,6 +71,7 @@ const loc_param_s_type ContextBase::mGps_conf_table[] =
|
||||||
{"EXTERNAL_DR_ENABLED", &mGps_conf.EXTERNAL_DR_ENABLED, NULL, 'n'},
|
{"EXTERNAL_DR_ENABLED", &mGps_conf.EXTERNAL_DR_ENABLED, NULL, 'n'},
|
||||||
{"SUPL_HOST", &mGps_conf.SUPL_HOST, NULL, 's'},
|
{"SUPL_HOST", &mGps_conf.SUPL_HOST, NULL, 's'},
|
||||||
{"SUPL_PORT", &mGps_conf.SUPL_PORT, NULL, 'n'},
|
{"SUPL_PORT", &mGps_conf.SUPL_PORT, NULL, 'n'},
|
||||||
|
{"MODEM_TYPE", &mGps_conf.MODEM_TYPE, NULL, 'n' },
|
||||||
};
|
};
|
||||||
|
|
||||||
const loc_param_s_type ContextBase::mSap_conf_table[] =
|
const loc_param_s_type ContextBase::mSap_conf_table[] =
|
||||||
|
@ -122,6 +123,8 @@ void ContextBase::readConfig()
|
||||||
mGps_conf.LPPE_CP_TECHNOLOGY = 0;
|
mGps_conf.LPPE_CP_TECHNOLOGY = 0;
|
||||||
/* By default no LPPe UP technology is enabled*/
|
/* By default no LPPe UP technology is enabled*/
|
||||||
mGps_conf.LPPE_UP_TECHNOLOGY = 0;
|
mGps_conf.LPPE_UP_TECHNOLOGY = 0;
|
||||||
|
/* By default we use unknown modem type*/
|
||||||
|
mGps_conf.MODEM_TYPE = 2;
|
||||||
|
|
||||||
/*Defaults for sap.conf*/
|
/*Defaults for sap.conf*/
|
||||||
mSap_conf.GYRO_BIAS_RANDOM_WALK = 0;
|
mSap_conf.GYRO_BIAS_RANDOM_WALK = 0;
|
||||||
|
|
|
@ -67,6 +67,7 @@ typedef struct loc_gps_cfg_s
|
||||||
uint32_t EXTERNAL_DR_ENABLED;
|
uint32_t EXTERNAL_DR_ENABLED;
|
||||||
char SUPL_HOST[MAX_SUPL_SERVER_URL_LENGTH];
|
char SUPL_HOST[MAX_SUPL_SERVER_URL_LENGTH];
|
||||||
uint32_t SUPL_PORT;
|
uint32_t SUPL_PORT;
|
||||||
|
uint32_t MODEM_TYPE;
|
||||||
} loc_gps_cfg_s_type;
|
} loc_gps_cfg_s_type;
|
||||||
|
|
||||||
/* NOTE: the implementaiton of the parser casts number
|
/* NOTE: the implementaiton of the parser casts number
|
||||||
|
|
10
etc/gps.conf
10
etc/gps.conf
|
@ -229,3 +229,13 @@ PROPAGATION_TIME_UNCERTAINTY = 1
|
||||||
# INTERNET_IP_TYPE = 4
|
# INTERNET_IP_TYPE = 4
|
||||||
# SUPL_APN = abc.xyz
|
# SUPL_APN = abc.xyz
|
||||||
# SUPL_IP_TYPE = 4
|
# SUPL_IP_TYPE = 4
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# Modem type
|
||||||
|
#####################################
|
||||||
|
# This setting configures modem type
|
||||||
|
# (external=0 or internal=1)
|
||||||
|
# comment out the next line to vote
|
||||||
|
# for the first modem in the list
|
||||||
|
MODEM_TYPE = 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue