Adding Location Service Modem Emulator
Adding Modem Emulator to test features not yet supported in Modem build. Change-Id: I86f4eeaa7577d83c5ef9605c78672068721c020e CRs-Fixed: 2193247
This commit is contained in:
parent
56334a3791
commit
98125ae628
2 changed files with 17 additions and 2 deletions
|
@ -57,12 +57,14 @@
|
|||
/* Parameter data */
|
||||
static uint32_t DEBUG_LEVEL = 0xff;
|
||||
static uint32_t TIMESTAMP = 0;
|
||||
static uint32_t LOC_MODEM_EMULATOR = 0;
|
||||
|
||||
/* Parameter spec table */
|
||||
static const loc_param_s_type loc_param_table[] =
|
||||
{
|
||||
{"DEBUG_LEVEL", &DEBUG_LEVEL, NULL, 'n'},
|
||||
{"TIMESTAMP", &TIMESTAMP, NULL, 'n'},
|
||||
{"DEBUG_LEVEL", &DEBUG_LEVEL, NULL, 'n'},
|
||||
{"TIMESTAMP", &TIMESTAMP, NULL, 'n'},
|
||||
{"LOC_MODEM_EMULATOR", &LOC_MODEM_EMULATOR, NULL, 'n'},
|
||||
};
|
||||
static const int loc_param_num = sizeof(loc_param_table) / sizeof(loc_param_s_type);
|
||||
|
||||
|
@ -85,6 +87,17 @@ const char LOC_PATH_APDR_CONF[] = LOC_PATH_APDR_CONF_STR;
|
|||
const char LOC_PATH_XTWIFI_CONF[] = LOC_PATH_XTWIFI_CONF_STR;
|
||||
const char LOC_PATH_QUIPC_CONF[] = LOC_PATH_QUIPC_CONF_STR;
|
||||
|
||||
/*===========================================================================
|
||||
FUNCTION loc_modem_emulator_enabled
|
||||
|
||||
DESCRIPTION
|
||||
Provides access to Modem Emulator config item.
|
||||
===========================================================================*/
|
||||
uint32_t loc_modem_emulator_enabled()
|
||||
{
|
||||
return LOC_MODEM_EMULATOR;
|
||||
}
|
||||
|
||||
/*===========================================================================
|
||||
FUNCTION loc_set_config_entry
|
||||
|
||||
|
|
|
@ -133,6 +133,8 @@ extern const char LOC_PATH_QUIPC_CONF[];
|
|||
int loc_read_process_conf(const char* conf_file_name, uint32_t * process_count_ptr,
|
||||
loc_process_info_s_type** process_info_table_ptr);
|
||||
|
||||
uint32_t loc_modem_emulator_enabled();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue