From 660f21b54057678a04749811727ac00db3ba4790 Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Fri, 14 Dec 2012 19:55:45 -0800 Subject: [PATCH] loc api v02 update newer version to support dsds and RAT based cell info injections Change-Id: I490a928db7af37a266edbad1acba6e1f9f8aa186 --- loc_api/loc_api_v02/loc_api_v02_client.c | 32 +- loc_api/loc_api_v02/loc_api_v02_client.h | 8 + loc_api/loc_api_v02/loc_api_v02_log.c | 11 +- loc_api/loc_api_v02/location_service_v02.c | 773 ++++--- loc_api/loc_api_v02/location_service_v02.h | 2158 +++++++++++--------- 5 files changed, 1698 insertions(+), 1284 deletions(-) diff --git a/loc_api/loc_api_v02/loc_api_v02_client.c b/loc_api/loc_api_v02/loc_api_v02_client.c index e15cc003..882c5276 100644 --- a/loc_api/loc_api_v02/loc_api_v02_client.c +++ b/loc_api/loc_api_v02/loc_api_v02_client.c @@ -406,7 +406,16 @@ static locClientRespIndTableStructT locClientRespIndTable[]= { //Pedomete Report { QMI_LOC_PEDOMETER_REPORT_IND_V02, - sizeof(qmiLocPedometerReportIndMsgT_v02)} + sizeof(qmiLocPedometerReportIndMsgT_v02)}, + + { QMI_LOC_INJECT_WCDMA_CELL_INFO_IND_V02, + sizeof(qmiLocInjectWCDMACellInfoIndMsgT_v02)}, + + { QMI_LOC_INJECT_TDSCDMA_CELL_INFO_IND_V02, + sizeof(qmiLocInjectTDSCDMACellInfoIndMsgT_v02)}, + + { QMI_LOC_INJECT_SUBSCRIBER_ID_IND_V02, + sizeof(qmiLocInjectSubscriberIDIndMsgT_v02)} }; @@ -1056,6 +1065,9 @@ static bool locClientHandleIndication( case QMI_LOC_INJECT_GSM_CELL_INFO_IND_V02: case QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_IND_V02: case QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_IND_V02: + case QMI_LOC_INJECT_WCDMA_CELL_INFO_IND_V02: + case QMI_LOC_INJECT_TDSCDMA_CELL_INFO_IND_V02: + case QMI_LOC_INJECT_SUBSCRIBER_ID_IND_V02: { status = true; break; @@ -1599,6 +1611,24 @@ static bool validateRequest( break; } + case QMI_LOC_INJECT_WCDMA_CELL_INFO_REQ_V02: + { + *pOutLen = sizeof(qmiLocInjectWCDMACellInfoReqMsgT_v02); + break; + } + + case QMI_LOC_INJECT_TDSCDMA_CELL_INFO_REQ_V02: + { + *pOutLen = sizeof(qmiLocInjectTDSCDMACellInfoReqMsgT_v02); + break; + } + + case QMI_LOC_INJECT_SUBSCRIBER_ID_IND_V02: + { + *pOutLen = sizeof(qmiLocInjectSubscriberIDReqMsgT_v02); + break; + } + // ALL requests with no payload case QMI_LOC_GET_SERVICE_REVISION_REQ_V02: case QMI_LOC_GET_FIX_CRITERIA_REQ_V02: diff --git a/loc_api/loc_api_v02/loc_api_v02_client.h b/loc_api/loc_api_v02/loc_api_v02_client.h index 52a506ef..61816155 100644 --- a/loc_api/loc_api_v02/loc_api_v02_client.h +++ b/loc_api/loc_api_v02/loc_api_v02_client.h @@ -610,6 +610,10 @@ typedef union To send this request, set the reqId field in locClientSendReq() to QMI_LOC_PEDOMETER_REPORT_REQ_V02 */ + const qmiLocInjectWCDMACellInfoReqMsgT_v02 *pInjectWCDMACellInfoReq; + const qmiLocInjectTDSCDMACellInfoReqMsgT_v02 *pInjectTDSCDMACellInfoReq; + const qmiLocInjectSubscriberIDReqMsgT_v02 *pInjectSubscriberIDReq; + }locClientReqUnionType; @@ -1152,6 +1156,10 @@ typedef union The respIndId field in the response indication callback is set to QMI_LOC_PEDOMETER_REPORT_IND_V02. */ + const qmiLocInjectWCDMACellInfoIndMsgT_v02 *pInjectWCDMACellInfoInd; + const qmiLocInjectTDSCDMACellInfoIndMsgT_v02 *pInjectTDSCDMACellInfoInd; + const qmiLocInjectSubscriberIDIndMsgT_v02 *pInjectSubscriberIDInd; + }locClientRespIndUnionType; /** @} */ /* end_addtogroup data_types */ diff --git a/loc_api/loc_api_v02/loc_api_v02_log.c b/loc_api/loc_api_v02/loc_api_v02_log.c index 048be07b..769222b8 100644 --- a/loc_api/loc_api_v02/loc_api_v02_log.c +++ b/loc_api/loc_api_v02/loc_api_v02_log.c @@ -228,7 +228,16 @@ static loc_name_val_s_type loc_v02_event_name[] = NAME_VAL(QMI_LOC_EVENT_MOTION_DATA_CONTROL_IND_V02), NAME_VAL(QMI_LOC_PEDOMETER_REPORT_REQ_V02), NAME_VAL(QMI_LOC_PEDOMETER_REPORT_RESP_V02), - NAME_VAL(QMI_LOC_PEDOMETER_REPORT_IND_V02) + NAME_VAL(QMI_LOC_PEDOMETER_REPORT_IND_V02), + NAME_VAL(QMI_LOC_INJECT_WCDMA_CELL_INFO_REQ_V02), + NAME_VAL(QMI_LOC_INJECT_WCDMA_CELL_INFO_RESP_V02), + NAME_VAL(QMI_LOC_INJECT_WCDMA_CELL_INFO_IND_V02), + NAME_VAL(QMI_LOC_INJECT_TDSCDMA_CELL_INFO_REQ_V02), + NAME_VAL(QMI_LOC_INJECT_TDSCDMA_CELL_INFO_RESP_V02), + NAME_VAL(QMI_LOC_INJECT_TDSCDMA_CELL_INFO_IND_V02), + NAME_VAL(QMI_LOC_INJECT_SUBSCRIBER_ID_REQ_V02), + NAME_VAL(QMI_LOC_INJECT_SUBSCRIBER_ID_RESP_V02), + NAME_VAL(QMI_LOC_INJECT_SUBSCRIBER_ID_IND_V02) }; static int loc_v02_event_num = sizeof(loc_v02_event_name) / sizeof(loc_name_val_s_type); diff --git a/loc_api/loc_api_v02/location_service_v02.c b/loc_api/loc_api_v02/location_service_v02.c index eb60618d..c7ebd6db 100644 --- a/loc_api/loc_api_v02/location_service_v02.c +++ b/loc_api/loc_api_v02/location_service_v02.c @@ -26,12 +26,13 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* - *THIS IS AN AUTO GENERATED FILE. DO NOT ALTER IN ANY WAY +/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* + *THIS IS AN AUTO GENERATED FILE. DO NOT ALTER IN ANY WAY *====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/ -/* This file was generated with Tool version 5.6 - It was generated on: Fri Oct 26 2012 +/* This file was generated with Tool version 6.0 + It requires encode/decode library version 5 or later + It was generated on: Thu Dec 13 2012 (Spin ) From IDL File: location_service_v02.idl */ #include "stdint.h" @@ -332,6 +333,14 @@ static const uint8_t qmiLocNiSuplVer2ExtStructT_data_v02[] = { QMI_IDL_FLAG_END_VALUE }; +static const uint8_t qmiLocEmergencyNotificationStructT_data_v02[] = { + QMI_IDL_FLAGS_IS_ARRAY | QMI_IDL_FLAGS_IS_VARIABLE_LEN |QMI_IDL_STRING, + QMI_IDL_OFFSET8(qmiLocEmergencyNotificationStructT_v02, eslpUrl), + QMI_LOC_MAX_SERVER_ADDR_LENGTH_V02, + + QMI_IDL_FLAG_END_VALUE +}; + static const uint8_t qmiLocAssistanceServerUrlStructT_data_v02[] = { QMI_IDL_FLAGS_IS_ARRAY | QMI_IDL_FLAGS_IS_VARIABLE_LEN |QMI_IDL_STRING, QMI_IDL_OFFSET8(qmiLocAssistanceServerUrlStructT_v02, serverUrl), @@ -348,7 +357,7 @@ static const uint8_t qmiLocTimeServerListStructT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocTimeServerListStructT_v02, timeServerList), QMI_LOC_MAX_NTP_SERVERS_V02, QMI_IDL_OFFSET8(qmiLocTimeServerListStructT_v02, timeServerList) - QMI_IDL_OFFSET8(qmiLocTimeServerListStructT_v02, timeServerList_len), - 16, 0, + 17, 0, QMI_IDL_FLAG_END_VALUE }; @@ -367,7 +376,7 @@ static const uint8_t qmiLocPredictedOrbitsServerListStructT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocPredictedOrbitsServerListStructT_v02, serverList), QMI_LOC_MAX_PREDICTED_ORBITS_SERVERS_V02, QMI_IDL_OFFSET8(qmiLocPredictedOrbitsServerListStructT_v02, serverList) - QMI_IDL_OFFSET8(qmiLocPredictedOrbitsServerListStructT_v02, serverList_len), - 16, 0, + 17, 0, QMI_IDL_FLAG_END_VALUE }; @@ -387,7 +396,7 @@ static const uint8_t qmiLocSensorReadyStatusStructT_data_v02[] = { QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSensorReadyStatusStructT_v02, dataFrequency), - 20, 0, + 21, 0, QMI_IDL_FLAG_END_VALUE }; @@ -549,7 +558,32 @@ static const uint8_t qmiLoc3AxisSensorSampleListStructT_data_v02[] = { QMI_IDL_OFFSET8(qmiLoc3AxisSensorSampleListStructT_v02, sensorData), QMI_LOC_SENSOR_DATA_MAX_SAMPLES_V02, QMI_IDL_OFFSET8(qmiLoc3AxisSensorSampleListStructT_v02, sensorData) - QMI_IDL_OFFSET8(qmiLoc3AxisSensorSampleListStructT_v02, sensorData_len), - 29, 0, + 30, 0, + QMI_IDL_FLAG_END_VALUE +}; + +static const uint8_t qmiLocSensorTemperatureSampleStructT_data_v02[] = { + QMI_IDL_GENERIC_2_BYTE, + QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleStructT_v02, timeOffset), + + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleStructT_v02, temperature), + + QMI_IDL_FLAG_END_VALUE +}; + +static const uint8_t qmiLocSensorTemperatureSampleListStructT_data_v02[] = { + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleListStructT_v02, timeSource), + + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleListStructT_v02, timeOfFirstSample), + + QMI_IDL_FLAGS_IS_ARRAY | QMI_IDL_FLAGS_IS_VARIABLE_LEN | QMI_IDL_AGGREGATE, + QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleListStructT_v02, temperatureData), + QMI_LOC_SENSOR_DATA_MAX_SAMPLES_V02, + QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleListStructT_v02, temperatureData) - QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleListStructT_v02, temperatureData_len), + 32, 0, QMI_IDL_FLAG_END_VALUE }; @@ -612,36 +646,32 @@ static const uint8_t qmiLocGSMCellIdStructT_data_v02[] = { QMI_IDL_FLAG_END_VALUE }; -static const uint8_t qmiLocEmergencyNotificationStructT_data_v02[] = { - QMI_IDL_FLAGS_IS_ARRAY | QMI_IDL_FLAGS_IS_VARIABLE_LEN |QMI_IDL_STRING, - QMI_IDL_OFFSET8(qmiLocEmergencyNotificationStructT_v02, eslpUrl), - QMI_LOC_MAX_SERVER_ADDR_LENGTH_V02, +static const uint8_t qmiLocWCDMACellIdStructT_data_v02[] = { + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocWCDMACellIdStructT_v02, mcc), + + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocWCDMACellIdStructT_v02, mnc), + + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocWCDMACellIdStructT_v02, cid), QMI_IDL_FLAG_END_VALUE }; -static const uint8_t qmiLocSensorTemperatureSampleStructT_data_v02[] = { - QMI_IDL_GENERIC_2_BYTE, - QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleStructT_v02, timeOffset), +static const uint8_t qmiLocTDSCDMACellIdStructT_data_v02[] = { + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocTDSCDMACellIdStructT_v02, mcc), QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleStructT_v02, temperature), - - QMI_IDL_FLAG_END_VALUE -}; - -static const uint8_t qmiLocSensorTemperatureSampleListStructT_data_v02[] = { - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleListStructT_v02, timeSource), + QMI_IDL_OFFSET8(qmiLocTDSCDMACellIdStructT_v02, mnc), QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleListStructT_v02, timeOfFirstSample), + QMI_IDL_OFFSET8(qmiLocTDSCDMACellIdStructT_v02, cid), + + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocTDSCDMACellIdStructT_v02, lac), - QMI_IDL_FLAGS_IS_ARRAY | QMI_IDL_FLAGS_IS_VARIABLE_LEN | QMI_IDL_AGGREGATE, - QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleListStructT_v02, temperatureData), - QMI_LOC_SENSOR_DATA_MAX_SAMPLES_V02, - QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleListStructT_v02, temperatureData) - QMI_IDL_OFFSET8(qmiLocSensorTemperatureSampleListStructT_v02, temperatureData_len), - 36, 0, QMI_IDL_FLAG_END_VALUE }; @@ -923,7 +953,7 @@ static const uint8_t qmiLocEventNiNotifyVerifyReqIndMsgT_data_v02[] = { 0x15, QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_AGGREGATE, QMI_IDL_OFFSET16ARRAY(qmiLocEventNiNotifyVerifyReqIndMsgT_v02, suplEmergencyNotification), - 35, 0 + 16, 0 }; static const uint8_t qmiLocEventInjectTimeReqIndMsgT_data_v02[] = { @@ -931,20 +961,20 @@ static const uint8_t qmiLocEventInjectTimeReqIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventInjectTimeReqIndMsgT_v02, timeServerInfo), - 17, 0 + 18, 0 }; static const uint8_t qmiLocEventInjectPredictedOrbitsReqIndMsgT_data_v02[] = { 0x01, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventInjectPredictedOrbitsReqIndMsgT_v02, allowedSizes), - 18, 0, + 19, 0, QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocEventInjectPredictedOrbitsReqIndMsgT_v02, serverList) - QMI_IDL_OFFSET8(qmiLocEventInjectPredictedOrbitsReqIndMsgT_v02, serverList_valid)), 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventInjectPredictedOrbitsReqIndMsgT_v02, serverList), - 19, 0 + 20, 0 }; static const uint8_t qmiLocEventInjectPositionReqIndMsgT_data_v02[] = { @@ -998,25 +1028,25 @@ static const uint8_t qmiLocEventSensorStreamingReadyStatusIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, accelReady), - 21, 0, + 22, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, gyroReady) - QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, gyroReady_valid)), 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, gyroReady), - 21, 0, + 22, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, accelTemperatureReady) - QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, accelTemperatureReady_valid)), 0x12, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, accelTemperatureReady), - 21, 0, + 22, 0, QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, gyroTemperatureReady) - QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, gyroTemperatureReady_valid)), 0x13, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, gyroTemperatureReady), - 21, 0 + 22, 0 }; static const uint8_t qmiLocEventTimeSyncReqIndMsgT_data_v02[] = { @@ -1074,15 +1104,37 @@ static const uint8_t qmiLocEventGeofenceBreachIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventGeofenceBreachIndMsgT_v02, geofencePosition), - 22, 0 + 23, 0 }; -/* +static const uint8_t qmiLocEventPedometerControlIndMsgT_data_v02[] = { + 0x01, + QMI_IDL_GENERIC_1_BYTE, + QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, requestPedometerData), + + QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, resetStepCount) - QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, resetStepCount_valid)), + 0x10, + QMI_IDL_GENERIC_1_BYTE, + QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, resetStepCount), + + QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, stepCountThreshold) - QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, stepCountThreshold_valid)), + 0x11, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, stepCountThreshold) +}; + +static const uint8_t qmiLocEventMotionDataControlIndMsgT_data_v02[] = { + QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, + QMI_IDL_GENERIC_1_BYTE, + QMI_IDL_OFFSET8(qmiLocEventMotionDataControlIndMsgT_v02, requestMotionData) +}; + +/* * qmiLocGetServiceRevisionReqMsgT is empty * static const uint8_t qmiLocGetServiceRevisionReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetServiceRevisionIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1111,12 +1163,12 @@ static const uint8_t qmiLocGetServiceRevisionIndMsgT_data_v02[] = { QMI_LOC_GNSS_SW_VERSION_STRING_MAX_LENGTH_V02 }; -/* +/* * qmiLocGetFixCriteriaReqMsgT is empty * static const uint8_t qmiLocGetFixCriteriaReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetFixCriteriaIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1187,7 +1239,7 @@ static const uint8_t qmiLocNiUserRespReqMsgT_data_v02[] = { 0x15, QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_AGGREGATE, QMI_IDL_OFFSET16ARRAY(qmiLocNiUserRespReqMsgT_v02, suplEmergencyNotification), - 35, 0 + 16, 0 }; static const uint8_t qmiLocNiUserRespIndMsgT_data_v02[] = { @@ -1232,12 +1284,12 @@ static const uint8_t qmiLocInjectPredictedOrbitsDataIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocInjectPredictedOrbitsDataIndMsgT_v02, partNum) }; -/* +/* * qmiLocGetPredictedOrbitsDataSourceReqMsgT is empty * static const uint8_t qmiLocGetPredictedOrbitsDataSourceReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetPredictedOrbitsDataSourceIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1247,21 +1299,21 @@ static const uint8_t qmiLocGetPredictedOrbitsDataSourceIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetPredictedOrbitsDataSourceIndMsgT_v02, allowedSizes), - 18, 0, + 19, 0, QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocGetPredictedOrbitsDataSourceIndMsgT_v02, serverList) - QMI_IDL_OFFSET8(qmiLocGetPredictedOrbitsDataSourceIndMsgT_v02, serverList_valid)), 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetPredictedOrbitsDataSourceIndMsgT_v02, serverList), - 19, 0 + 20, 0 }; -/* +/* * qmiLocGetPredictedOrbitsDataValidityReqMsgT is empty * static const uint8_t qmiLocGetPredictedOrbitsDataValidityReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetPredictedOrbitsDataValidityIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1271,7 +1323,7 @@ static const uint8_t qmiLocGetPredictedOrbitsDataValidityIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetPredictedOrbitsDataValidityIndMsgT_v02, validityInfo), - 23, 0 + 24, 0 }; static const uint8_t qmiLocInjectUtcTimeReqMsgT_data_v02[] = { @@ -1345,7 +1397,7 @@ static const uint8_t qmiLocInjectPositionReqMsgT_data_v02[] = { 0x1A, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectPositionReqMsgT_v02, altSourceInfo), - 24, 0, + 25, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectPositionReqMsgT_v02, timestampUtc) - QMI_IDL_OFFSET8(qmiLocInjectPositionReqMsgT_v02, timestampUtc_valid)), 0x1B, @@ -1381,12 +1433,12 @@ static const uint8_t qmiLocSetEngineLockIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocSetEngineLockIndMsgT_v02, status) }; -/* +/* * qmiLocGetEngineLockReqMsgT is empty * static const uint8_t qmiLocGetEngineLockReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetEngineLockIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1410,12 +1462,12 @@ static const uint8_t qmiLocSetSbasConfigIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocSetSbasConfigIndMsgT_v02, status) }; -/* +/* * qmiLocGetSbasConfigReqMsgT is empty * static const uint8_t qmiLocGetSbasConfigReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetSbasConfigIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1439,12 +1491,12 @@ static const uint8_t qmiLocSetNmeaTypesIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocSetNmeaTypesIndMsgT_v02, status) }; -/* +/* * qmiLocGetNmeaTypesReqMsgT is empty * static const uint8_t qmiLocGetNmeaTypesReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetNmeaTypesIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1468,12 +1520,12 @@ static const uint8_t qmiLocSetLowPowerModeIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocSetLowPowerModeIndMsgT_v02, status) }; -/* +/* * qmiLocGetLowPowerModeReqMsgT is empty * static const uint8_t qmiLocGetLowPowerModeReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetLowPowerModeIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1565,7 +1617,7 @@ static const uint8_t qmiLocDeleteAssistDataReqMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocDeleteAssistDataReqMsgT_v02, deleteSvInfoList), QMI_LOC_DELETE_MAX_SV_INFO_LENGTH_V02, QMI_IDL_OFFSET8(qmiLocDeleteAssistDataReqMsgT_v02, deleteSvInfoList) - QMI_IDL_OFFSET8(qmiLocDeleteAssistDataReqMsgT_v02, deleteSvInfoList_len), - 25, 0, + 26, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocDeleteAssistDataReqMsgT_v02, deleteGnssDataMask) - QMI_IDL_OFFSET16RELATIVE(qmiLocDeleteAssistDataReqMsgT_v02, deleteGnssDataMask_valid)), 0x11, @@ -1601,12 +1653,12 @@ static const uint8_t qmiLocSetXtraTSessionControlIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocSetXtraTSessionControlIndMsgT_v02, status) }; -/* +/* * qmiLocGetXtraTSessionControlReqMsgT is empty * static const uint8_t qmiLocGetXtraTSessionControlReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetXtraTSessionControlIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1623,13 +1675,13 @@ static const uint8_t qmiLocInjectWifiPositionReqMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, wifiFixTime), - 26, 0, + 27, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, wifiFixPosition) - QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, wifiFixPosition_valid)), 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, wifiFixPosition), - 27, 0, + 28, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, apInfo) - QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, apInfo_valid)), 0x12, @@ -1637,7 +1689,7 @@ static const uint8_t qmiLocInjectWifiPositionReqMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, apInfo), QMI_LOC_WIFI_MAX_REPORTED_APS_PER_MSG_V02, QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, apInfo) - QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, apInfo_len), - 28, 0, + 29, 0, QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocInjectWifiPositionReqMsgT_v02, horizontalReliability) - QMI_IDL_OFFSET16RELATIVE(qmiLocInjectWifiPositionReqMsgT_v02, horizontalReliability_valid)), 0x13, @@ -1663,12 +1715,12 @@ static const uint8_t qmiLocNotifyWifiStatusIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocNotifyWifiStatusIndMsgT_v02, status) }; -/* +/* * qmiLocGetRegisteredEventsReqMsgT is empty * static const uint8_t qmiLocGetRegisteredEventsReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetRegisteredEventsIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1692,12 +1744,12 @@ static const uint8_t qmiLocSetOperationModeIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocSetOperationModeIndMsgT_v02, status) }; -/* +/* * qmiLocGetOperationModeReqMsgT is empty * static const uint8_t qmiLocGetOperationModeReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetOperationModeIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1736,13 +1788,13 @@ static const uint8_t qmiLocInjectSensorDataReqMsgT_data_v02[] = { 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectSensorDataReqMsgT_v02, threeAxisAccelData), - 30, 0, + 31, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocInjectSensorDataReqMsgT_v02, threeAxisGyroData) - QMI_IDL_OFFSET16RELATIVE(qmiLocInjectSensorDataReqMsgT_v02, threeAxisGyroData_valid)), 0x12, QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_AGGREGATE, QMI_IDL_OFFSET16ARRAY(qmiLocInjectSensorDataReqMsgT_v02, threeAxisGyroData), - 30, 0, + 31, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocInjectSensorDataReqMsgT_v02, threeAxisAccelDataTimeSource) - QMI_IDL_OFFSET16RELATIVE(qmiLocInjectSensorDataReqMsgT_v02, threeAxisAccelDataTimeSource_valid)), 0x13, @@ -1758,13 +1810,13 @@ static const uint8_t qmiLocInjectSensorDataReqMsgT_data_v02[] = { 0x15, QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_AGGREGATE, QMI_IDL_OFFSET16ARRAY(qmiLocInjectSensorDataReqMsgT_v02, accelTemperatureData), - 37, 0, + 33, 0, QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocInjectSensorDataReqMsgT_v02, gyroTemperatureData) - QMI_IDL_OFFSET16RELATIVE(qmiLocInjectSensorDataReqMsgT_v02, gyroTemperatureData_valid)), 0x16, QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_AGGREGATE, QMI_IDL_OFFSET16ARRAY(qmiLocInjectSensorDataReqMsgT_v02, gyroTemperatureData), - 37, 0 + 33, 0 }; static const uint8_t qmiLocInjectSensorDataIndMsgT_data_v02[] = { @@ -1818,12 +1870,12 @@ static const uint8_t qmiLocInjectTimeSyncDataIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocInjectTimeSyncDataIndMsgT_v02, status) }; -/* +/* * qmiLocGetCradleMountConfigReqMsgT is empty * static const uint8_t qmiLocGetCradleMountConfigReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetCradleMountConfigIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1857,12 +1909,12 @@ static const uint8_t qmiLocSetCradleMountConfigIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocSetCradleMountConfigIndMsgT_v02, status) }; -/* +/* * qmiLocGetExternalPowerConfigReqMsgT is empty * static const uint8_t qmiLocGetExternalPowerConfigReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetExternalPowerConfigIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1903,7 +1955,7 @@ static const uint8_t qmiLocInformLocationServerConnStatusReqMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInformLocationServerConnStatusReqMsgT_v02, apnProfile), - 31, 0 + 34, 0 }; static const uint8_t qmiLocInformLocationServerConnStatusIndMsgT_data_v02[] = { @@ -2030,12 +2082,12 @@ static const uint8_t qmiLocSetSensorControlConfigIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocSetSensorControlConfigIndMsgT_v02, status) }; -/* +/* * qmiLocGetSensorControlConfigReqMsgT is empty * static const uint8_t qmiLocGetSensorControlConfigReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetSensorControlConfigIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -2132,13 +2184,13 @@ static const uint8_t qmiLocSetSensorPerformanceControlConfigReqMsgT_data_v02[] = 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, accelSamplingSpec), - 20, 0, + 21, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, gyroSamplingSpec) - QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, gyroSamplingSpec_valid)), 0x12, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, gyroSamplingSpec), - 20, 0, + 21, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, algorithmConfig) - QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, algorithmConfig_valid)), 0x13, @@ -2149,13 +2201,13 @@ static const uint8_t qmiLocSetSensorPerformanceControlConfigReqMsgT_data_v02[] = 0x14, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, accelSamplingSpecHigh), - 20, 0, + 21, 0, QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, gyroSamplingSpecHigh) - QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, gyroSamplingSpecHigh_valid)), 0x15, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, gyroSamplingSpecHigh), - 20, 0 + 21, 0 }; static const uint8_t qmiLocSetSensorPerformanceControlConfigIndMsgT_data_v02[] = { @@ -2169,12 +2221,12 @@ static const uint8_t qmiLocSetSensorPerformanceControlConfigIndMsgT_data_v02[] = QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigIndMsgT_v02, failedConfiguration) }; -/* +/* * qmiLocGetSensorPerformanceControlConfigReqMsgT is empty * static const uint8_t qmiLocGetSensorPerformanceControlConfigReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetSensorPerformanceControlConfigIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -2189,13 +2241,13 @@ static const uint8_t qmiLocGetSensorPerformanceControlConfigIndMsgT_data_v02[] = 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, accelSamplingSpec), - 20, 0, + 21, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, gyroSamplingSpec) - QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, gyroSamplingSpec_valid)), 0x12, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, gyroSamplingSpec), - 20, 0, + 21, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, algorithmConfig) - QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, algorithmConfig_valid)), 0x13, @@ -2206,13 +2258,13 @@ static const uint8_t qmiLocGetSensorPerformanceControlConfigIndMsgT_data_v02[] = 0x14, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, accelSamplingSpecHigh), - 20, 0, + 21, 0, QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, gyroSamplingSpecHigh) - QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, gyroSamplingSpecHigh_valid)), 0x15, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, gyroSamplingSpecHigh), - 20, 0 + 21, 0 }; static const uint8_t qmiLocInjectSuplCertificateReqMsgT_data_v02[] = { @@ -2309,7 +2361,7 @@ static const uint8_t qmiLocAddCircularGeofenceReqMsgT_data_v02[] = { 0x02, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocAddCircularGeofenceReqMsgT_v02, circularGeofenceArgs), - 32, 0, + 35, 0, 0x03, QMI_IDL_GENERIC_1_BYTE, @@ -2411,7 +2463,7 @@ static const uint8_t qmiLocQueryGeofenceIndMsgT_data_v02[] = { 0x14, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocQueryGeofenceIndMsgT_v02, circularGeofenceArgs), - 32, 0, + 35, 0, QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocQueryGeofenceIndMsgT_v02, geofenceState) - QMI_IDL_OFFSET8(qmiLocQueryGeofenceIndMsgT_v02, geofenceState_valid)), 0x15, @@ -2631,7 +2683,7 @@ static const uint8_t qmiLocInjectMotionDataReqMsgT_data_v02[] = { QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectMotionDataReqMsgT_v02, motion_data), - 33, 0 + 36, 0 }; static const uint8_t qmiLocInjectMotionDataIndMsgT_data_v02[] = { @@ -2668,11 +2720,16 @@ static const uint8_t qmiLocInjectGSMCellInfoReqMsgT_data_v02[] = { 0x01, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoReqMsgT_v02, gsmCellId), - 34, 0, + 37, 0, - QMI_IDL_TLV_FLAGS_LAST_TLV | 0x02, + 0x02, QMI_IDL_GENERIC_1_BYTE, - QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoReqMsgT_v02, roamingStatus) + QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoReqMsgT_v02, roamingStatus), + + QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoReqMsgT_v02, timingAdvance) - QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoReqMsgT_v02, timingAdvance_valid)), + 0x10, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoReqMsgT_v02, timingAdvance) }; static const uint8_t qmiLocInjectGSMCellInfoIndMsgT_data_v02[] = { @@ -2681,6 +2738,73 @@ static const uint8_t qmiLocInjectGSMCellInfoIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoIndMsgT_v02, status) }; +static const uint8_t qmiLocInjectWCDMACellInfoReqMsgT_data_v02[] = { + 0x01, + QMI_IDL_AGGREGATE, + QMI_IDL_OFFSET8(qmiLocInjectWCDMACellInfoReqMsgT_v02, wcdmaCellId), + 38, 0, + + 0x02, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectWCDMACellInfoReqMsgT_v02, roamingStatus), + + QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectWCDMACellInfoReqMsgT_v02, freq) - QMI_IDL_OFFSET8(qmiLocInjectWCDMACellInfoReqMsgT_v02, freq_valid)), + 0x10, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectWCDMACellInfoReqMsgT_v02, freq), + + QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectWCDMACellInfoReqMsgT_v02, psc) - QMI_IDL_OFFSET8(qmiLocInjectWCDMACellInfoReqMsgT_v02, psc_valid)), + 0x11, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectWCDMACellInfoReqMsgT_v02, psc) +}; + +static const uint8_t qmiLocInjectWCDMACellInfoIndMsgT_data_v02[] = { + QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectWCDMACellInfoIndMsgT_v02, status) +}; + +static const uint8_t qmiLocInjectTDSCDMACellInfoReqMsgT_data_v02[] = { + 0x01, + QMI_IDL_AGGREGATE, + QMI_IDL_OFFSET8(qmiLocInjectTDSCDMACellInfoReqMsgT_v02, tdscdmaCellId), + 39, 0, + + 0x02, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectTDSCDMACellInfoReqMsgT_v02, roamingStatus), + + QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectTDSCDMACellInfoReqMsgT_v02, freq) - QMI_IDL_OFFSET8(qmiLocInjectTDSCDMACellInfoReqMsgT_v02, freq_valid)), + 0x10, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectTDSCDMACellInfoReqMsgT_v02, freq) +}; + +static const uint8_t qmiLocInjectTDSCDMACellInfoIndMsgT_data_v02[] = { + QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectTDSCDMACellInfoIndMsgT_v02, status) +}; + +static const uint8_t qmiLocInjectSubscriberIDReqMsgT_data_v02[] = { + QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectSubscriberIDReqMsgT_v02, preferredIMSI) - QMI_IDL_OFFSET8(qmiLocInjectSubscriberIDReqMsgT_v02, preferredIMSI_valid)), + 0x10, + QMI_IDL_GENERIC_8_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectSubscriberIDReqMsgT_v02, preferredIMSI), + + QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectSubscriberIDReqMsgT_v02, preferredMSISDN) - QMI_IDL_OFFSET8(qmiLocInjectSubscriberIDReqMsgT_v02, preferredMSISDN_valid)), + 0x11, + QMI_IDL_GENERIC_8_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectSubscriberIDReqMsgT_v02, preferredMSISDN) +}; + +static const uint8_t qmiLocInjectSubscriberIDIndMsgT_data_v02[] = { + QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectSubscriberIDIndMsgT_v02, status) +}; + static const uint8_t qmiLocInjectNetworkInitiatedMessageReqMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -2699,40 +2823,18 @@ static const uint8_t qmiLocInjectNetworkInitiatedMessageIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocInjectNetworkInitiatedMessageIndMsgT_v02, status) }; -/* +/* * qmiLocWWANOutOfServiceNotificationReqMsgT is empty * static const uint8_t qmiLocWWANOutOfServiceNotificationReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocWWANOutOfServiceNotificationIndMsgT_data_v02[] = { QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, QMI_IDL_GENERIC_4_BYTE, QMI_IDL_OFFSET8(qmiLocWWANOutOfServiceNotificationIndMsgT_v02, status) }; -static const uint8_t qmiLocEventPedometerControlIndMsgT_data_v02[] = { - 0x01, - QMI_IDL_GENERIC_1_BYTE, - QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, requestPedometerData), - - QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, resetStepCount) - QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, resetStepCount_valid)), - 0x10, - QMI_IDL_GENERIC_1_BYTE, - QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, resetStepCount), - - QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, stepCountThreshold) - QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, stepCountThreshold_valid)), - 0x11, - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocEventPedometerControlIndMsgT_v02, stepCountThreshold) -}; - -static const uint8_t qmiLocEventMotionDataControlIndMsgT_data_v02[] = { - QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, - QMI_IDL_GENERIC_1_BYTE, - QMI_IDL_OFFSET8(qmiLocEventMotionDataControlIndMsgT_v02, requestMotionData) -}; - static const uint8_t qmiLocPedometerReportReqMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -2790,6 +2892,7 @@ static const qmi_idl_type_table_entry loc_type_table_v02[] = { {sizeof(qmiLocNiUmtsCpNotifyVerifyStructT_v02), qmiLocNiUmtsCpNotifyVerifyStructT_data_v02}, {sizeof(qmiLocNiVxServiceInteractionStructT_v02), qmiLocNiVxServiceInteractionStructT_data_v02}, {sizeof(qmiLocNiSuplVer2ExtStructT_v02), qmiLocNiSuplVer2ExtStructT_data_v02}, + {sizeof(qmiLocEmergencyNotificationStructT_v02), qmiLocEmergencyNotificationStructT_data_v02}, {sizeof(qmiLocAssistanceServerUrlStructT_v02), qmiLocAssistanceServerUrlStructT_data_v02}, {sizeof(qmiLocTimeServerListStructT_v02), qmiLocTimeServerListStructT_data_v02}, {sizeof(qmiLocPredictedOrbitsAllowedSizesStructT_v02), qmiLocPredictedOrbitsAllowedSizesStructT_data_v02}, @@ -2805,13 +2908,14 @@ static const qmi_idl_type_table_entry loc_type_table_v02[] = { {sizeof(qmiLocWifiApInfoStructT_v02), qmiLocWifiApInfoStructT_data_v02}, {sizeof(qmiLoc3AxisSensorSampleStructT_v02), qmiLoc3AxisSensorSampleStructT_data_v02}, {sizeof(qmiLoc3AxisSensorSampleListStructT_v02), qmiLoc3AxisSensorSampleListStructT_data_v02}, + {sizeof(qmiLocSensorTemperatureSampleStructT_v02), qmiLocSensorTemperatureSampleStructT_data_v02}, + {sizeof(qmiLocSensorTemperatureSampleListStructT_v02), qmiLocSensorTemperatureSampleListStructT_data_v02}, {sizeof(qmiLocApnProfilesStructT_v02), qmiLocApnProfilesStructT_data_v02}, {sizeof(qmiLocCircularGeofenceArgsStructT_v02), qmiLocCircularGeofenceArgsStructT_data_v02}, {sizeof(qmiLocMotionDataStructT_v02), qmiLocMotionDataStructT_data_v02}, {sizeof(qmiLocGSMCellIdStructT_v02), qmiLocGSMCellIdStructT_data_v02}, - {sizeof(qmiLocEmergencyNotificationStructT_v02), qmiLocEmergencyNotificationStructT_data_v02}, - {sizeof(qmiLocSensorTemperatureSampleStructT_v02), qmiLocSensorTemperatureSampleStructT_data_v02}, - {sizeof(qmiLocSensorTemperatureSampleListStructT_v02), qmiLocSensorTemperatureSampleListStructT_data_v02} + {sizeof(qmiLocWCDMACellIdStructT_v02), qmiLocWCDMACellIdStructT_data_v02}, + {sizeof(qmiLocTDSCDMACellIdStructT_v02), qmiLocTDSCDMACellIdStructT_data_v02} }; /* Message Table */ @@ -2838,6 +2942,8 @@ static const qmi_idl_message_table_entry loc_message_table_v02[] = { {sizeof(qmiLocEventNiGeofenceNotificationIndMsgT_v02), qmiLocEventNiGeofenceNotificationIndMsgT_data_v02}, {sizeof(qmiLocEventGeofenceGenAlertIndMsgT_v02), qmiLocEventGeofenceGenAlertIndMsgT_data_v02}, {sizeof(qmiLocEventGeofenceBreachIndMsgT_v02), qmiLocEventGeofenceBreachIndMsgT_data_v02}, + {sizeof(qmiLocEventPedometerControlIndMsgT_v02), qmiLocEventPedometerControlIndMsgT_data_v02}, + {sizeof(qmiLocEventMotionDataControlIndMsgT_v02), qmiLocEventMotionDataControlIndMsgT_data_v02}, {0, 0}, {sizeof(qmiLocGetServiceRevisionIndMsgT_v02), qmiLocGetServiceRevisionIndMsgT_data_v02}, {0, 0}, @@ -2946,12 +3052,16 @@ static const qmi_idl_message_table_entry loc_message_table_v02[] = { {sizeof(qmiLocGetNiGeofenceIdListIndMsgT_v02), qmiLocGetNiGeofenceIdListIndMsgT_data_v02}, {sizeof(qmiLocInjectGSMCellInfoReqMsgT_v02), qmiLocInjectGSMCellInfoReqMsgT_data_v02}, {sizeof(qmiLocInjectGSMCellInfoIndMsgT_v02), qmiLocInjectGSMCellInfoIndMsgT_data_v02}, + {sizeof(qmiLocInjectWCDMACellInfoReqMsgT_v02), qmiLocInjectWCDMACellInfoReqMsgT_data_v02}, + {sizeof(qmiLocInjectWCDMACellInfoIndMsgT_v02), qmiLocInjectWCDMACellInfoIndMsgT_data_v02}, + {sizeof(qmiLocInjectTDSCDMACellInfoReqMsgT_v02), qmiLocInjectTDSCDMACellInfoReqMsgT_data_v02}, + {sizeof(qmiLocInjectTDSCDMACellInfoIndMsgT_v02), qmiLocInjectTDSCDMACellInfoIndMsgT_data_v02}, + {sizeof(qmiLocInjectSubscriberIDReqMsgT_v02), qmiLocInjectSubscriberIDReqMsgT_data_v02}, + {sizeof(qmiLocInjectSubscriberIDIndMsgT_v02), qmiLocInjectSubscriberIDIndMsgT_data_v02}, {sizeof(qmiLocInjectNetworkInitiatedMessageReqMsgT_v02), qmiLocInjectNetworkInitiatedMessageReqMsgT_data_v02}, {sizeof(qmiLocInjectNetworkInitiatedMessageIndMsgT_v02), qmiLocInjectNetworkInitiatedMessageIndMsgT_data_v02}, {0, 0}, {sizeof(qmiLocWWANOutOfServiceNotificationIndMsgT_v02), qmiLocWWANOutOfServiceNotificationIndMsgT_data_v02}, - {sizeof(qmiLocEventPedometerControlIndMsgT_v02), qmiLocEventPedometerControlIndMsgT_data_v02}, - {sizeof(qmiLocEventMotionDataControlIndMsgT_v02), qmiLocEventMotionDataControlIndMsgT_data_v02}, {sizeof(qmiLocPedometerReportReqMsgT_v02), qmiLocPedometerReportReqMsgT_data_v02}, {sizeof(qmiLocPedometerReportIndMsgT_v02), qmiLocPedometerReportIndMsgT_data_v02} }; @@ -2975,210 +3085,219 @@ static const qmi_idl_type_table_object loc_qmi_idl_type_table_object_v02 = { /*Arrays of service_message_table_entries for commands, responses and indications*/ static const qmi_idl_service_message_table_entry loc_service_command_messages_v02[] = { - {QMI_LOC_INFORM_CLIENT_REVISION_REQ_V02, TYPE16(0, 1), 7}, - {QMI_LOC_REG_EVENTS_REQ_V02, TYPE16(0, 2), 11}, - {QMI_LOC_START_REQ_V02, TYPE16(0, 3), 103}, - {QMI_LOC_STOP_REQ_V02, TYPE16(0, 4), 4}, - {QMI_LOC_GET_SERVICE_REVISION_REQ_V02, TYPE16(0, 22), 0}, - {QMI_LOC_GET_FIX_CRITERIA_REQ_V02, TYPE16(0, 24), 0}, - {QMI_LOC_NI_USER_RESPONSE_REQ_V02, TYPE16(0, 26), 1345}, - {QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_REQ_V02, TYPE16(0, 28), 1053}, - {QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_REQ_V02, TYPE16(0, 30), 0}, - {QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_REQ_V02, TYPE16(0, 32), 0}, - {QMI_LOC_INJECT_UTC_TIME_REQ_V02, TYPE16(0, 34), 18}, - {QMI_LOC_INJECT_POSITION_REQ_V02, TYPE16(0, 36), 112}, - {QMI_LOC_SET_ENGINE_LOCK_REQ_V02, TYPE16(0, 38), 7}, - {QMI_LOC_GET_ENGINE_LOCK_REQ_V02, TYPE16(0, 40), 0}, - {QMI_LOC_SET_SBAS_CONFIG_REQ_V02, TYPE16(0, 42), 4}, - {QMI_LOC_GET_SBAS_CONFIG_REQ_V02, TYPE16(0, 44), 0}, - {QMI_LOC_SET_NMEA_TYPES_REQ_V02, TYPE16(0, 46), 7}, - {QMI_LOC_GET_NMEA_TYPES_REQ_V02, TYPE16(0, 48), 0}, - {QMI_LOC_SET_LOW_POWER_MODE_REQ_V02, TYPE16(0, 50), 4}, - {QMI_LOC_GET_LOW_POWER_MODE_REQ_V02, TYPE16(0, 52), 0}, - {QMI_LOC_SET_SERVER_REQ_V02, TYPE16(0, 54), 297}, - {QMI_LOC_GET_SERVER_REQ_V02, TYPE16(0, 56), 11}, - {QMI_LOC_DELETE_ASSIST_DATA_REQ_V02, TYPE16(0, 58), 929}, - {QMI_LOC_SET_XTRA_T_SESSION_CONTROL_REQ_V02, TYPE16(0, 60), 4}, - {QMI_LOC_GET_XTRA_T_SESSION_CONTROL_REQ_V02, TYPE16(0, 62), 0}, - {QMI_LOC_INJECT_WIFI_POSITION_REQ_V02, TYPE16(0, 64), 694}, - {QMI_LOC_NOTIFY_WIFI_STATUS_REQ_V02, TYPE16(0, 66), 7}, - {QMI_LOC_GET_REGISTERED_EVENTS_REQ_V02, TYPE16(0, 68), 0}, - {QMI_LOC_SET_OPERATION_MODE_REQ_V02, TYPE16(0, 70), 7}, - {QMI_LOC_GET_OPERATION_MODE_REQ_V02, TYPE16(0, 72), 0}, - {QMI_LOC_SET_SPI_STATUS_REQ_V02, TYPE16(0, 74), 8}, - {QMI_LOC_INJECT_SENSOR_DATA_REQ_V02, TYPE16(0, 76), 2063}, - {QMI_LOC_INJECT_TIME_SYNC_DATA_REQ_V02, TYPE16(0, 78), 21}, - {QMI_LOC_SET_CRADLE_MOUNT_CONFIG_REQ_V02, TYPE16(0, 82), 11}, - {QMI_LOC_GET_CRADLE_MOUNT_CONFIG_REQ_V02, TYPE16(0, 80), 0}, - {QMI_LOC_SET_EXTERNAL_POWER_CONFIG_REQ_V02, TYPE16(0, 86), 7}, - {QMI_LOC_GET_EXTERNAL_POWER_CONFIG_REQ_V02, TYPE16(0, 84), 0}, - {QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02, TYPE16(0, 88), 129}, - {QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02, TYPE16(0, 90), 53}, - {QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02, TYPE16(0, 92), 11}, - {QMI_LOC_SET_SENSOR_CONTROL_CONFIG_REQ_V02, TYPE16(0, 94), 7}, - {QMI_LOC_GET_SENSOR_CONTROL_CONFIG_REQ_V02, TYPE16(0, 96), 0}, - {QMI_LOC_SET_SENSOR_PROPERTIES_REQ_V02, TYPE16(0, 98), 35}, - {QMI_LOC_GET_SENSOR_PROPERTIES_REQ_V02, TYPE16(0, 100), 7}, - {QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02, TYPE16(0, 102), 42}, - {QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02, TYPE16(0, 104), 0}, - {QMI_LOC_INJECT_SUPL_CERTIFICATE_REQ_V02, TYPE16(0, 106), 2009}, - {QMI_LOC_DELETE_SUPL_CERTIFICATE_REQ_V02, TYPE16(0, 108), 4}, - {QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02, TYPE16(0, 110), 12}, - {QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02, TYPE16(0, 112), 7}, - {QMI_LOC_ADD_CIRCULAR_GEOFENCE_REQ_V02, TYPE16(0, 114), 52}, - {QMI_LOC_DELETE_GEOFENCE_REQ_V02, TYPE16(0, 116), 14}, - {QMI_LOC_QUERY_GEOFENCE_REQ_V02, TYPE16(0, 118), 14}, - {QMI_LOC_EDIT_GEOFENCE_REQ_V02, TYPE16(0, 120), 25}, - {QMI_LOC_GET_BEST_AVAILABLE_POSITION_REQ_V02, TYPE16(0, 122), 7}, - {QMI_LOC_INJECT_MOTION_DATA_REQ_V02, TYPE16(0, 124), 19}, - {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_REQ_V02, TYPE16(0, 126), 7}, - {QMI_LOC_INJECT_GSM_CELL_INFO_REQ_V02, TYPE16(0, 128), 23}, - {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_REQ_V02, TYPE16(0, 130), 1036}, - {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_REQ_V02, TYPE16(0, 132), 0}, - {QMI_LOC_PEDOMETER_REPORT_REQ_V02, TYPE16(0, 136), 46} + {QMI_LOC_INFORM_CLIENT_REVISION_REQ_V02, QMI_IDL_TYPE16(0, 1), 7}, + {QMI_LOC_REG_EVENTS_REQ_V02, QMI_IDL_TYPE16(0, 2), 11}, + {QMI_LOC_START_REQ_V02, QMI_IDL_TYPE16(0, 3), 103}, + {QMI_LOC_STOP_REQ_V02, QMI_IDL_TYPE16(0, 4), 4}, + {QMI_LOC_GET_SERVICE_REVISION_REQ_V02, QMI_IDL_TYPE16(0, 24), 0}, + {QMI_LOC_GET_FIX_CRITERIA_REQ_V02, QMI_IDL_TYPE16(0, 26), 0}, + {QMI_LOC_NI_USER_RESPONSE_REQ_V02, QMI_IDL_TYPE16(0, 28), 1345}, + {QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_REQ_V02, QMI_IDL_TYPE16(0, 30), 1053}, + {QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_REQ_V02, QMI_IDL_TYPE16(0, 32), 0}, + {QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_REQ_V02, QMI_IDL_TYPE16(0, 34), 0}, + {QMI_LOC_INJECT_UTC_TIME_REQ_V02, QMI_IDL_TYPE16(0, 36), 18}, + {QMI_LOC_INJECT_POSITION_REQ_V02, QMI_IDL_TYPE16(0, 38), 112}, + {QMI_LOC_SET_ENGINE_LOCK_REQ_V02, QMI_IDL_TYPE16(0, 40), 7}, + {QMI_LOC_GET_ENGINE_LOCK_REQ_V02, QMI_IDL_TYPE16(0, 42), 0}, + {QMI_LOC_SET_SBAS_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 44), 4}, + {QMI_LOC_GET_SBAS_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 46), 0}, + {QMI_LOC_SET_NMEA_TYPES_REQ_V02, QMI_IDL_TYPE16(0, 48), 7}, + {QMI_LOC_GET_NMEA_TYPES_REQ_V02, QMI_IDL_TYPE16(0, 50), 0}, + {QMI_LOC_SET_LOW_POWER_MODE_REQ_V02, QMI_IDL_TYPE16(0, 52), 4}, + {QMI_LOC_GET_LOW_POWER_MODE_REQ_V02, QMI_IDL_TYPE16(0, 54), 0}, + {QMI_LOC_SET_SERVER_REQ_V02, QMI_IDL_TYPE16(0, 56), 297}, + {QMI_LOC_GET_SERVER_REQ_V02, QMI_IDL_TYPE16(0, 58), 11}, + {QMI_LOC_DELETE_ASSIST_DATA_REQ_V02, QMI_IDL_TYPE16(0, 60), 929}, + {QMI_LOC_SET_XTRA_T_SESSION_CONTROL_REQ_V02, QMI_IDL_TYPE16(0, 62), 4}, + {QMI_LOC_GET_XTRA_T_SESSION_CONTROL_REQ_V02, QMI_IDL_TYPE16(0, 64), 0}, + {QMI_LOC_INJECT_WIFI_POSITION_REQ_V02, QMI_IDL_TYPE16(0, 66), 694}, + {QMI_LOC_NOTIFY_WIFI_STATUS_REQ_V02, QMI_IDL_TYPE16(0, 68), 7}, + {QMI_LOC_GET_REGISTERED_EVENTS_REQ_V02, QMI_IDL_TYPE16(0, 70), 0}, + {QMI_LOC_SET_OPERATION_MODE_REQ_V02, QMI_IDL_TYPE16(0, 72), 7}, + {QMI_LOC_GET_OPERATION_MODE_REQ_V02, QMI_IDL_TYPE16(0, 74), 0}, + {QMI_LOC_SET_SPI_STATUS_REQ_V02, QMI_IDL_TYPE16(0, 76), 8}, + {QMI_LOC_INJECT_SENSOR_DATA_REQ_V02, QMI_IDL_TYPE16(0, 78), 2063}, + {QMI_LOC_INJECT_TIME_SYNC_DATA_REQ_V02, QMI_IDL_TYPE16(0, 80), 21}, + {QMI_LOC_SET_CRADLE_MOUNT_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 84), 11}, + {QMI_LOC_GET_CRADLE_MOUNT_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 82), 0}, + {QMI_LOC_SET_EXTERNAL_POWER_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 88), 7}, + {QMI_LOC_GET_EXTERNAL_POWER_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 86), 0}, + {QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02, QMI_IDL_TYPE16(0, 90), 129}, + {QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02, QMI_IDL_TYPE16(0, 92), 53}, + {QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02, QMI_IDL_TYPE16(0, 94), 11}, + {QMI_LOC_SET_SENSOR_CONTROL_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 96), 7}, + {QMI_LOC_GET_SENSOR_CONTROL_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 98), 0}, + {QMI_LOC_SET_SENSOR_PROPERTIES_REQ_V02, QMI_IDL_TYPE16(0, 100), 35}, + {QMI_LOC_GET_SENSOR_PROPERTIES_REQ_V02, QMI_IDL_TYPE16(0, 102), 7}, + {QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02, QMI_IDL_TYPE16(0, 104), 42}, + {QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02, QMI_IDL_TYPE16(0, 106), 0}, + {QMI_LOC_INJECT_SUPL_CERTIFICATE_REQ_V02, QMI_IDL_TYPE16(0, 108), 2009}, + {QMI_LOC_DELETE_SUPL_CERTIFICATE_REQ_V02, QMI_IDL_TYPE16(0, 110), 4}, + {QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02, QMI_IDL_TYPE16(0, 112), 12}, + {QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02, QMI_IDL_TYPE16(0, 114), 7}, + {QMI_LOC_ADD_CIRCULAR_GEOFENCE_REQ_V02, QMI_IDL_TYPE16(0, 116), 52}, + {QMI_LOC_DELETE_GEOFENCE_REQ_V02, QMI_IDL_TYPE16(0, 118), 14}, + {QMI_LOC_QUERY_GEOFENCE_REQ_V02, QMI_IDL_TYPE16(0, 120), 14}, + {QMI_LOC_EDIT_GEOFENCE_REQ_V02, QMI_IDL_TYPE16(0, 122), 25}, + {QMI_LOC_GET_BEST_AVAILABLE_POSITION_REQ_V02, QMI_IDL_TYPE16(0, 124), 7}, + {QMI_LOC_INJECT_MOTION_DATA_REQ_V02, QMI_IDL_TYPE16(0, 126), 19}, + {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_REQ_V02, QMI_IDL_TYPE16(0, 128), 7}, + {QMI_LOC_INJECT_GSM_CELL_INFO_REQ_V02, QMI_IDL_TYPE16(0, 130), 30}, + {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_REQ_V02, QMI_IDL_TYPE16(0, 138), 1036}, + {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_REQ_V02, QMI_IDL_TYPE16(0, 140), 0}, + {QMI_LOC_PEDOMETER_REPORT_REQ_V02, QMI_IDL_TYPE16(0, 142), 46}, + {QMI_LOC_INJECT_WCDMA_CELL_INFO_REQ_V02, QMI_IDL_TYPE16(0, 132), 36}, + {QMI_LOC_INJECT_TDSCDMA_CELL_INFO_REQ_V02, QMI_IDL_TYPE16(0, 134), 33}, + {QMI_LOC_INJECT_SUBSCRIBER_ID_REQ_V02, QMI_IDL_TYPE16(0, 136), 22} }; static const qmi_idl_service_message_table_entry loc_service_response_messages_v02[] = { - {QMI_LOC_INFORM_CLIENT_REVISION_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_REG_EVENTS_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_START_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_STOP_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_SERVICE_REVISION_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_FIX_CRITERIA_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_NI_USER_RESPONSE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INJECT_UTC_TIME_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INJECT_POSITION_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_ENGINE_LOCK_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_ENGINE_LOCK_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_SBAS_CONFIG_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_SBAS_CONFIG_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_NMEA_TYPES_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_NMEA_TYPES_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_LOW_POWER_MODE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_LOW_POWER_MODE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_SERVER_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_SERVER_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_DELETE_ASSIST_DATA_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_XTRA_T_SESSION_CONTROL_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_XTRA_T_SESSION_CONTROL_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INJECT_WIFI_POSITION_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_NOTIFY_WIFI_STATUS_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_REGISTERED_EVENTS_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_OPERATION_MODE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_OPERATION_MODE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_SPI_STATUS_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INJECT_SENSOR_DATA_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INJECT_TIME_SYNC_DATA_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_CRADLE_MOUNT_CONFIG_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_CRADLE_MOUNT_CONFIG_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_EXTERNAL_POWER_CONFIG_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_EXTERNAL_POWER_CONFIG_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_SENSOR_CONTROL_CONFIG_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_SENSOR_CONTROL_CONFIG_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_SENSOR_PROPERTIES_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_SENSOR_PROPERTIES_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INJECT_SUPL_CERTIFICATE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_DELETE_SUPL_CERTIFICATE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_ADD_CIRCULAR_GEOFENCE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_DELETE_GEOFENCE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_QUERY_GEOFENCE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_EDIT_GEOFENCE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_BEST_AVAILABLE_POSITION_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INJECT_MOTION_DATA_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INJECT_GSM_CELL_INFO_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_PEDOMETER_REPORT_RESP_V02, TYPE16(0, 0), 7} + {QMI_LOC_INFORM_CLIENT_REVISION_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_REG_EVENTS_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_START_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_STOP_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_SERVICE_REVISION_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_FIX_CRITERIA_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_NI_USER_RESPONSE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_UTC_TIME_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_POSITION_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_ENGINE_LOCK_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_ENGINE_LOCK_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_SBAS_CONFIG_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_SBAS_CONFIG_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_NMEA_TYPES_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_NMEA_TYPES_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_LOW_POWER_MODE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_LOW_POWER_MODE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_SERVER_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_SERVER_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_DELETE_ASSIST_DATA_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_XTRA_T_SESSION_CONTROL_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_XTRA_T_SESSION_CONTROL_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_WIFI_POSITION_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_NOTIFY_WIFI_STATUS_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_REGISTERED_EVENTS_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_OPERATION_MODE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_OPERATION_MODE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_SPI_STATUS_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_SENSOR_DATA_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_TIME_SYNC_DATA_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_CRADLE_MOUNT_CONFIG_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_CRADLE_MOUNT_CONFIG_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_EXTERNAL_POWER_CONFIG_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_EXTERNAL_POWER_CONFIG_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_SENSOR_CONTROL_CONFIG_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_SENSOR_CONTROL_CONFIG_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_SENSOR_PROPERTIES_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_SENSOR_PROPERTIES_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_SUPL_CERTIFICATE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_DELETE_SUPL_CERTIFICATE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_ADD_CIRCULAR_GEOFENCE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_DELETE_GEOFENCE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_QUERY_GEOFENCE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_EDIT_GEOFENCE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_BEST_AVAILABLE_POSITION_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_MOTION_DATA_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_GSM_CELL_INFO_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_PEDOMETER_REPORT_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_WCDMA_CELL_INFO_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_TDSCDMA_CELL_INFO_RESP_V02, QMI_IDL_TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_SUBSCRIBER_ID_RESP_V02, QMI_IDL_TYPE16(0, 0), 7} }; static const qmi_idl_service_message_table_entry loc_service_indication_messages_v02[] = { - {QMI_LOC_EVENT_POSITION_REPORT_IND_V02, TYPE16(0, 5), 388}, - {QMI_LOC_EVENT_GNSS_SV_INFO_IND_V02, TYPE16(0, 6), 2248}, - {QMI_LOC_EVENT_NMEA_IND_V02, TYPE16(0, 7), 203}, - {QMI_LOC_EVENT_NI_NOTIFY_VERIFY_REQ_IND_V02, TYPE16(0, 8), 1338}, - {QMI_LOC_EVENT_INJECT_TIME_REQ_IND_V02, TYPE16(0, 9), 776}, - {QMI_LOC_EVENT_INJECT_PREDICTED_ORBITS_REQ_IND_V02, TYPE16(0, 10), 783}, - {QMI_LOC_EVENT_INJECT_POSITION_REQ_IND_V02, TYPE16(0, 11), 40}, - {QMI_LOC_EVENT_ENGINE_STATE_IND_V02, TYPE16(0, 12), 7}, - {QMI_LOC_EVENT_FIX_SESSION_STATE_IND_V02, TYPE16(0, 13), 11}, - {QMI_LOC_EVENT_WIFI_REQ_IND_V02, TYPE16(0, 14), 12}, - {QMI_LOC_EVENT_SENSOR_STREAMING_READY_STATUS_IND_V02, TYPE16(0, 15), 32}, - {QMI_LOC_EVENT_TIME_SYNC_REQ_IND_V02, TYPE16(0, 16), 7}, - {QMI_LOC_EVENT_SET_SPI_STREAMING_REPORT_IND_V02, TYPE16(0, 17), 4}, - {QMI_LOC_EVENT_LOCATION_SERVER_CONNECTION_REQ_IND_V02, TYPE16(0, 18), 21}, - {QMI_LOC_GET_SERVICE_REVISION_IND_V02, TYPE16(0, 23), 532}, - {QMI_LOC_GET_FIX_CRITERIA_IND_V02, TYPE16(0, 25), 99}, - {QMI_LOC_NI_USER_RESPONSE_IND_V02, TYPE16(0, 27), 7}, - {QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_IND_V02, TYPE16(0, 29), 12}, - {QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_IND_V02, TYPE16(0, 31), 790}, - {QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_IND_V02, TYPE16(0, 33), 20}, - {QMI_LOC_INJECT_UTC_TIME_IND_V02, TYPE16(0, 35), 7}, - {QMI_LOC_INJECT_POSITION_IND_V02, TYPE16(0, 37), 7}, - {QMI_LOC_SET_ENGINE_LOCK_IND_V02, TYPE16(0, 39), 7}, - {QMI_LOC_GET_ENGINE_LOCK_IND_V02, TYPE16(0, 41), 14}, - {QMI_LOC_SET_SBAS_CONFIG_IND_V02, TYPE16(0, 43), 7}, - {QMI_LOC_GET_SBAS_CONFIG_IND_V02, TYPE16(0, 45), 11}, - {QMI_LOC_SET_NMEA_TYPES_IND_V02, TYPE16(0, 47), 7}, - {QMI_LOC_GET_NMEA_TYPES_IND_V02, TYPE16(0, 49), 14}, - {QMI_LOC_SET_LOW_POWER_MODE_IND_V02, TYPE16(0, 51), 7}, - {QMI_LOC_GET_LOW_POWER_MODE_IND_V02, TYPE16(0, 53), 11}, - {QMI_LOC_SET_SERVER_IND_V02, TYPE16(0, 55), 7}, - {QMI_LOC_GET_SERVER_IND_V02, TYPE16(0, 57), 304}, - {QMI_LOC_DELETE_ASSIST_DATA_IND_V02, TYPE16(0, 59), 7}, - {QMI_LOC_SET_XTRA_T_SESSION_CONTROL_IND_V02, TYPE16(0, 61), 7}, - {QMI_LOC_GET_XTRA_T_SESSION_CONTROL_IND_V02, TYPE16(0, 63), 11}, - {QMI_LOC_INJECT_WIFI_POSITION_IND_V02, TYPE16(0, 65), 7}, - {QMI_LOC_NOTIFY_WIFI_STATUS_IND_V02, TYPE16(0, 67), 7}, - {QMI_LOC_GET_REGISTERED_EVENTS_IND_V02, TYPE16(0, 69), 18}, - {QMI_LOC_SET_OPERATION_MODE_IND_V02, TYPE16(0, 71), 7}, - {QMI_LOC_GET_OPERATION_MODE_IND_V02, TYPE16(0, 73), 14}, - {QMI_LOC_SET_SPI_STATUS_IND_V02, TYPE16(0, 75), 7}, - {QMI_LOC_INJECT_SENSOR_DATA_IND_V02, TYPE16(0, 77), 30}, - {QMI_LOC_INJECT_TIME_SYNC_DATA_IND_V02, TYPE16(0, 79), 7}, - {QMI_LOC_SET_CRADLE_MOUNT_CONFIG_IND_V02, TYPE16(0, 83), 7}, - {QMI_LOC_GET_CRADLE_MOUNT_CONFIG_IND_V02, TYPE16(0, 81), 18}, - {QMI_LOC_SET_EXTERNAL_POWER_CONFIG_IND_V02, TYPE16(0, 87), 7}, - {QMI_LOC_GET_EXTERNAL_POWER_CONFIG_IND_V02, TYPE16(0, 85), 14}, - {QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_IND_V02, TYPE16(0, 89), 7}, - {QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_IND_V02, TYPE16(0, 91), 18}, - {QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_IND_V02, TYPE16(0, 93), 60}, - {QMI_LOC_SET_SENSOR_CONTROL_CONFIG_IND_V02, TYPE16(0, 95), 7}, - {QMI_LOC_GET_SENSOR_CONTROL_CONFIG_IND_V02, TYPE16(0, 97), 14}, - {QMI_LOC_SET_SENSOR_PROPERTIES_IND_V02, TYPE16(0, 99), 14}, - {QMI_LOC_GET_SENSOR_PROPERTIES_IND_V02, TYPE16(0, 101), 42}, - {QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02, TYPE16(0, 103), 14}, - {QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02, TYPE16(0, 105), 49}, - {QMI_LOC_INJECT_SUPL_CERTIFICATE_IND_V02, TYPE16(0, 107), 7}, - {QMI_LOC_DELETE_SUPL_CERTIFICATE_IND_V02, TYPE16(0, 109), 7}, - {QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02, TYPE16(0, 111), 14}, - {QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02, TYPE16(0, 113), 19}, - {QMI_LOC_EVENT_NI_GEOFENCE_NOTIFICATION_IND_V02, TYPE16(0, 19), 14}, - {QMI_LOC_EVENT_GEOFENCE_GEN_ALERT_IND_V02, TYPE16(0, 20), 7}, - {QMI_LOC_EVENT_GEOFENCE_BREACH_NOTIFICATION_IND_V02, TYPE16(0, 21), 78}, - {QMI_LOC_ADD_CIRCULAR_GEOFENCE_IND_V02, TYPE16(0, 115), 21}, - {QMI_LOC_DELETE_GEOFENCE_IND_V02, TYPE16(0, 117), 21}, - {QMI_LOC_QUERY_GEOFENCE_IND_V02, TYPE16(0, 119), 65}, - {QMI_LOC_EDIT_GEOFENCE_IND_V02, TYPE16(0, 121), 28}, - {QMI_LOC_GET_BEST_AVAILABLE_POSITION_IND_V02, TYPE16(0, 123), 391}, - {QMI_LOC_INJECT_MOTION_DATA_IND_V02, TYPE16(0, 125), 7}, - {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_IND_V02, TYPE16(0, 127), 82}, - {QMI_LOC_INJECT_GSM_CELL_INFO_IND_V02, TYPE16(0, 129), 7}, - {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_IND_V02, TYPE16(0, 131), 7}, - {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_IND_V02, TYPE16(0, 133), 7}, - {QMI_LOC_EVENT_PEDOMETER_CONTROL_IND_V02, TYPE16(0, 134), 15}, - {QMI_LOC_EVENT_MOTION_DATA_CONTROL_IND_V02, TYPE16(0, 135), 4}, - {QMI_LOC_PEDOMETER_REPORT_IND_V02, TYPE16(0, 137), 7} + {QMI_LOC_EVENT_POSITION_REPORT_IND_V02, QMI_IDL_TYPE16(0, 5), 388}, + {QMI_LOC_EVENT_GNSS_SV_INFO_IND_V02, QMI_IDL_TYPE16(0, 6), 2248}, + {QMI_LOC_EVENT_NMEA_IND_V02, QMI_IDL_TYPE16(0, 7), 203}, + {QMI_LOC_EVENT_NI_NOTIFY_VERIFY_REQ_IND_V02, QMI_IDL_TYPE16(0, 8), 1338}, + {QMI_LOC_EVENT_INJECT_TIME_REQ_IND_V02, QMI_IDL_TYPE16(0, 9), 776}, + {QMI_LOC_EVENT_INJECT_PREDICTED_ORBITS_REQ_IND_V02, QMI_IDL_TYPE16(0, 10), 783}, + {QMI_LOC_EVENT_INJECT_POSITION_REQ_IND_V02, QMI_IDL_TYPE16(0, 11), 40}, + {QMI_LOC_EVENT_ENGINE_STATE_IND_V02, QMI_IDL_TYPE16(0, 12), 7}, + {QMI_LOC_EVENT_FIX_SESSION_STATE_IND_V02, QMI_IDL_TYPE16(0, 13), 11}, + {QMI_LOC_EVENT_WIFI_REQ_IND_V02, QMI_IDL_TYPE16(0, 14), 12}, + {QMI_LOC_EVENT_SENSOR_STREAMING_READY_STATUS_IND_V02, QMI_IDL_TYPE16(0, 15), 32}, + {QMI_LOC_EVENT_TIME_SYNC_REQ_IND_V02, QMI_IDL_TYPE16(0, 16), 7}, + {QMI_LOC_EVENT_SET_SPI_STREAMING_REPORT_IND_V02, QMI_IDL_TYPE16(0, 17), 4}, + {QMI_LOC_EVENT_LOCATION_SERVER_CONNECTION_REQ_IND_V02, QMI_IDL_TYPE16(0, 18), 21}, + {QMI_LOC_GET_SERVICE_REVISION_IND_V02, QMI_IDL_TYPE16(0, 25), 532}, + {QMI_LOC_GET_FIX_CRITERIA_IND_V02, QMI_IDL_TYPE16(0, 27), 99}, + {QMI_LOC_NI_USER_RESPONSE_IND_V02, QMI_IDL_TYPE16(0, 29), 7}, + {QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_IND_V02, QMI_IDL_TYPE16(0, 31), 12}, + {QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_IND_V02, QMI_IDL_TYPE16(0, 33), 790}, + {QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_IND_V02, QMI_IDL_TYPE16(0, 35), 20}, + {QMI_LOC_INJECT_UTC_TIME_IND_V02, QMI_IDL_TYPE16(0, 37), 7}, + {QMI_LOC_INJECT_POSITION_IND_V02, QMI_IDL_TYPE16(0, 39), 7}, + {QMI_LOC_SET_ENGINE_LOCK_IND_V02, QMI_IDL_TYPE16(0, 41), 7}, + {QMI_LOC_GET_ENGINE_LOCK_IND_V02, QMI_IDL_TYPE16(0, 43), 14}, + {QMI_LOC_SET_SBAS_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 45), 7}, + {QMI_LOC_GET_SBAS_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 47), 11}, + {QMI_LOC_SET_NMEA_TYPES_IND_V02, QMI_IDL_TYPE16(0, 49), 7}, + {QMI_LOC_GET_NMEA_TYPES_IND_V02, QMI_IDL_TYPE16(0, 51), 14}, + {QMI_LOC_SET_LOW_POWER_MODE_IND_V02, QMI_IDL_TYPE16(0, 53), 7}, + {QMI_LOC_GET_LOW_POWER_MODE_IND_V02, QMI_IDL_TYPE16(0, 55), 11}, + {QMI_LOC_SET_SERVER_IND_V02, QMI_IDL_TYPE16(0, 57), 7}, + {QMI_LOC_GET_SERVER_IND_V02, QMI_IDL_TYPE16(0, 59), 304}, + {QMI_LOC_DELETE_ASSIST_DATA_IND_V02, QMI_IDL_TYPE16(0, 61), 7}, + {QMI_LOC_SET_XTRA_T_SESSION_CONTROL_IND_V02, QMI_IDL_TYPE16(0, 63), 7}, + {QMI_LOC_GET_XTRA_T_SESSION_CONTROL_IND_V02, QMI_IDL_TYPE16(0, 65), 11}, + {QMI_LOC_INJECT_WIFI_POSITION_IND_V02, QMI_IDL_TYPE16(0, 67), 7}, + {QMI_LOC_NOTIFY_WIFI_STATUS_IND_V02, QMI_IDL_TYPE16(0, 69), 7}, + {QMI_LOC_GET_REGISTERED_EVENTS_IND_V02, QMI_IDL_TYPE16(0, 71), 18}, + {QMI_LOC_SET_OPERATION_MODE_IND_V02, QMI_IDL_TYPE16(0, 73), 7}, + {QMI_LOC_GET_OPERATION_MODE_IND_V02, QMI_IDL_TYPE16(0, 75), 14}, + {QMI_LOC_SET_SPI_STATUS_IND_V02, QMI_IDL_TYPE16(0, 77), 7}, + {QMI_LOC_INJECT_SENSOR_DATA_IND_V02, QMI_IDL_TYPE16(0, 79), 30}, + {QMI_LOC_INJECT_TIME_SYNC_DATA_IND_V02, QMI_IDL_TYPE16(0, 81), 7}, + {QMI_LOC_SET_CRADLE_MOUNT_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 85), 7}, + {QMI_LOC_GET_CRADLE_MOUNT_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 83), 18}, + {QMI_LOC_SET_EXTERNAL_POWER_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 89), 7}, + {QMI_LOC_GET_EXTERNAL_POWER_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 87), 14}, + {QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_IND_V02, QMI_IDL_TYPE16(0, 91), 7}, + {QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_IND_V02, QMI_IDL_TYPE16(0, 93), 18}, + {QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_IND_V02, QMI_IDL_TYPE16(0, 95), 60}, + {QMI_LOC_SET_SENSOR_CONTROL_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 97), 7}, + {QMI_LOC_GET_SENSOR_CONTROL_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 99), 14}, + {QMI_LOC_SET_SENSOR_PROPERTIES_IND_V02, QMI_IDL_TYPE16(0, 101), 14}, + {QMI_LOC_GET_SENSOR_PROPERTIES_IND_V02, QMI_IDL_TYPE16(0, 103), 42}, + {QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02, QMI_IDL_TYPE16(0, 105), 14}, + {QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02, QMI_IDL_TYPE16(0, 107), 49}, + {QMI_LOC_INJECT_SUPL_CERTIFICATE_IND_V02, QMI_IDL_TYPE16(0, 109), 7}, + {QMI_LOC_DELETE_SUPL_CERTIFICATE_IND_V02, QMI_IDL_TYPE16(0, 111), 7}, + {QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02, QMI_IDL_TYPE16(0, 113), 14}, + {QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02, QMI_IDL_TYPE16(0, 115), 19}, + {QMI_LOC_EVENT_NI_GEOFENCE_NOTIFICATION_IND_V02, QMI_IDL_TYPE16(0, 19), 14}, + {QMI_LOC_EVENT_GEOFENCE_GEN_ALERT_IND_V02, QMI_IDL_TYPE16(0, 20), 7}, + {QMI_LOC_EVENT_GEOFENCE_BREACH_NOTIFICATION_IND_V02, QMI_IDL_TYPE16(0, 21), 78}, + {QMI_LOC_ADD_CIRCULAR_GEOFENCE_IND_V02, QMI_IDL_TYPE16(0, 117), 21}, + {QMI_LOC_DELETE_GEOFENCE_IND_V02, QMI_IDL_TYPE16(0, 119), 21}, + {QMI_LOC_QUERY_GEOFENCE_IND_V02, QMI_IDL_TYPE16(0, 121), 65}, + {QMI_LOC_EDIT_GEOFENCE_IND_V02, QMI_IDL_TYPE16(0, 123), 28}, + {QMI_LOC_GET_BEST_AVAILABLE_POSITION_IND_V02, QMI_IDL_TYPE16(0, 125), 391}, + {QMI_LOC_INJECT_MOTION_DATA_IND_V02, QMI_IDL_TYPE16(0, 127), 7}, + {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_IND_V02, QMI_IDL_TYPE16(0, 129), 82}, + {QMI_LOC_INJECT_GSM_CELL_INFO_IND_V02, QMI_IDL_TYPE16(0, 131), 7}, + {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_IND_V02, QMI_IDL_TYPE16(0, 139), 7}, + {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_IND_V02, QMI_IDL_TYPE16(0, 141), 7}, + {QMI_LOC_EVENT_PEDOMETER_CONTROL_IND_V02, QMI_IDL_TYPE16(0, 22), 15}, + {QMI_LOC_EVENT_MOTION_DATA_CONTROL_IND_V02, QMI_IDL_TYPE16(0, 23), 4}, + {QMI_LOC_PEDOMETER_REPORT_IND_V02, QMI_IDL_TYPE16(0, 143), 7}, + {QMI_LOC_INJECT_WCDMA_CELL_INFO_IND_V02, QMI_IDL_TYPE16(0, 133), 7}, + {QMI_LOC_INJECT_TDSCDMA_CELL_INFO_IND_V02, QMI_IDL_TYPE16(0, 135), 7}, + {QMI_LOC_INJECT_SUBSCRIBER_ID_IND_V02, QMI_IDL_TYPE16(0, 137), 7} }; /*Service Object*/ @@ -3192,18 +3311,18 @@ struct qmi_idl_service_object loc_qmi_idl_service_object_v02 = { sizeof(loc_service_indication_messages_v02)/sizeof(qmi_idl_service_message_table_entry) }, { loc_service_command_messages_v02, loc_service_response_messages_v02, loc_service_indication_messages_v02}, &loc_qmi_idl_type_table_object_v02, - 0x11, + 0x12, NULL }; /* Service Object Accessor */ qmi_idl_service_object_type loc_get_service_object_internal_v02 ( int32_t idl_maj_version, int32_t idl_min_version, int32_t library_version ){ - if ( LOC_V02_IDL_MAJOR_VERS != idl_maj_version || LOC_V02_IDL_MINOR_VERS != idl_min_version - || LOC_V02_IDL_TOOL_VERS != library_version) + if ( LOC_V02_IDL_MAJOR_VERS != idl_maj_version || LOC_V02_IDL_MINOR_VERS != idl_min_version + || LOC_V02_IDL_TOOL_VERS != library_version) { return NULL; - } + } return (qmi_idl_service_object_type)&loc_qmi_idl_service_object_v02; } diff --git a/loc_api/loc_api_v02/location_service_v02.h b/loc_api/loc_api_v02/location_service_v02.h index 8dc63e72..57f7c746 100644 --- a/loc_api/loc_api_v02/location_service_v02.h +++ b/loc_api/loc_api_v02/location_service_v02.h @@ -30,42 +30,43 @@ #define LOC_SERVICE_H /** @file location_service_v02.h - + @brief This is the public header file which defines the loc service Data structures. - This header file defines the types and structures that were defined in + This header file defines the types and structures that were defined in loc. It contains the constant values defined, enums, structures, - messages, and service message IDs (in that order) Structures that were - defined in the IDL as messages contain mandatory elements, optional - elements, a combination of mandatory and optional elements (mandatory + messages, and service message IDs (in that order) Structures that were + defined in the IDL as messages contain mandatory elements, optional + elements, a combination of mandatory and optional elements (mandatory always come before optionals in the structure), or nothing (null message) - + An optional element in a message is preceded by a uint8_t value that must be set to true if the element is going to be included. When decoding a received message, the uint8_t values will be set to true or false by the decode routine, and should be checked before accessing the values that they - correspond to. - + correspond to. + Variable sized arrays are defined as static sized arrays with an unsigned integer (32 bit) preceding it that must be set to the number of elements in the array that are valid. For Example: - + uint32_t test_opaque_len; uint8_t test_opaque[16]; - + If only 4 elements are added to test_opaque[] then test_opaque_len must be - set to 4 before sending the message. When decoding, the _len value is set - by the decode routine and should be checked so that the correct number of - elements in the array will be accessed. + set to 4 before sending the message. When decoding, the _len value is set + by the decode routine and should be checked so that the correct number of + elements in the array will be accessed. */ -/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* - *THIS IS AN AUTO GENERATED FILE. DO NOT ALTER IN ANY WAY +/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* + *THIS IS AN AUTO GENERATED FILE. DO NOT ALTER IN ANY WAY *====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/ -/* This file was generated with Tool version 5.6 - It was generated on: Fri Oct 26 2012 +/* This file was generated with Tool version 6.0 + It requires encode/decode library version 5 or later + It was generated on: Thu Dec 13 2012 (Spin ) From IDL File: location_service_v02.idl */ /** @defgroup loc_qmi_consts Constant values defined in the IDL */ @@ -85,24 +86,24 @@ extern "C" { #endif -/** @addtogroup loc_qmi_version - @{ - */ +/** @addtogroup loc_qmi_version + @{ + */ /** Major Version Number of the IDL used to generate this file */ #define LOC_V02_IDL_MAJOR_VERS 0x02 /** Revision Number of the IDL used to generate this file */ -#define LOC_V02_IDL_MINOR_VERS 0x11 +#define LOC_V02_IDL_MINOR_VERS 0x12 /** Major Version Number of the qmi_idl_compiler used to generate this file */ -#define LOC_V02_IDL_TOOL_VERS 0x05 +#define LOC_V02_IDL_TOOL_VERS 0x06 /** Maximum Defined Message ID */ -#define LOC_V02_MAX_MESSAGE_ID 0x006F; -/** - @} +#define LOC_V02_MAX_MESSAGE_ID 0x0072; +/** + @} */ -/** @addtogroup loc_qmi_consts - @{ +/** @addtogroup loc_qmi_consts + @{ */ /** Maximum string length for the Provider field in the application ID. */ @@ -114,7 +115,7 @@ extern "C" { /** Maximum string length for the Version field in the application ID. */ #define QMI_LOC_MAX_APP_ID_VERSION_LENGTH_V02 8 -/** Maximum length of the list containing the SVs that were used to generate +/** Maximum length of the list containing the SVs that were used to generate a position report. */ #define QMI_LOC_MAX_SV_USED_LIST_LENGTH_V02 80 @@ -191,10 +192,21 @@ extern "C" { #define QMI_LOC_MAX_SUPL_CERT_LENGTH_V02 2000 /** Maximum length of the network-initiated Geofence ID - list */ + list. */ #define QMI_LOC_MAX_NI_GEOFENCE_ID_LIST_LENGTH_V02 16 -/** Maximum length of the injected network initiated message. */ +/** Maximum value of WDMA frequency for injection of WCDMA cell + information */ +#define QMI_LOC_MAX_WCDMA_FREQ_V02 16383 + +/** Maximum value of PSC for injection of WCDMA cell information */ +#define QMI_LOC_MAX_WCDMA_PSC_V02 511 + +/** Maximum value of TDSCDMA frequency for injection of TDSCDMA cell + information */ +#define QMI_LOC_MAX_TDSCDMA_FREQ_V02 16383 + +/** Maximum length of the injected network-initiated message. */ #define QMI_LOC_MAX_INJECTED_NETWORK_INITIATED_MESSAGE_LENGTH_V02 1024 /** @} @@ -203,8 +215,8 @@ extern "C" { /** @addtogroup loc_qmi_messages @{ */ -/** Response Message; Generic response definition. This message is used to tell - clients whether their message was accepted for further +/** Response Message; Generic response definition. This message is used to tell + clients whether their message was accepted for further processing or rejected. */ typedef struct { @@ -219,7 +231,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Informs the service of the minor revision of the interface +/** Request Message; Informs the service of the minor revision of the interface definition that the control point implements. */ typedef struct { @@ -233,9 +245,9 @@ typedef struct { */ typedef uint64_t qmiLocEventRegMaskT_v02; -#define QMI_LOC_EVENT_MASK_POSITION_REPORT_V02 ((qmiLocEventRegMaskT_v02)0x00000001ull) /**< The control point must enable this mask to receive position report +#define QMI_LOC_EVENT_MASK_POSITION_REPORT_V02 ((qmiLocEventRegMaskT_v02)0x00000001ull) /**< The control point must enable this mask to receive position report event indications. */ -#define QMI_LOC_EVENT_MASK_GNSS_SV_INFO_V02 ((qmiLocEventRegMaskT_v02)0x00000002ull) /**< The control point must enable this mask to receive satellite report +#define QMI_LOC_EVENT_MASK_GNSS_SV_INFO_V02 ((qmiLocEventRegMaskT_v02)0x00000002ull) /**< The control point must enable this mask to receive satellite report event indications. These reports are sent at a 1 Hz rate. */ #define QMI_LOC_EVENT_MASK_NMEA_V02 ((qmiLocEventRegMaskT_v02)0x00000004ull) /**< The control point must enable this mask to receive NMEA reports for position and satellites in view. The report is at a 1 Hz rate. */ @@ -254,12 +266,12 @@ typedef uint64_t qmiLocEventRegMaskT_v02; #define QMI_LOC_EVENT_MASK_WIFI_REQ_V02 ((qmiLocEventRegMaskT_v02)0x00000200ull) /**< The control point must enable this mask to receive WiFi position request event indications. */ #define QMI_LOC_EVENT_MASK_SENSOR_STREAMING_READY_STATUS_V02 ((qmiLocEventRegMaskT_v02)0x00000400ull) /**< The control point must enable this mask to receive notifications from the - GPS engine indicating its readiness to accept data from the + GPS engine indicating its readiness to accept data from the sensors (accelerometer, gyroscope, etc.). */ #define QMI_LOC_EVENT_MASK_TIME_SYNC_REQ_V02 ((qmiLocEventRegMaskT_v02)0x00000800ull) /**< The control point must enable this mask to receive time-sync requests from the GPS engine. Time sync enables the GPS engine to synchronize its clock with the sensor processor's clock. */ -#define QMI_LOC_EVENT_MASK_SET_SPI_STREAMING_REPORT_V02 ((qmiLocEventRegMaskT_v02)0x00001000ull) /**< The control point must enable this mask to receive Stationary Position +#define QMI_LOC_EVENT_MASK_SET_SPI_STREAMING_REPORT_V02 ((qmiLocEventRegMaskT_v02)0x00001000ull) /**< The control point must enable this mask to receive Stationary Position Indicator (SPI) streaming report indications. */ #define QMI_LOC_EVENT_MASK_LOCATION_SERVER_CONNECTION_REQ_V02 ((qmiLocEventRegMaskT_v02)0x00002000ull) /**< The control point must enable this mask to receive location server requests. These requests are generated when the service wishes to @@ -267,9 +279,9 @@ typedef uint64_t qmiLocEventRegMaskT_v02; #define QMI_LOC_EVENT_MASK_NI_GEOFENCE_NOTIFICATION_V02 ((qmiLocEventRegMaskT_v02)0x00004000ull) /**< The control point must enable this mask to receive notifications related to network-initiated Geofences. These events notify the client when a network-initiated Geofence is added, deleted, or edited. */ -#define QMI_LOC_EVENT_MASK_GEOFENCE_GEN_ALERT_V02 ((qmiLocEventRegMaskT_v02)0x00008000ull) /**< The control point must enable this mask to receive Geofence alerts. +#define QMI_LOC_EVENT_MASK_GEOFENCE_GEN_ALERT_V02 ((qmiLocEventRegMaskT_v02)0x00008000ull) /**< The control point must enable this mask to receive Geofence alerts. These alerts are generated to inform the client of the changes that may - affect Geofence, e.g., if GPS is turned off or if the network is + affect Geofence, e.g., if GPS is turned off or if the network is unavailable. */ #define QMI_LOC_EVENT_MASK_GEOFENCE_BREACH_NOTIFICATION_V02 ((qmiLocEventRegMaskT_v02)0x00010000ull) /**< The control point must enable this mask to receive notifications when a Geofence is breached. These events are generated when the UE enters @@ -283,65 +295,65 @@ typedef uint64_t qmiLocEventRegMaskT_v02; /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used by the control point to register for events from the +/** Request Message; Used by the control point to register for events from the location subsystem. */ typedef struct { /* Mandatory */ /* Event Registration Mask */ qmiLocEventRegMaskT_v02 eventRegMask; - /**< Specifies the events that the control point is interested in receiving. - Refer to the definition of the following bitmasks: - - QMI_LOC_EVENT_MASK_POSITION_REPORT (0x00000001) -- The control point must enable this mask to receive position report - event indications. - - QMI_LOC_EVENT_MASK_GNSS_SV_INFO (0x00000002) -- The control point must enable this mask to receive satellite report - event indications. These reports are sent at a 1 Hz rate. + /**< Specifies the events that the control point is interested in receiving. + Refer to the definition of the following bitmasks: + - QMI_LOC_EVENT_MASK_POSITION_REPORT (0x00000001) -- The control point must enable this mask to receive position report + event indications. + - QMI_LOC_EVENT_MASK_GNSS_SV_INFO (0x00000002) -- The control point must enable this mask to receive satellite report + event indications. These reports are sent at a 1 Hz rate. - QMI_LOC_EVENT_MASK_NMEA (0x00000004) -- The control point must enable this mask to receive NMEA reports for - position and satellites in view. The report is at a 1 Hz rate. + position and satellites in view. The report is at a 1 Hz rate. - QMI_LOC_EVENT_MASK_NI_NOTIFY_VERIFY_REQ (0x00000008) -- The control point must enable this mask to receive NI notify verify request - event indications. + event indications. - QMI_LOC_EVENT_MASK_INJECT_TIME_REQ (0x00000010) -- The control point must enable this mask to receive time injection request - event indications. + event indications. - QMI_LOC_EVENT_MASK_INJECT_PREDICTED_ORBITS_REQ (0x00000020) -- The control point must enable this mask to receive predicted orbits request - event indications. + event indications. - QMI_LOC_EVENT_MASK_INJECT_POSITION_REQ (0x00000040) -- The control point must enable this mask to receive position injection request - event indications. + event indications. - QMI_LOC_EVENT_MASK_ENGINE_STATE (0x00000080) -- The control point must enable this mask to receive engine state report - event indications. + event indications. - QMI_LOC_EVENT_MASK_FIX_SESSION_STATE (0x00000100) -- The control point must enable this mask to receive fix session status report - event indications. + event indications. - QMI_LOC_EVENT_MASK_WIFI_REQ (0x00000200) -- The control point must enable this mask to receive WiFi position request - event indications. + event indications. - QMI_LOC_EVENT_MASK_SENSOR_STREAMING_READY_STATUS (0x00000400) -- The control point must enable this mask to receive notifications from the - GPS engine indicating its readiness to accept data from the - sensors (accelerometer, gyroscope, etc.). + GPS engine indicating its readiness to accept data from the + sensors (accelerometer, gyroscope, etc.). - QMI_LOC_EVENT_MASK_TIME_SYNC_REQ (0x00000800) -- The control point must enable this mask to receive time-sync requests from the GPS engine. Time sync enables the GPS engine to synchronize - its clock with the sensor processor's clock. - - QMI_LOC_EVENT_MASK_SET_SPI_STREAMING_REPORT (0x00001000) -- The control point must enable this mask to receive Stationary Position - Indicator (SPI) streaming report indications. + its clock with the sensor processor's clock. + - QMI_LOC_EVENT_MASK_SET_SPI_STREAMING_REPORT (0x00001000) -- The control point must enable this mask to receive Stationary Position + Indicator (SPI) streaming report indications. - QMI_LOC_EVENT_MASK_LOCATION_SERVER_CONNECTION_REQ (0x00002000) -- The control point must enable this mask to receive location server requests. These requests are generated when the service wishes to establish a connection with a location server. - QMI_LOC_EVENT_MASK_NI_GEOFENCE_NOTIFICATION (0x00004000) -- The control point must enable this mask to receive notifications related to network-initiated Geofences. These events notify the client - when a network-initiated Geofence is added, deleted, or edited. - - QMI_LOC_EVENT_MASK_GEOFENCE_GEN_ALERT (0x00008000) -- The control point must enable this mask to receive Geofence alerts. + when a network-initiated Geofence is added, deleted, or edited. + - QMI_LOC_EVENT_MASK_GEOFENCE_GEN_ALERT (0x00008000) -- The control point must enable this mask to receive Geofence alerts. These alerts are generated to inform the client of the changes that may - affect Geofence, e.g., if GPS is turned off or if the network is - unavailable. + affect Geofence, e.g., if GPS is turned off or if the network is + unavailable. - QMI_LOC_EVENT_MASK_GEOFENCE_BREACH_NOTIFICATION (0x00010000) -- The control point must enable this mask to receive notifications when a Geofence is breached. These events are generated when the UE enters - or leaves the perimeter of a Geofence. + or leaves the perimeter of a Geofence. - QMI_LOC_EVENT_MASK_PEDOMETER_CONTROL (0x00020000) -- The control point must enable this mask to register for Pedometer control requests from the location engine. Location engine sends - this event out to control the injection of pedometer reports. + this event out to control the injection of pedometer reports. - QMI_LOC_EVENT_MASK_MOTION_DATA_CONTROL (0x00040000) -- The control point must enable this mask to register for motion data control requests from the location engine. Location engine sends - this event out to control the injection of motion data. - - Multiple events can be registered by ORing the individual masks and - sending them in this TLV. All unused bits in this mask must be set to 0. + this event out to control the injection of motion data. + + Multiple events can be registered by ORing the individual masks and + sending them in this TLV. All unused bits in this mask must be set to 0. */ }qmiLocRegEventsReqMsgT_v02; /* Message */ /** @@ -402,7 +414,7 @@ typedef struct { uint8_t applicationVersion_valid; /**< Specifies whether the application version string contains a valid value: \begin{itemize1} - \item 0x00 (FALSE) -- Application version string is invalid + \item 0x00 (FALSE) -- Application version string is invalid \item 0x01 (TRUE) -- Application version string is valid \vspace{-0.18in} \end{itemize1} */ @@ -422,17 +434,17 @@ typedef struct { /* Mandatory */ /* Session ID */ uint8_t sessionId; - /**< ID of the session as identified by the control point. The session ID - is reported back in the position reports. The control point must + /**< ID of the session as identified by the control point. The session ID + is reported back in the position reports. The control point must specify the same session ID in the QMI_LOC_STOP_REQ message. \n - - Range: 0 to 255 + - Range: 0 to 255 */ /* Optional */ /* Recurrence Type */ uint8_t fixRecurrence_valid; /**< Must be set to true if fixRecurrence is being passed */ qmiLocFixRecurrenceEnumT_v02 fixRecurrence; - /**< Specifies the type of session in which the control point is interested. + /**< Specifies the type of session in which the control point is interested. If this TLV is not specified, recurrence defaults to SINGLE. Valid values: \n @@ -445,7 +457,7 @@ typedef struct { uint8_t horizontalAccuracyLevel_valid; /**< Must be set to true if horizontalAccuracyLevel is being passed */ qmiLocAccuracyLevelEnumT_v02 horizontalAccuracyLevel; /**< Specifies the horizontal accuracy level required by the control point. - If not specified, accuracy defaults to LOW. + If not specified, accuracy defaults to LOW. Valid values: \begin{itemize1} \item 0x00000001 -- LOW: Client requires low horizontal accuracy @@ -459,14 +471,14 @@ typedef struct { /* Enable/Disable Intermediate Reports */ uint8_t intermediateReportState_valid; /**< Must be set to true if intermediateReportState is being passed */ qmiLocIntermediateReportStateEnumT_v02 intermediateReportState; - /**< Specifies if the control point is interested in receiving intermediate - reports. The control point must explicitly set this field to OFF if it - does not wish to receive intermediate position reports. Intermediate - position reports are generated at 1 Hz and are ON by default. If - intermediate reports are turned ON, the client receives position reports - even if the accuracy criteria are not met. The status in such a position + /**< Specifies if the control point is interested in receiving intermediate + reports. The control point must explicitly set this field to OFF if it + does not wish to receive intermediate position reports. Intermediate + position reports are generated at 1 Hz and are ON by default. If + intermediate reports are turned ON, the client receives position reports + even if the accuracy criteria are not met. The status in such a position report is set to IN_PROGRESS in order for the control point to identify - intermediate reports. + intermediate reports. Valid values: \begin{itemize1} \item 0x00000001 -- ON: Client is interested in receiving intermediate @@ -484,7 +496,7 @@ typedef struct { /**< Minimum time interval, specified by the control point, that must elapse between position reports. \n - Units: Milliseconds \n - - Default: 1000 ms + - Default: 1000 ms */ /* Optional */ @@ -520,7 +532,7 @@ typedef uint32_t qmiLocPosTechMaskT_v02; #define QMI_LOC_POS_TECH_MASK_WIFI_V02 ((qmiLocPosTechMaskT_v02)0x00000004) /**< WiFi access points were used to generate the fix. */ #define QMI_LOC_POS_TECH_MASK_SENSORS_V02 ((qmiLocPosTechMaskT_v02)0x00000008) /**< Sensors were used to generate the fix. */ #define QMI_LOC_POS_TECH_MASK_REFERENCE_LOCATION_V02 ((qmiLocPosTechMaskT_v02)0x00000010) /**< Reference Location was used to generate the fix. */ -#define QMI_LOC_POS_TECH_MASK_INJECTED_COARSE_POSITION_V02 ((qmiLocPosTechMaskT_v02)0x00000020) /**< Coarse position injected into the location engine was used to +#define QMI_LOC_POS_TECH_MASK_INJECTED_COARSE_POSITION_V02 ((qmiLocPosTechMaskT_v02)0x00000020) /**< Coarse position injected into the location engine was used to generate the fix. */ /** @addtogroup loc_qmi_enums @{ @@ -604,10 +616,10 @@ typedef struct { qmiLocSensorUsageMaskT_v02 usageMask; /**< Specifies which sensors were used in calculating the position in the position report. - + Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- SENSOR_USED_ACCEL - \item 0x00000002 -- SENSOR_USED_GYRO + \item 0x00000001 -- SENSOR_USED_ ACCEL + \item 0x00000002 -- SENSOR_USED_ GYRO \vspace{-0.18in} \end{itemize1} */ qmiLocSensorAidedMaskT_v02 aidingIndicatorMask; @@ -635,7 +647,7 @@ typedef enum { eQMI_LOC_TIME_SRC_EXTERNAL_INPUT_V02 = 3, /**< Time is set by an external injection. */ eQMI_LOC_TIME_SRC_TOW_DECODE_V02 = 4, /**< Time is set after decoding over-the-air GPS navigation data from one GPS satellite. */ - eQMI_LOC_TIME_SRC_TOW_CONFIRMED_V02 = 5, /**< Time is set after decoding over-the-air GPS navigation data + eQMI_LOC_TIME_SRC_TOW_CONFIRMED_V02 = 5, /**< Time is set after decoding over-the-air GPS navigation data from multiple satellites. */ eQMI_LOC_TIME_SRC_TOW_AND_WEEK_CONFIRMED_V02 = 6, /**< Both time of the week and the GPS week number are known. */ eQMI_LOC_TIME_SRC_NAV_SOLUTION_V02 = 7, /**< Time is set by the position engine after the fix is obtained. */ @@ -646,7 +658,7 @@ typedef enum { eQMI_LOC_TIME_SRC_WCDMA_SLEEP_TIME_TAGGING_V02 = 11, /**< Time is set by the sleep time tag provided by the WCDMA network */ eQMI_LOC_TIME_SRC_GSM_SLEEP_TIME_TAGGING_V02 = 12, /**< Time is set by the sleep time tag provided by the GSM network */ eQMI_LOC_TIME_SRC_UNKNOWN_V02 = 13, /**< Source of the time is unknown */ - eQMI_LOC_TIME_SRC_SYSTEM_TIMETICK_V02 = 14, /**< Time is derived from system clock (better known as slow clock). + eQMI_LOC_TIME_SRC_SYSTEM_TIMETICK_V02 = 14, /**< Time is derived from system clock (better known as slow clock). GNSS time is maintained irrespective of the GNSS receiver state */ QMILOCTIMESOURCEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocTimeSourceEnumT_v02; @@ -680,23 +692,23 @@ typedef struct { /* Session Status */ qmiLocSessionStatusEnumT_v02 sessionStatus; /**< Session status. - + Valid values: \begin{itemize1} - \item 0x00000000 -- SESS_STATUS_SUCCESS - \item 0x00000001 -- SESS_STATUS_IN_PROGRESS - \item 0x00000002 -- SESS_STATUS_GENERAL_FAILURE - \item 0x00000003 -- SESS_STATUS_TIMEOUT - \item 0x00000004 -- SESS_STATUS_USER_END - \item 0x00000005 -- SESS_STATUS_BAD_PARAMETER - \item 0x00000006 -- SESS_STATUS_PHONE_OFFLINE - \item 0x00000007 -- SESS_STATUS_ENGINE_LOCKED + \item 0x00000000 -- SESS_STATUS_ SUCCESS + \item 0x00000001 -- SESS_STATUS_ IN_PROGRESS + \item 0x00000002 -- SESS_STATUS_ GENERAL_FAILURE + \item 0x00000003 -- SESS_STATUS_ TIMEOUT + \item 0x00000004 -- SESS_STATUS_ USER_END + \item 0x00000005 -- SESS_STATUS_ BAD_PARAMETER + \item 0x00000006 -- SESS_STATUS_ PHONE_OFFLINE + \item 0x00000007 -- SESS_STATUS_ ENGINE_LOCKED \vspace{-0.18in} \end{itemize1} */ /* Mandatory */ /* Session ID */ uint8_t sessionId; - /**< ID of the session that was specified in the Start request + /**< ID of the session that was specified in the Start request QMI_LOC_START_REQ. \n - Range: 0 to 255 */ @@ -769,10 +781,10 @@ typedef struct { qmiLocReliabilityEnumT_v02 horReliability; /**< Specifies the reliability of the horizontal position. \n Valid values: \begin{itemize1} - \item 0x00000000 -- RELIABILITY_NOT_SET - \item 0x00000001 -- RELIABILITY_VERY_LOW + \item 0x00000000 -- RELIABILITY_NOT_ SET + \item 0x00000001 -- RELIABILITY_ VERY_LOW \item 0x00000002 -- RELIABILITY_LOW - \item 0x00000003 -- RELIABILITY_MEDIUM + \item 0x00000003 -- RELIABILITY_ MEDIUM \item 0x00000004 -- RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1} */ @@ -818,7 +830,7 @@ typedef struct { uint8_t vertConfidence_valid; /**< Must be set to true if vertConfidence is being passed */ uint8_t vertConfidence; /**< Vertical uncertainty confidence.\n - - Units: Percent \n + - Units: Percent \n - Range: 0 to 99 */ /* Optional */ @@ -827,10 +839,10 @@ typedef struct { qmiLocReliabilityEnumT_v02 vertReliability; /**< Specifies the reliability of the vertical position. \n Valid values: \begin{itemize1} - \item 0x00000000 -- RELIABILITY_NOT_SET - \item 0x00000001 -- RELIABILITY_VERY_LOW + \item 0x00000000 -- RELIABILITY_NOT_ SET + \item 0x00000001 -- RELIABILITY_ VERY_LOW \item 0x00000002 -- RELIABILITY_LOW - \item 0x00000003 -- RELIABILITY_MEDIUM + \item 0x00000003 -- RELIABILITY_ MEDIUM \item 0x00000004 -- RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1}*/ @@ -861,7 +873,7 @@ typedef struct { /* Magnetic Deviation */ uint8_t magneticDeviation_valid; /**< Must be set to true if magneticDeviation is being passed */ float magneticDeviation; - /**< Difference between the bearing to true north and the bearing shown + /**< Difference between the bearing to true north and the bearing shown on a magnetic compass. The deviation is positive when the magnetic north is east of true north. */ @@ -875,9 +887,9 @@ typedef struct { \item 0x00000001 -- SATELLITE \item 0x00000002 -- CELLID \item 0x00000004 -- WIFI - \item 0x00000008 -- SENSORS - \item 0x00000010 -- REFERENCE_LOCATION - \item 0x00000020 -- INJECTED_COARSE_POSITION + \item 0x00000008 -- SENSORS + \item 0x00000010 -- REFERENCE_ LOCATION + \item 0x00000020 -- INJECTED_COARSE_ POSITION \vspace{-0.18in} \end{itemize1} */ /* Optional */ @@ -899,7 +911,7 @@ typedef struct { uint8_t leapSeconds; /**< Leap second information. If leapSeconds is not available, timestampUtc is calculated based on a hard-coded value - for leap seconds. \n + for leap seconds. \n - Units: Seconds */ /* Optional */ @@ -921,25 +933,25 @@ typedef struct { uint8_t timeSrc_valid; /**< Must be set to true if timeSrc is being passed */ qmiLocTimeSourceEnumT_v02 timeSrc; /**< Time source. Valid values: \n - - eQMI_LOC_TIME_SRC_INVALID (0) -- Invalid time. - - eQMI_LOC_TIME_SRC_NETWORK_TIME_TRANSFER (1) -- Time is set by the 1x system. + - eQMI_LOC_TIME_SRC_INVALID (0) -- Invalid time. + - eQMI_LOC_TIME_SRC_NETWORK_TIME_TRANSFER (1) -- Time is set by the 1x system. - eQMI_LOC_TIME_SRC_NETWORK_TIME_TAGGING (2) -- Time is set by WCDMA/GSM time tagging (i.e., - associating network time with GPS time). - - eQMI_LOC_TIME_SRC_EXTERNAL_INPUT (3) -- Time is set by an external injection. + associating network time with GPS time). + - eQMI_LOC_TIME_SRC_EXTERNAL_INPUT (3) -- Time is set by an external injection. - eQMI_LOC_TIME_SRC_TOW_DECODE (4) -- Time is set after decoding over-the-air GPS navigation data - from one GPS satellite. - - eQMI_LOC_TIME_SRC_TOW_CONFIRMED (5) -- Time is set after decoding over-the-air GPS navigation data - from multiple satellites. - - eQMI_LOC_TIME_SRC_TOW_AND_WEEK_CONFIRMED (6) -- Both time of the week and the GPS week number are known. - - eQMI_LOC_TIME_SRC_NAV_SOLUTION (7) -- Time is set by the position engine after the fix is obtained. + from one GPS satellite. + - eQMI_LOC_TIME_SRC_TOW_CONFIRMED (5) -- Time is set after decoding over-the-air GPS navigation data + from multiple satellites. + - eQMI_LOC_TIME_SRC_TOW_AND_WEEK_CONFIRMED (6) -- Both time of the week and the GPS week number are known. + - eQMI_LOC_TIME_SRC_NAV_SOLUTION (7) -- Time is set by the position engine after the fix is obtained. - eQMI_LOC_TIME_SRC_SOLVE_FOR_TIME (8) -- Time is set by the position engine after performing SFT. - This is done when the clock time uncertainty is large. - - eQMI_LOC_TIME_SRC_GLO_TOW_DECODE (9) -- Time is set after decoding GLO satellites - - eQMI_LOC_TIME_SRC_TIME_TRANSFORM (10) -- Time is set after transforming the GPS to GLO time - - eQMI_LOC_TIME_SRC_WCDMA_SLEEP_TIME_TAGGING (11) -- Time is set by the sleep time tag provided by the WCDMA network - - eQMI_LOC_TIME_SRC_GSM_SLEEP_TIME_TAGGING (12) -- Time is set by the sleep time tag provided by the GSM network - - eQMI_LOC_TIME_SRC_UNKNOWN (13) -- Source of the time is unknown - - eQMI_LOC_TIME_SRC_SYSTEM_TIMETICK (14) -- Time is derived from system clock (better known as slow clock). + This is done when the clock time uncertainty is large. + - eQMI_LOC_TIME_SRC_GLO_TOW_DECODE (9) -- Time is set after decoding GLO satellites + - eQMI_LOC_TIME_SRC_TIME_TRANSFORM (10) -- Time is set after transforming the GPS to GLO time + - eQMI_LOC_TIME_SRC_WCDMA_SLEEP_TIME_TAGGING (11) -- Time is set by the sleep time tag provided by the WCDMA network + - eQMI_LOC_TIME_SRC_GSM_SLEEP_TIME_TAGGING (12) -- Time is set by the sleep time tag provided by the GSM network + - eQMI_LOC_TIME_SRC_UNKNOWN (13) -- Source of the time is unknown + - eQMI_LOC_TIME_SRC_SYSTEM_TIMETICK (14) -- Time is derived from system clock (better known as slow clock). GNSS time is maintained irrespective of the GNSS receiver state */ /* Optional */ @@ -962,9 +974,9 @@ typedef struct { uint32_t gnssSvUsedList_len; /**< Must be set to # of elements in gnssSvUsedList */ uint16_t gnssSvUsedList[QMI_LOC_MAX_SV_USED_LIST_LENGTH_V02]; /**< Each entry in the list contains the SV ID of a satellite - used for calculating this position report. The following + used for calculating this position report. The following information is associated with each SV ID: \begin{itemize1} - \item Range: \begin{itemize1} + \item Range: \begin{itemize1} \item For GPS: 1 to 32 \item For SBAS: 33 to 64 \item For GLONASS: 65 to 96 @@ -1028,9 +1040,9 @@ typedef struct { Valid bitmasks: \begin{itemize1} \item 0x00000001 -- VALID_SYSTEM \item 0x00000002 -- VALID_GNSS_SVID - \item 0x00000004 -- VALID_HEALTH_STATUS - \item 0x00000008 -- VALID_PROCESS_STATUS - \item 0x00000010 -- VALID_SVINFO_MASK + \item 0x00000004 -- VALID_HEALTH_ STATUS + \item 0x00000008 -- VALID_PROCESS_ STATUS + \item 0x00000010 -- VALID_SVINFO_ MASK \item 0x00000020 -- VALID_ELEVATION \item 0x00000040 -- VALID_AZIMUTH \item 0x00000080 -- VALID_SNR @@ -1040,11 +1052,11 @@ typedef struct { /**< Indicates to which constellation this SV belongs. Valid values: \begin{itemize1} - \item 0x00000001 -- eQMI_LOC_SV_SYSTEM_GPS - \item 0x00000002 -- eQMI_LOC_SV_SYSTEM_GALILEO - \item 0x00000003 -- eQMI_LOC_SV_SYSTEM_SBAS - \item 0x00000004 -- eQMI_LOC_SV_SYSTEM_COMPASS - \item 0x00000005 -- eQMI_LOC_SV_SYSTEM_GLONASS + \item 0x00000001 -- eQMI_LOC_SV_ SYSTEM_GPS + \item 0x00000002 -- eQMI_LOC_SV_ SYSTEM_GALILEO + \item 0x00000003 -- eQMI_LOC_SV_ SYSTEM_SBAS + \item 0x00000004 -- eQMI_LOC_SV_ SYSTEM_COMPASS + \item 0x00000005 -- eQMI_LOC_SV_ SYSTEM_GLONASS \vspace{-0.18in} \end{itemize1} */ uint16_t gnssSvId; @@ -1073,7 +1085,7 @@ typedef struct { */ qmiLocSvInfoMaskT_v02 svInfoMask; - /**< Whether almanac and ephemeris information is available. \n + /**< Whether almanac and ephemeris information is available. \n Valid bitmasks: \n - 0x01 -- SVINFO_HAS_EPHEMERIS \n - 0x02 -- SVINFO_HAS_ALMANAC @@ -1220,10 +1232,10 @@ typedef struct { /**< Position mode. Valid values: \begin{itemize1} - \item 0x00000001 -- NI_VX_MS_ASSISTED_ONLY - \item 0x00000002 -- NI_VX_MS_BASED_ONLY - \item 0x00000003 -- NI_VX_MS_ASSISTED_PREFERRED_MS_BASED_ALLOWED - \item 0x00000004 -- NI_VX_MS_BASED_PREFERRED_MS_ASSISTED_ALLOWED + \item 0x00000001 -- NI_VX_MS_ ASSISTED_ONLY + \item 0x00000002 -- NI_VX_MS_BASED_ ONLY + \item 0x00000003 -- NI_VX_MS_ ASSISTED_PREFERRED_ MS_BASED_ALLOWED + \item 0x00000004 -- NI_VX_MS_ BASED_PREFERRED_ MS_ASSISTED_ALLOWED \vspace{-0.18in} \end{itemize1} */ @@ -1232,13 +1244,13 @@ typedef struct { Valid values: \begin{itemize1} \item 0x00000000 -- NI_VX_OCTET - \item 0x00000001 -- NI_VX_EXN_PROTOCOL_MSG + \item 0x00000001 -- NI_VX_EXN_ PROTOCOL_MSG \item 0x00000002 -- NI_VX_ASCII \item 0x00000003 -- NI_VX_IA5 \item 0x00000004 -- NI_VX_UNICODE \item 0x00000005 -- NI_VX_SHIFT_JIS \item 0x00000006 -- NI_VX_KOREAN - \item 0x00000007 -- NI_VX_LATIN_HEBREW + \item 0x00000007 -- NI_VX_LATIN_ HEBREW \item 0x00000008 -- NI_VX_LATIN \item 0x00000009 -- NI_VX_GSM \vspace{-0.18in} \end{itemize1} @@ -1248,7 +1260,7 @@ typedef struct { uint8_t requestorId[QMI_LOC_NI_MAX_REQUESTOR_ID_LENGTH_V02]; /**< Requestor ID. \n - Type: Array of bytes \n - - Maximum array length: 200 + - Maximum array length: 200 */ uint16_t userRespTimerInSeconds; @@ -1339,15 +1351,15 @@ typedef struct { /**< Format of the formatted string. Valid values: \begin{itemize1} - \item 0x00000000 -- FORMAT_LOGICAL_NAME - \item 0x00000001 -- FORMAT_EMAIL_ADDRESS + \item 0x00000000 -- FORMAT_LOGICAL_ NAME + \item 0x00000001 -- FORMAT_EMAIL_ ADDRESS \item 0x00000002 -- FORMAT_MSISDN \item 0x00000003 -- FORMAT_URL \item 0x00000004 -- FORMAT_SIP_URL \item 0x00000005 -- FORMAT_MIN \item 0x00000006 -- FORMAT_MDN - \item 0x00000007 -- FORMAT_IMSPUBLIC_IDENTITY - \item 0x7FFFFFFF -- FORMAT_OSS_UNKNOWN + \item 0x00000007 -- FORMAT_ IMSPUBLIC_IDENTITY + \item 0x7FFFFFFF -- FORMAT_OSS_ UNKNOWN \vspace{-0.18in} \end{itemize1} */ @@ -1355,7 +1367,7 @@ typedef struct { uint8_t formattedString[QMI_LOC_NI_MAX_CLIENT_NAME_LENGTH_V02]; /**< Formatted string. \n - Type: Byte array \n - - Maximum string length: 64 + - Maximum string length: 64 */ }qmiLocNiSuplFormattedStringStructT_v02; /* Type */ /** @@ -1373,7 +1385,7 @@ typedef uint8_t qmiLocSuplQopValidMaskT_v02; typedef struct { qmiLocSuplQopValidMaskT_v02 validMask; - /**< Bit field indicating which fields are valid in this value. + /**< Bit field indicating which fields are valid in this value. Valid bitmasks: \n - 0x01 -- QOP_HORZ_ACC_VALID \n @@ -1382,11 +1394,11 @@ typedef struct { - 0x08 -- QOP_DELAY_VALID*/ uint8_t horizontalAccuracy; - /**< Horizontal accuracy. \n + /**< Horizontal accuracy. \n - Units: Meters */ uint8_t verticalAccuracy; - /**< Vertical accuracy. \n + /**< Vertical accuracy. \n - Units: Meters */ uint16_t maxLocAge; @@ -1428,7 +1440,7 @@ typedef struct { uint16_t addr[QMI_LOC_IPV6_ADDR_LENGTH_V02]; /**< IPV6 address. \n - - Type: Array of unsigned integers \n + - Type: Array of unsigned integers \n - Maximum length of the array: 8 */ uint32_t port; @@ -1462,7 +1474,7 @@ typedef struct { /**< URL. \begin{itemize1} \item Type: NULL-terminated string - \item Maximum string length (including NULL terminator): 256 + \item Maximum string length (including NULL terminator): 256 \vspace{-0.18in} \end{itemize1} */ }qmiLocNiSuplServerInfoStructT_v02; /* Type */ @@ -1474,37 +1486,37 @@ typedef uint32_t qmiLocNiSuplNotifyVerifyValidMaskT_v02; #define QMI_LOC_SUPL_SERVER_INFO_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000001) /**< Mask to denote that the server information is present in an NI SUPL notify verify request event. This mask is set in the valid_flags field of a notify verify structure. */ -#define QMI_LOC_SUPL_SESSION_ID_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000002) /**< Mask to denote that the SUPL session ID - is present in an NI SUPL notify verify request event. - This mask is set in the valid_flags field of a +#define QMI_LOC_SUPL_SESSION_ID_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000002) /**< Mask to denote that the SUPL session ID + is present in an NI SUPL notify verify request event. + This mask is set in the valid_flags field of a notify verify structure. */ -#define QMI_LOC_SUPL_HASH_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000004) /**< Mask to denote that the SUPL hash is present +#define QMI_LOC_SUPL_HASH_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000004) /**< Mask to denote that the SUPL hash is present in an NI notify verify request event. - This mask is set in the valid_flags field of a + This mask is set in the valid_flags field of a notify verify structure. */ #define QMI_LOC_SUPL_POS_METHOD_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000008) /**< Mask to denote that the position method is present in an NI SUPL notify verify request event. - This mask is set in the valid_flags field of a + This mask is set in the valid_flags field of a notify verify structure. */ -#define QMI_LOC_SUPL_DATA_CODING_SCHEME_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000010) /**< Mask to denote that the data coding scheme +#define QMI_LOC_SUPL_DATA_CODING_SCHEME_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000010) /**< Mask to denote that the data coding scheme is present in an NI SUPL notify verify request event. - This mask is set in the valid_flags field of a + This mask is set in the valid_flags field of a notify verify structure. */ -#define QMI_LOC_SUPL_REQUESTOR_ID_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000020) /**< Mask to denote that the requestor ID +#define QMI_LOC_SUPL_REQUESTOR_ID_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000020) /**< Mask to denote that the requestor ID is present in an NI notify verify request event. - This mask is set in the valid_flags field of a + This mask is set in the valid_flags field of a notify verify structure. */ -#define QMI_LOC_SUPL_CLIENT_NAME_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000040) /**< Mask to denote that the requestor ID +#define QMI_LOC_SUPL_CLIENT_NAME_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000040) /**< Mask to denote that the requestor ID is present in an NI notify verify request event. - This mask is set in the valid_flags field of a + This mask is set in the valid_flags field of a notify verify structure. */ -#define QMI_LOC_SUPL_QOP_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000080) /**< Mask to denote that the quality of position +#define QMI_LOC_SUPL_QOP_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000080) /**< Mask to denote that the quality of position is present in an NI notify verify request event. - This mask is set in the valid_flags field of a + This mask is set in the valid_flags field of a notify verify structure. */ -#define QMI_LOC_SUPL_USER_RESP_TIMER_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000100) /**< Mask to denote that the user response timer +#define QMI_LOC_SUPL_USER_RESP_TIMER_MASK_V02 ((qmiLocNiSuplNotifyVerifyValidMaskT_v02)0x00000100) /**< Mask to denote that the user response timer is present in an NI notify verify request event. - This mask is set in the valid_flags field of a + This mask is set in the valid_flags field of a notify verify structure. */ /** @addtogroup loc_qmi_aggregates @{ @@ -1512,18 +1524,18 @@ typedef uint32_t qmiLocNiSuplNotifyVerifyValidMaskT_v02; typedef struct { qmiLocNiSuplNotifyVerifyValidMaskT_v02 valid_flags; - /**< Indicates which of the following fields are present in this value. + /**< Indicates which of the following fields are present in this value. Valid bitmasks: \begin{itemize1} \item 0x00000001 -- SUPL_SERVER_INFO \item 0x00000002 -- SUPL_SESSION_ID \item 0x00000004 -- SUPL_HASH \item 0x00000008 -- SUPL_POS_METHOD - \item 0x00000010 -- SUPL_DATA_CODING_SCHEME - \item 0x00000020 -- SUPL_REQUESTOR_ID - \item 0x00000040 -- SUPL_CLIENT_NAME + \item 0x00000010 -- SUPL_DATA_ CODING_SCHEME + \item 0x00000020 -- SUPL_REQUESTOR_ ID + \item 0x00000040 -- SUPL_CLIENT_ NAME \item 0x00000080 -- SUPL_QOP - \item 0x00000100 -- SUPL_USER_RESP_TIMER + \item 0x00000100 -- SUPL_USER_RESP_ TIMER \vspace{-0.18in} \end{itemize1} */ @@ -1531,24 +1543,24 @@ typedef struct { /**< SUPL server information. */ uint8_t suplSessionId[QMI_LOC_NI_SUPL_SLP_SESSION_ID_BYTE_LENGTH_V02]; - /**< SUPL session ID. \n - - Type: Array of unsigned integers \n + /**< SUPL session ID. \n + - Type: Array of unsigned integers \n - Maximum length of the array: 4 */ uint8_t suplHash[QMI_LOC_NI_SUPL_HASH_LENGTH_V02]; /**< Hash for SUPL_INIT; used to validate that the message was not - corrupted. \n + corrupted. \n - Type: Array of unsigned integers \n - Length of the array: 8 */ qmiLocNiSuplPosMethodEnumT_v02 posMethod; - /**< GPS mode to be used for the fix. + /**< GPS mode to be used for the fix. Valid values: \begin{itemize1} \item 0x00000001 -- AGPS_SETASSISTED \item 0x00000002 -- AGPS_SETBASED - \item 0x00000003 -- AGPS_SETASSISTED_PREF - \item 0x00000004 -- AGPS_SETBASED_PREF + \item 0x00000003 -- AGPS_ SETASSISTED_PREF + \item 0x00000004 -- AGPS_SETBASED_ PREF \item 0x00000005 -- AUTONOMOUS_GPS \item 0x00000006 -- AFLT \item 0x00000007 -- ECID @@ -1560,7 +1572,7 @@ typedef struct { qmiLocNiDataCodingSchemeEnumT_v02 dataCodingScheme; /**< Data coding scheme applies to both the requestor ID and the client - name. + name. Valid values: \begin{itemize1} \item 0x0000000C -- NI_SS_GERMAN @@ -1578,19 +1590,19 @@ typedef struct { \item 0x00000018 -- NI_SS_TURKISH \item 0x00000019 -- NI_SS_HUNGARIAN \item 0x0000001A -- NI_SS_POLISH - \item 0x0000001B -- NI_SS_LANGUAGE_UNSPEC + \item 0x0000001B -- NI_SS_LANGUAGE_ UNSPEC \item 0x0000001C -- NI_SUPL_UTF8 \item 0x0000001D -- NI_SUPL_UCS2 - \item 0x0000001E -- NI_SUPL_GSM_DEFAULT + \item 0x0000001E -- NI_SUPL_GSM_ DEFAULT \vspace{-0.18in} \end{itemize1} */ qmiLocNiSuplFormattedStringStructT_v02 requestorId; - /**< Requestor ID. The encoding scheme for requestor_id is specified in + /**< Requestor ID. The encoding scheme for requestor_id is specified in the dataCodingScheme field. */ qmiLocNiSuplFormattedStringStructT_v02 clientName; - /**< Client name. The encoding scheme for client_name is specified in + /**< Client name. The encoding scheme for client_name is specified in the dataCodingScheme field. */ qmiLocNiSuplQopStructT_v02 suplQop; @@ -1624,7 +1636,7 @@ typedef enum { typedef struct { qmiLocNiDataCodingSchemeEnumT_v02 dataCodingScheme; - /**< Identifies the coding scheme of the coded string. + /**< Identifies the coding scheme of the coded string. Valid values: \begin{itemize1} \item 0x0000000C -- NI_SS_GERMAN @@ -1642,10 +1654,10 @@ typedef struct { \item 0x00000018 -- NI_SS_TURKISH \item 0x00000019 -- NI_SS_HUNGARIAN \item 0x0000001A -- NI_SS_POLISH - \item 0x0000001B -- NI_SS_LANGUAGE_UNSPEC + \item 0x0000001B -- NI_SS_LANGUAGE_ UNSPEC \item 0x0000001C -- NI_SUPL_UTF8 \item 0x0000001D -- NI_SUPL_UCS2 - \item 0x0000001E -- NI_SUPL_GSM_DEFAULT + \item 0x0000001E -- NI_SUPL_GSM_ DEFAULT \vspace{-0.18in} \end{itemize1} */ @@ -1661,41 +1673,41 @@ typedef struct { */ typedef uint16_t qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02; -#define QMI_LOC_UMTS_CP_INVOKE_ID_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0001) /**< Mask to denote that the invoke ID +#define QMI_LOC_UMTS_CP_INVOKE_ID_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0001) /**< Mask to denote that the invoke ID is present in an NI notify verify request event. - This mask is set in the valid flags field of a + This mask is set in the valid flags field of a notify verify structure. */ -#define QMI_LOC_UMTS_CP_DATA_CODING_SCHEME_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0002) /**< Mask to denote that the data coding scheme +#define QMI_LOC_UMTS_CP_DATA_CODING_SCHEME_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0002) /**< Mask to denote that the data coding scheme is present in an NI notify verify request event. - This mask is set in the valid flags field of a + This mask is set in the valid flags field of a notify verify structure. */ -#define QMI_LOC_UMTS_CP_NOTIFICATION_TEXT_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0004) /**< Mask to denote that the notification text +#define QMI_LOC_UMTS_CP_NOTIFICATION_TEXT_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0004) /**< Mask to denote that the notification text is present in an NI notify verify request event. - This mask is set in the valid flags field of a + This mask is set in the valid flags field of a notify verify structure. */ -#define QMI_LOC_UMTS_CP_CLIENT_ADDRESS_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0008) /**< Mask to denote that the client address +#define QMI_LOC_UMTS_CP_CLIENT_ADDRESS_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0008) /**< Mask to denote that the client address is present in an NI notify verify request event. - This mask is set in the valid flags field of a + This mask is set in the valid flags field of a notify verify structure. */ -#define QMI_LOC_UMTS_CP_LOCATION_TYPE_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0010) /**< Mask to denote that the location type +#define QMI_LOC_UMTS_CP_LOCATION_TYPE_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0010) /**< Mask to denote that the location type is present in an NI notify verify request event. - This mask is set in the valid flags field of a + This mask is set in the valid flags field of a notify verify structure. */ -#define QMI_LOC_UMTS_CP_REQUESTOR_ID_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0020) /**< Mask to denote that the requestor ID +#define QMI_LOC_UMTS_CP_REQUESTOR_ID_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0020) /**< Mask to denote that the requestor ID is present in an NI notify verify request event. - This mask is set in the valid flags field of a + This mask is set in the valid flags field of a notify verify structure. */ -#define QMI_LOC_UMTS_CP_CODEWORD_STRING_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0040) /**< Mask to denote that the code word string +#define QMI_LOC_UMTS_CP_CODEWORD_STRING_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0040) /**< Mask to denote that the code word string is present in an NI notify verify request event. - This mask is set in the valid flags field of a + This mask is set in the valid flags field of a notify verify structure. */ -#define QMI_LOC_UMTS_CP_SERVICE_TYPE_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0080) /**< Mask to denote that the service type +#define QMI_LOC_UMTS_CP_SERVICE_TYPE_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0080) /**< Mask to denote that the service type is present in an NI notify verify request event. - This mask is set in the valid flags field of a + This mask is set in the valid flags field of a notify verify structure. */ -#define QMI_LOC_UMTS_CP_USER_RESP_TIMER_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0100) /**< Mask to denote that the user response timer +#define QMI_LOC_UMTS_CP_USER_RESP_TIMER_MASK_V02 ((qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02)0x0100) /**< Mask to denote that the user response timer is present in an NI notify verify request event. - This mask is set in the valid flags field of a + This mask is set in the valid flags field of a notify verify structure. */ /** @addtogroup loc_qmi_aggregates @{ @@ -1703,18 +1715,18 @@ typedef uint16_t qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02; typedef struct { qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02 valid_flags; - /**< Fields that are valid in this value. + /**< Fields that are valid in this value. Valid bitmasks: \begin{itemize1} \item 0x0001 -- INVOKE_ID_MASK - \item 0x0002 -- DATA_CODING_SCHEME_MASK - \item 0x0004 -- NOTIFICATION_TEXT_MASK - \item 0x0008 -- CLIENT_ADDRESS_MASK - \item 0x0010 -- LOCATION_TYPE_MASK + \item 0x0002 -- DATA_CODING_ SCHEME_MASK + \item 0x0004 -- NOTIFICATION_TEXT_ MASK + \item 0x0008 -- CLIENT_ADDRESS_ MASK + \item 0x0010 -- LOCATION_TYPE_ MASK \item 0x0020 -- REQUESTOR_ID_MASK - \item 0x0040 -- CODEWORD_STRING_MASK + \item 0x0040 -- CODEWORD_STRING_ MASK \item 0x0080 -- SERVICE_TYPE_MASK - \item 0x0100 -- USER_RESP_TIMER_MASK + \item 0x0100 -- USER_RESP_TIMER_ MASK \vspace{-0.18in} \end{itemize1} */ @@ -1723,7 +1735,7 @@ typedef struct { qmiLocNiDataCodingSchemeEnumT_v02 dataCodingScheme; /**< Type of data encoding scheme for the text. - Applies to both the notification text and the client address. + Applies to both the notification text and the client address. Valid values: \begin{itemize1} \item 0x0000000C -- NI_SS_GERMAN @@ -1741,10 +1753,10 @@ typedef struct { \item 0x00000018 -- NI_SS_TURKISH \item 0x00000019 -- NI_SS_HUNGARIAN \item 0x0000001A -- NI_SS_POLISH - \item 0x0000001B -- NI_SS_LANGUAGE_UNSPEC + \item 0x0000001B -- NI_SS_LANGUAGE_ UNSPEC \item 0x0000001C -- NI_SUPL_UTF8 \item 0x0000001D -- NI_SUPL_UCS2 - \item 0x0000001E -- NI_SUPL_GSM_DEFAULT + \item 0x0000001E -- NI_SUPL_GSM_ DEFAULT \vspace{-0.18in} \end{itemize1} */ @@ -1752,27 +1764,27 @@ typedef struct { uint8_t notificationText[QMI_LOC_NI_MAX_CLIENT_NAME_LENGTH_V02]; /**< Notification text; the encoding method is specified in dataCodingScheme. \n - - Type: Array of bytes \n + - Type: Array of bytes \n - Maximum array length: 64 */ uint32_t clientAddress_len; /**< Must be set to # of elements in clientAddress */ uint8_t clientAddress[QMI_LOC_NI_MAX_EXT_CLIENT_ADDRESS_V02]; /**< Client address; the encoding method is specified in - dataCodingScheme. \n + dataCodingScheme. \n - Maximum array length: 20 */ qmiLocNiLocationTypeEnumT_v02 locationType; - /**< Location type. + /**< Location type. Valid values: \begin{itemize1} - \item 0x00000001 -- CURRENT_LOCATION - \item 0x00000002 -- CURRENT_OR_LAST_KNOWN_LOCATION + \item 0x00000001 -- CURRENT_ LOCATION + \item 0x00000002 -- CURRENT_OR_ LAST_KNOWN_LOCATION \item 0x00000004 -- INITIAL_LOCATION \vspace{-0.18in} \end{itemize1} */ qmiLocNiUmtsCpCodedStringStructT_v02 requestorId; - /**< Requestor ID; the encoding method is specified in the + /**< Requestor ID; the encoding method is specified in the qmiLocNiUmtsCpCodedStringStructT.dataCodingScheme field. */ qmiLocNiUmtsCpCodedStringStructT_v02 codewordString; @@ -1783,7 +1795,7 @@ typedef struct { /**< Service type ID. */ uint16_t userResponseTimer; - /**< Time to wait for the user to respond. \n + /**< Time to wait for the user to respond. \n - Units: Seconds */ }qmiLocNiUmtsCpNotifyVerifyStructT_v02; /* Type */ /** @@ -1811,10 +1823,10 @@ typedef struct { /**< Ongoing NI session request; this information is currently not filled. */ qmiLocNiServiceInteractionEnumT_v02 serviceInteractionType; - /**< Service interaction type specified in qmiLocNiServiceInteractionEnumT. + /**< Service interaction type specified in qmiLocNiServiceInteractionEnumT. Valid values: \begin{itemize1} - \item 0x00000001 -- ONGOING_NI_INCOMING_MO + \item 0x00000001 -- ONGOING_NI_ INCOMING_MO \vspace{-0.18in} \end{itemize1} */ }qmiLocNiVxServiceInteractionStructT_v02; /* Type */ @@ -1825,34 +1837,34 @@ typedef struct { typedef uint16_t qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02; #define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_WLAN_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0001) /**< Denotes that WLAN measurements are allowed as part of location ID and multiple location IDs in the SUPL_POS_INIT message. */ -#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_GSM_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0002) /**< Denotes that GSM measurements are allowed as part of location ID +#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_GSM_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0002) /**< Denotes that GSM measurements are allowed as part of location ID and multiple location ID in the SUPL_POS_INIT message. */ #define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_WCDMA_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0004) /**< Denotes that WCDMA measurements are allowed as part of location ID and multiple location ID in the SUPL_POS_INIT message. */ -#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_CDMA_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0008) /**< Denotes that CDMA measurements are allowed as part of location ID +#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_CDMA_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0008) /**< Denotes that CDMA measurements are allowed as part of location ID and multiple location ID in the SUPL_POS_INIT message. */ -#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_HRDP_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0010) /**< Denotes that HRDP measurements are allowed as part of location ID +#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_HRDP_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0010) /**< Denotes that HRDP measurements are allowed as part of location ID and multiple location ID in the SUPL_POS_INIT message. */ -#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_UMB_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0020) /**< Denotes that UMB measurements are allowed as part of location ID +#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_UMB_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0020) /**< Denotes that UMB measurements are allowed as part of location ID and multiple location ID in the SUPL_POS_INIT message. */ -#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_LTE_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0040) /**< Denotes that LTE measurements are allowed as part of location ID +#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_LTE_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0040) /**< Denotes that LTE measurements are allowed as part of location ID and multiple location ID in the SUPL_POS_INIT message. */ -#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_WIMAX_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0080) /**< Denotes that WIMAX measurements are allowed as part of location ID +#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_WIMAX_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0080) /**< Denotes that WIMAX measurements are allowed as part of location ID and multiple location ID in the SUPL_POS_INIT message. */ -#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_HISTORIC_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0100) /**< Denotes that historical information is allowed as part of +#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_HISTORIC_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0100) /**< Denotes that historical information is allowed as part of multiple location ID in the SUPL_POS_INIT message. */ -#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_NONSVRV_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0200) /**< Denotes that information about nonserving cells is allowed +#define QMI_LOC_SUPL_VER_2_EXT_MASK_SUPPORTED_NETWORK_NONSVRV_V02 ((qmiLocNiSuplVer2ExtSupportedNetworksMaskT_v02)0x0200) /**< Denotes that information about nonserving cells is allowed as part of multiple location ID in the SUPL_POS_INIT message. */ /** @addtogroup loc_qmi_enums @{ */ typedef enum { QMILOCNISUPLVER2EXTTRIGGERTYPEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_SUPL_VER_2_EXT_TRIGGER_TYPE_SINGLE_SHOT_V02 = -1, /**< The SUPL INIT message indicates a request for a single shot + eQMI_LOC_SUPL_VER_2_EXT_TRIGGER_TYPE_SINGLE_SHOT_V02 = -1, /**< The SUPL INIT message indicates a request for a single shot triggered session. */ - eQMI_LOC_SUPL_VER_2_EXT_TRIGGER_TYPE_PERIODIC_V02 = 0, /**< The SUPL INIT message indicates a request for a periodic + eQMI_LOC_SUPL_VER_2_EXT_TRIGGER_TYPE_PERIODIC_V02 = 0, /**< The SUPL INIT message indicates a request for a periodic triggered session. */ - eQMI_LOC_SUPL_VER_2_EXT_TRIGGER_TYPE_AREA_EVENT_V02 = 1, /**< The SUPL INIT message indicates a request for an area event + eQMI_LOC_SUPL_VER_2_EXT_TRIGGER_TYPE_AREA_EVENT_V02 = 1, /**< The SUPL INIT message indicates a request for an area event triggered session. */ QMILOCNISUPLVER2EXTTRIGGERTYPEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiSuplVer2ExtTriggerTypeEnumT_v02; @@ -1878,16 +1890,16 @@ typedef struct { SUPL_POS_INIT message (see \hyperref[S4]{[S4]}). Valid bitmasks: \begin{itemize1} - \item 0x0001 -- SUPPORTED_NETWORK_WLAN - \item 0x0002 -- SUPPORTED_NETWORK_GSM - \item 0x0004 -- SUPPORTED_NETWORK_WCDMA - \item 0x0008 -- SUPPORTED_NETWORK_CDMA - \item 0x0010 -- SUPPORTED_NETWORK_HRDP - \item 0x0020 -- SUPPORTED_NETWORK_UMB - \item 0x0040 -- SUPPORTED_NETWORK_LTE - \item 0x0080 -- SUPPORTED_NETWORK_WIMAX - \item 0x0100 -- SUPPORTED_NETWORK_HISTORIC - \item 0x0200 -- SUPPORTED_NETWORK_NONSVRV + \item 0x0001 -- SUPPORTED_NETWORK_ WLAN + \item 0x0002 -- SUPPORTED_NETWORK_ GSM + \item 0x0004 -- SUPPORTED_NETWORK_ WCDMA + \item 0x0008 -- SUPPORTED_NETWORK_ CDMA + \item 0x0010 -- SUPPORTED_NETWORK_ HRDP + \item 0x0020 -- SUPPORTED_NETWORK_ UMB + \item 0x0040 -- SUPPORTED_NETWORK_ LTE + \item 0x0080 -- SUPPORTED_NETWORK_ WIMAX + \item 0x0100 -- SUPPORTED_NETWORK_ HISTORIC + \item 0x0200 -- SUPPORTED_NETWORK_ NONSVRV \vspace{-0.18in} \end{itemize1} */ @@ -1896,9 +1908,9 @@ typedef struct { SUPL_POS_INIT message (see \hyperref[S4]{[S4]}). Valid values: \begin{itemize1} - \item 0xFFFFFFFF -- TRIGGER_TYPE_SINGLE_SHOT - \item 0x00000000 -- TRIGGER_TYPE_PERIODIC - \item 0x00000001 -- TRIGGER_TYPE_AREA_EVENT + \item 0xFFFFFFFF -- TRIGGER_TYPE_ SINGLE_SHOT + \item 0x00000000 -- TRIGGER_TYPE_ PERIODIC + \item 0x00000001 -- TRIGGER_TYPE_ AREA_EVENT \vspace{-0.18in} \end{itemize1} */ qmiLocNiSuplVer2ExtGnssTypeMaskT_v02 gnssType; @@ -1924,7 +1936,7 @@ typedef struct { typedef struct { char eslpUrl[QMI_LOC_MAX_SERVER_ADDR_LENGTH_V02 + 1]; - /**< The ESLP URL + /**< The ESLP URL Maximum length: 255 bytes */ }qmiLocEmergencyNotificationStructT_v02; /* Type */ /** @@ -1940,14 +1952,14 @@ typedef struct { /* Mandatory */ /* Notification Type */ qmiLocNiNotifyVerifyEnumT_v02 notificationType; - /**< Type of notification/verification performed. + /**< Type of notification/verification performed. Valid values: \begin{itemize1} - \item 0x00000001 -- NO_NOTIFY_NO_VERIFY + \item 0x00000001 -- NO_NOTIFY_NO_ VERIFY \item 0x00000002 -- NOTIFY_ONLY \item 0x00000003 -- ALLOW_NO_RESP - \item 0x00000004 -- NOT_ALLOW_NO_RESP - \item 0x00000005 -- PRIVACY_OVERRIDE + \item 0x00000004 -- NOT_ALLOW_NO_ RESP + \item 0x00000005 -- PRIVACY_ OVERRIDE \vspace{-0.18in} \end{itemize1} */ @@ -1979,15 +1991,15 @@ typedef struct { /* Network Initiated SUPL Version 2 Extension */ uint8_t NiSuplVer2ExtInd_valid; /**< Must be set to true if NiSuplVer2ExtInd is being passed */ qmiLocNiSuplVer2ExtStructT_v02 NiSuplVer2ExtInd; - /**< \n Optional NI SUPL Version 2 Extension payload. When present, - this payload is to be used in conjunction with the SUPL + /**< \n Optional NI SUPL Version 2 Extension payload. When present, + this payload is to be used in conjunction with the SUPL indication payload. */ /* Optional */ /* SUPL Emergency Notification */ uint8_t suplEmergencyNotification_valid; /**< Must be set to true if suplEmergencyNotification is being passed */ qmiLocEmergencyNotificationStructT_v02 suplEmergencyNotification; - /**< This specifies that the corresponding NI notification is an + /**< This specifies that the corresponding NI notification is an emergency notification. Emergency notification can be given even without an ESLP address */ }qmiLocEventNiNotifyVerifyReqIndMsgT_v02; /* Message */ @@ -2018,14 +2030,14 @@ typedef struct { uint32_t delayThreshold; /**< The time server is to be skipped if a one-way delay to the server - exceeds this threshold. \n + exceeds this threshold. \n - Units: Milliseconds */ uint32_t timeServerList_len; /**< Must be set to # of elements in timeServerList */ qmiLocAssistanceServerUrlStructT_v02 timeServerList[QMI_LOC_MAX_NTP_SERVERS_V02]; /**< List of Time Server URL's that are recommended by the service for time - information, the list is ordered, the client is to use the first - server specified in the list as the primary URL to fetch NTP time, + information, the list is ordered, the client is to use the first + server specified in the list as the primary URL to fetch NTP time, the second one as secondary, and so on. \n - Maximum server list items: 3 */ }qmiLocTimeServerListStructT_v02; /* Type */ @@ -2075,7 +2087,7 @@ typedef struct { /**< List of predicted orbits URLs. The list is ordered, so the client must use the first server specified in the list as the primary URL from which to download predicted orbits data, the second one as - secondary, and so on. \n + secondary, and so on. \n - Maximum number of servers that can be specified: 3 */ }qmiLocPredictedOrbitsServerListStructT_v02; /* Type */ /** @@ -2174,7 +2186,7 @@ typedef struct { /* Mandatory */ /* Engine State */ qmiLocEngineStateEnumT_v02 engineState; - /**< Location engine state. + /**< Location engine state. Valid values: \n - 0x00000001 -- ON \n @@ -2207,7 +2219,7 @@ typedef struct { /* Mandatory */ /* Session State */ qmiLocFixSessionStateEnumT_v02 sessionState; - /**< LOC fix session state. + /**< LOC fix session state. Valid values: \n - 0x00000001 -- STARTED \n @@ -2250,12 +2262,12 @@ typedef struct { /* Mandatory */ /* Request Type */ qmiLocWifiRequestEnumT_v02 requestType; - /**< Request type as specified in qmiWifiRequestEnumT. + /**< Request type as specified in qmiWifiRequestEnumT. Valid values: \begin{itemize1} - \item 0x00000000 -- START_PERIODIC_HI_FREQ_FIXES - \item 0x00000001 -- START_PERIODIC_KEEP_WARM - \item 0x00000002 -- STOP_PERIODIC_FIXES + \item 0x00000000 -- START_PERIODIC_ HI_FREQ_FIXES + \item 0x00000001 -- START_PERIODIC_ KEEP_WARM + \item 0x00000002 -- STOP_PERIODIC_ FIXES \vspace{-0.18in} \end{itemize1} */ @@ -2277,18 +2289,18 @@ typedef struct { uint16_t samplesPerBatch; /**< Specifies the number of samples per batch the GNSS location engine is to - receive. The sensor sampling frequency can be computed as follows: \n - - samplingFrequency = samplesPerBatch * batchesPerSecond \n - + receive. The sensor sampling frequency can be computed as follows: \vspace{-0.06in} \n + + samplingFrequency = samplesPerBatch * batchesPerSecond \vspace{-0.06in} \n + samplesPerBatch must be a nonzero positive value. */ uint16_t batchesPerSecond; /**< Number of sensor-data batches the GNSS location engine is to receive per second. The rate is specified in an integral number of batches per - second (Hz). \n - + second (Hz). \vspace{-0.06in} \n + batchesPerSecond must be a nonzero positive value. */ }qmiLocSensorControlConfigSamplingSpecStructT_v02; /* Type */ @@ -2302,7 +2314,7 @@ typedef struct { typedef struct { uint8_t injectEnable; - /**< Whether the GNSS location engine is ready to accept data from this + /**< Whether the GNSS location engine is ready to accept data from this sensor. Valid values: \begin{itemize1} @@ -2326,7 +2338,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Notifies the control point if the GNSS location engine is +/** Indication Message; Notifies the control point if the GNSS location engine is ready to accept sensor data. */ typedef struct { @@ -2334,7 +2346,7 @@ typedef struct { /* Accelerometer Accept Ready */ uint8_t accelReady_valid; /**< Must be set to true if accelReady is being passed */ qmiLocSensorReadyStatusStructT_v02 accelReady; - /**< \n Whether the GNSS location engine is ready to accept accelerometer + /**< \n Whether the GNSS location engine is ready to accept accelerometer sensor data. */ @@ -2342,7 +2354,7 @@ typedef struct { /* Gyroscope Accept Ready */ uint8_t gyroReady_valid; /**< Must be set to true if gyroReady is being passed */ qmiLocSensorReadyStatusStructT_v02 gyroReady; - /**< \n Whether the GNSS location engine is ready to accept gyroscope sensor + /**< \n Whether the GNSS location engine is ready to accept gyroscope sensor data. */ @@ -2350,7 +2362,7 @@ typedef struct { /* Accelerometer Temperature Accept Ready */ uint8_t accelTemperatureReady_valid; /**< Must be set to true if accelTemperatureReady is being passed */ qmiLocSensorReadyStatusStructT_v02 accelTemperatureReady; - /**< \n Whether the GNSS location engine is ready to accept accelerometer + /**< \n Whether the GNSS location engine is ready to accept accelerometer temperature data. */ @@ -2369,16 +2381,16 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Notifies the control point to inject time synchronization +/** Indication Message; Notifies the control point to inject time synchronization data. */ typedef struct { /* Mandatory */ /* Opaque Time Sync Reference Counter */ uint32_t refCounter; - /**< This TLV is sent to registered control points. It is sent by - the location engine when it needs to synchronize location engine and - control point (sensor processor) times. + /**< This TLV is sent to registered control points. It is sent by + the location engine when it needs to synchronize location engine and + control point (sensor processor) times. This TLV must be echoed back in the Time Sync Inject request. */ }qmiLocEventTimeSyncReqIndMsgT_v02; /* Message */ /** @@ -2434,7 +2446,7 @@ typedef enum { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Requests the client to open or close a connection +/** Indication Message; Requests the client to open or close a connection to the assisted GPS location server. */ typedef struct { @@ -2456,11 +2468,11 @@ typedef struct { /* Mandatory */ /* WWAN Type */ qmiLocWWANTypeEnumT_v02 wwanType; - /**< Identifies the WWAN type for this request. \n + /**< Identifies the WWAN type for this request. Valid values: \begin{itemize1} - \item 0x00000000 -- WWAN_TYPE_INTERNET - \item 0x00000001 -- WWAN_TYPE_AGNSS + \item 0x00000000 -- WWAN_TYPE_ INTERNET + \item 0x00000001 -- WWAN_TYPE_ AGNSS \vspace{-0.18in} \end{itemize1} */ }qmiLocEventLocationServerConnectionReqIndMsgT_v02; /* Message */ @@ -2493,7 +2505,7 @@ typedef struct { /* Mandatory */ /* Geofence ID */ uint32_t geofenceId; - /**< ID of the Geofence for which this + /**< ID of the Geofence for which this notification was generated. */ /* Mandatory */ @@ -2502,9 +2514,9 @@ typedef struct { /**< Operation for which this notification was generated. Valid values: \begin{itemize1} - \item 0x00000001 -- NI_GEOFENCE_ADDED - \item 0x00000002 -- NI_GEOFENCE_DELETED - \item 0x00000003 -- NI_GEOFENCE_EDITED + \item 0x00000001 -- NI_GEOFENCE_ ADDED + \item 0x00000002 -- NI_GEOFENCE_ DELETED + \item 0x00000003 -- NI_GEOFENCE_ EDITED \vspace{-0.18in} \end{itemize1} */ }qmiLocEventNiGeofenceNotificationIndMsgT_v02; /* Message */ @@ -2517,7 +2529,7 @@ typedef struct { */ typedef enum { QMILOCGEOFENCEGENALERTENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_GEOFENCE_GEN_ALERT_GNSS_UNAVAILABLE_V02 = 1, /**< GNSS is unavailable and GNSS position fixes + eQMI_LOC_GEOFENCE_GEN_ALERT_GNSS_UNAVAILABLE_V02 = 1, /**< GNSS is unavailable and GNSS position fixes cannot be used to monitor Geofences. */ eQMI_LOC_GEOFENCE_GEN_ALERT_GNSS_AVAILABLE_V02 = 2, /**< GNSS is now available and GNSS postion fixes can be used to monitor Geofences. */ @@ -2540,13 +2552,13 @@ typedef struct { /* Mandatory */ /* Geofence General Alert */ qmiLocGeofenceGenAlertEnumT_v02 geofenceAlert; - /**< Specifies the Geofence general alert type. + /**< Specifies the Geofence general alert type. Valid values: \begin{itemize1} - \item 0x00000001 -- GEOFENCE_GEN_ALERT_GNSS_UNAVAILABLE - \item 0x00000002 -- GEOFENCE_GEN_ALERT_GNSS_AVAILABLE - \item 0x00000003 -- GEOFENCE_GEN_ALERT_OOS - \item 0x00000004 -- GEOFENCE_GEN_ALERT_TIME_INVALID + \item 0x00000001 -- GEOFENCE_GEN_ ALERT_GNSS_UNAVAILABLE + \item 0x00000002 -- GEOFENCE_GEN_ ALERT_GNSS_AVAILABLE + \item 0x00000003 -- GEOFENCE_GEN_ ALERT_OOS + \item 0x00000004 -- GEOFENCE_GEN_ ALERT_TIME_INVALID \vspace{-0.18in} \end{itemize1} */ }qmiLocEventGeofenceGenAlertIndMsgT_v02; /* Message */ @@ -2709,7 +2721,7 @@ typedef struct { /* Mandatory */ /* Geofence ID */ uint32_t geofenceId; - /**< ID of the Geofence for which this + /**< ID of the Geofence for which this notification was generated. */ /* Mandatory */ @@ -2718,8 +2730,8 @@ typedef struct { /**< The type of breach that generated this event. Valid values: \begin{itemize1} - \item 0x00000001 -- GEOFENCE_BREACH_TYPE_ENTERING - \item 0x00000002 -- GEOFENCE_BREACH_TYPE_LEAVING + \item 0x00000001 -- GEOFENCE_ BREACH_TYPE_ENTERING + \item 0x00000002 -- GEOFENCE_ BREACH_TYPE_LEAVING \vspace{-0.18in} \end{itemize1} */ @@ -2747,10 +2759,10 @@ typedef struct { /* Mandatory */ /* Request Pedometer Data */ uint8_t requestPedometerData; - /**< \n Whether GNSS location engine is requesting the client to + /**< \n Whether GNSS location engine is requesting the client to send pedometer data. \begin{itemize1} - \item 0x01 (TRUE) -- GNSS location engine is requesting + \item 0x01 (TRUE) -- GNSS location engine is requesting pedometer data \item 0x00 (FALSE) -- GNSS location engine is not requesting pedometer data @@ -2763,7 +2775,7 @@ typedef struct { uint8_t resetStepCount; /**< Whether location engine desires the step count to be reset. \begin{itemize1} - \item 0x01 (TRUE) -- Pedometer step count should be reset. + \item 0x01 (TRUE) -- Pedometer step count should be reset. \item 0x00 (FALSE) -- Pedometer step count should not be reset. \vspace{-0.18in} \end{itemize1} */ @@ -2772,7 +2784,7 @@ typedef struct { uint8_t stepCountThreshold_valid; /**< Must be set to true if stepCountThreshold is being passed */ uint32_t stepCountThreshold; /**< Specifies the number of steps to be sampled in a pedometer report - as recommended by the the location engine. If the threshold is set to 0 + as recommended by the the location engine. If the threshold is set to 0 then the location engine desires a pedometer report at every step event. */ }qmiLocEventPedometerControlIndMsgT_v02; /* Message */ @@ -2790,12 +2802,12 @@ typedef struct { /* Mandatory */ /* Request Motion Data */ uint8_t requestMotionData; - /**< \n Whether GNSS location engine is requesting the client to + /**< \n Whether GNSS location engine is requesting the client to send motion data. \begin{itemize1} - \item 0x01 (TRUE) -- GNSS location engine is requesting + \item 0x01 (TRUE) -- GNSS location engine is requesting motion data - \item 0x00 (FALSE) -- GNSS location engine is not requesting + \item 0x00 (FALSE) -- GNSS location engine is not requesting motion data \vspace{-0.18in} \end{itemize1} */ @@ -2840,13 +2852,13 @@ typedef struct { /* Mandatory */ /* Get Revision Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get Revision request. + /**< Status of the Get Revision request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -2857,7 +2869,7 @@ typedef struct { /* Interface Definition Minor Revision */ uint32_t revision; /**< Revision of the service. This is the minor revision of the interface that - the service implements. Minor revision updates of the service are always + the service implements. Minor revision updates of the service are always backward compatible. */ /* Optional */ @@ -2869,7 +2881,7 @@ typedef struct { \item Type: NULL-terminated string \item Maximum string length (including NULL terminator): 128 \vspace{0.1in} \end{itemize1} - + \textbf{Note:} This string is only provided on platforms that have a measurement engine that supports this version string. On all other platforms, this optional TLV is not provided. */ @@ -2883,7 +2895,7 @@ typedef struct { \item Type: NULL-terminated string \item Maximum string length (including NULL terminator): 128 \vspace{0.1in}\end{itemize1} - + \textbf{Note:} This string is only provided on hosted architectures (measurement and position engine running on different processors) that support this version string. On all other platforms, this optional TLV @@ -2918,13 +2930,13 @@ typedef struct { /* Mandatory */ /* Get Fix Criteria Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get Fix Criteria request. + /**< Status of the Get Fix Criteria request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -2949,10 +2961,10 @@ typedef struct { uint8_t intermediateReportState_valid; /**< Must be set to true if intermediateReportState is being passed */ qmiLocIntermediateReportStateEnumT_v02 intermediateReportState; /**< Intermediate Report state (ON, OFF).\n - The client must explicitly set this field to OFF to stop receiving + The client must explicitly set this field to OFF to stop receiving intermediate position reports. Intermediate position reports are generated at \n 1 Hz and are ON by default. If intermediate reports - are turned ON, the client receives position reports even if the + are turned ON, the client receives position reports even if the accuracy criteria is not met. The status in the position report is set to IN_PROGRESS for intermediate reports. @@ -3005,26 +3017,26 @@ typedef struct { /* Mandatory */ /* User Response */ qmiLocNiUserRespEnumT_v02 userResp; - /**< User accepted or denied. + /**< User accepted or denied. Valid values: \begin{itemize1} - \item 0x00000001 -- NOTIFY_VERIFY_ACCEPT - \item 0x00000002 -- NOTIFY_VERIFY_DENY - \item 0x00000003 -- NOTIFY_VERIFY_NORESP + \item 0x00000001 -- NOTIFY_VERIFY_ ACCEPT + \item 0x00000002 -- NOTIFY_VERIFY_ DENY + \item 0x00000003 -- NOTIFY_VERIFY_ NORESP \vspace{-0.18in} \end{itemize1} */ /* Mandatory */ /* Notification Type */ qmiLocNiNotifyVerifyEnumT_v02 notificationType; - /**< Type of notification/verification performed. + /**< Type of notification/verification performed. Valid values: \begin{itemize1} - \item 0x00000001 -- NO_NOTIFY_NO_VERIF + \item 0x00000001 -- NO_NOTIFY_NO_ VERIF \item 0x00000002 -- NOTIFY_ONLY \item 0x00000003 -- ALLOW_NO_RESP - \item 0x00000004 -- NOT_ALLOW_NO_RESP - \item 0x00000005 -- PRIVACY_OVERRIDE + \item 0x00000004 -- NOT_ALLOW_NO_ RESP + \item 0x00000005 -- PRIVACY_ OVERRIDE \vspace{-0.18in} \end{itemize1} */ @@ -3079,13 +3091,13 @@ typedef struct { /* Mandatory */ /* NI User Response Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the NI User Response request. + /**< Status of the NI User Response request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3136,18 +3148,18 @@ typedef struct { uint32_t partData_len; /**< Must be set to # of elements in partData */ char partData[QMI_LOC_MAX_PREDICTED_ORBITS_PART_LEN_V02]; /**< Predicted orbits data. \n - - Type: Array of bytes \n - - Maximum length of the array: 1024 + - Type: Array of bytes \n + - Maximum length of the array: 1024 */ /* Optional */ /* Format Type */ uint8_t formatType_valid; /**< Must be set to true if formatType is being passed */ qmiLocPredictedOrbitsDataFormatEnumT_v02 formatType; - /**< Predicted orbits data format. + /**< Predicted orbits data format. Valid values: \begin{itemize1} - \item 0x00000000 -- PREDICTED_ORBITS_XTRA + \item 0x00000000 -- PREDICTED_ ORBITS_XTRA \vspace{-0.18in} \end{itemize1} */ }qmiLocInjectPredictedOrbitsDataReqMsgT_v02; /* Message */ @@ -3170,7 +3182,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3203,13 +3215,13 @@ typedef struct { /* Mandatory */ /* Predicted Orbits Data Source Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the query request for a predicted orbits data source. + /**< Status of the query request for a predicted orbits data source. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3246,12 +3258,12 @@ typedef struct { uint64_t startTimeInUTC; /**< Predicted orbits data is valid starting from this time. \n - - Units: Seconds (since Jan. 1, 1970) + - Units: Seconds (since Jan. 1, 1970) */ uint16_t durationHours; /**< Duration from the start time for which the data is valid.\n - - Units: Hours + - Units: Hours */ }qmiLocPredictedOrbitsDataValidityStructT_v02; /* Type */ /** @@ -3267,13 +3279,13 @@ typedef struct { /* Mandatory */ /* Predicted Orbits Data Validity Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the query request for predicted orbits data validity. + /**< Status of the query request for predicted orbits data validity. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3320,13 +3332,13 @@ typedef struct { /* Mandatory */ /* UTC Time Injection Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the UTC Time Injection request. + /**< Status of the UTC Time Injection request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3382,7 +3394,7 @@ typedef enum { eQMI_LOC_ALT_UNCERTAINTY_POINT_V02 = 1, /**< Altitude uncertainty is valid at the injected horizontal position coordinates only. */ eQMI_LOC_ALT_UNCERTAINTY_FULL_V02 = 2, /**< Altitude uncertainty applies to the position of the device - regardless of horizontal position (within the horizontal + regardless of horizontal position (within the horizontal uncertainty region, if provided). */ QMILOCALTSRCUNCERTAINTYCOVERAGEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocAltSrcUncertaintyCoverageEnumT_v02; @@ -3396,43 +3408,43 @@ typedef enum { typedef struct { qmiLocAltSrcEnumT_v02 source; - /**< Specifies the source of the altitude. + /**< Specifies the source of the altitude. Valid values: \begin{itemize1} - \item 0x00000000 -- ALT_SRC_UNKNOWN + \item 0x00000000 -- ALT_SRC_ UNKNOWN \item 0x00000001 -- ALT_SRC_GPS \item 0x00000002 -- ALT_SRC_CELL_ID - \item 0x00000003 -- ALT_SRC_ENHANCED_CELL_ID + \item 0x00000003 -- ALT_SRC_ ENHANCED_CELL_ID \item 0x00000004 -- ALT_SRC_WIFI - \item 0x00000005 -- ALT_SRC_TERRESTRIAL - \item 0x00000006 -- ALT_SRC_TERRESTRIAL_HYBRID - \item 0x00000007 -- ALT_SRC_ALTITUDE_DATABASE - \item 0x00000008 -- ALT_SRC_BAROMETRIC_ALTIMETER + \item 0x00000005 -- ALT_SRC_ TERRESTRIAL + \item 0x00000006 -- ALT_SRC_ TERRESTRIAL_HYBRID + \item 0x00000007 -- ALT_SRC_ ALTITUDE_DATABASE + \item 0x00000008 -- ALT_SRC_ BAROMETRIC_ALTIMETER \item 0x00000009 -- ALT_SRC_OTHER \vspace{-0.18in} \end{itemize1} */ qmiLocAltSrcLinkageEnumT_v02 linkage; - /**< Specifies the dependency between the horizontal and - altitude position components. + /**< Specifies the dependency between the horizontal and + altitude position components. Valid values: \begin{itemize1} - \item 0x00000000 -- SRC_LINKAGE_NOT_SPECIFIED - \item 0x00000001 -- SRC_LINKAGE_FULLY_INTERDEPENDENT - \item 0x00000002 -- SRC_LINKAGE_DEPENDS_ON_LAT_LONG - \item 0x00000003 -- SRC_LINKAGE_FULLY_INDEPENDENT + \item 0x00000000 -- SRC_LINKAGE_ NOT_SPECIFIED + \item 0x00000001 -- SRC_LINKAGE_ FULLY_INTERDEPENDENT + \item 0x00000002 -- SRC_LINKAGE_ DEPENDS_ON_LAT_LONG + \item 0x00000003 -- SRC_LINKAGE_ FULLY_INDEPENDENT \vspace{-0.18in} \end{itemize1} */ qmiLocAltSrcUncertaintyCoverageEnumT_v02 coverage; - /**< Specifies the region of uncertainty. + /**< Specifies the region of uncertainty. Valid values: \begin{itemize1} - \item 0x00000000 -- UNCERTAINTY_NOT_SPECIFIED - \item 0x00000001 -- UNCERTAINTY_POINT: Altitude uncertainty is valid + \item 0x00000000 -- UNCERTAINTY_ NOT_SPECIFIED + \item 0x00000001 -- UNCERTAINTY_ POINT: Altitude uncertainty is valid at the injected horizontal position coordinates only. - \item 0x00000002 -- UNCERTAINTY_FULL: Altitude uncertainty applies to + \item 0x00000002 -- UNCERTAINTY_ FULL: Altitude uncertainty applies to the position of the device regardless of horizontal position (within the horizontal uncertainty region, if provided). @@ -3523,11 +3535,11 @@ typedef struct { /**< Specifies the reliability of the horizontal position. Valid values: \begin{itemize1} - \item 0x00000000 -- eQMI_LOC_RELIABILITY_NOT_SET - \item 0x00000001 -- eQMI_LOC_RELIABILITY_VERY_LOW - \item 0x00000002 -- eQMI_LOC_RELIABILITY_LOW - \item 0x00000003 -- eQMI_LOC_RELIABILITY_MEDIUM - \item 0x00000004 -- eQMI_LOC_RELIABILITY_HIGH + \item 0x00000000 -- eQMI_LOC_ RELIABILITY_NOT_SET + \item 0x00000001 -- eQMI_LOC_ RELIABILITY_VERY_LOW + \item 0x00000002 -- eQMI_LOC_ RELIABILITY_LOW + \item 0x00000003 -- eQMI_LOC_ RELIABILITY_MEDIUM + \item 0x00000004 -- eQMI_LOC_ RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1} */ @@ -3575,14 +3587,14 @@ typedef struct { /* Vertical Reliability */ uint8_t vertReliability_valid; /**< Must be set to true if vertReliability is being passed */ qmiLocReliabilityEnumT_v02 vertReliability; - /**< Specifies the reliability of the vertical position. + /**< Specifies the reliability of the vertical position. Valid values: \begin{itemize1} - \item 0x00000000 -- eQMI_LOC_RELIABILITY_NOT_SET - \item 0x00000001 -- eQMI_LOC_RELIABILITY_VERY_LOW - \item 0x00000002 -- eQMI_LOC_RELIABILITY_LOW - \item 0x00000003 -- eQMI_LOC_RELIABILITY_MEDIUM - \item 0x00000004 -- eQMI_LOC_RELIABILITY_HIGH + \item 0x00000000 -- eQMI_LOC_ RELIABILITY_NOT_SET + \item 0x00000001 -- eQMI_LOC_ RELIABILITY_VERY_LOW + \item 0x00000002 -- eQMI_LOC_ RELIABILITY_LOW + \item 0x00000003 -- eQMI_LOC_ RELIABILITY_MEDIUM + \item 0x00000004 -- eQMI_LOC_ RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1} */ @@ -3613,20 +3625,20 @@ typedef struct { /**< Source from which this position was obtained. Valid values: \begin{itemize1} - \item 0x00000000 -- eQMI_LOC_POSITION_SRC_GNSS - \item 0x00000001 -- eQMI_LOC_POSITION_SRC_CELLID - \item 0x00000002 -- eQMI_LOC_POSITION_SRC_ENH_CELLID - \item 0x00000003 -- eQMI_LOC_POSITION_SRC_WIFI - \item 0x00000004 -- eQMI_LOC_POSITION_SRC_TERRESTRIAL - \item 0x00000005 -- eQMI_LOC_POSITION_SRC_GNSS_TERRESTRIAL_HYBRID - \item 0x00000006 -- eQMI_LOC_POSITION_SRC_OTHER + \item 0x00000000 -- eQMI_LOC_ POSITION_SRC_GNSS + \item 0x00000001 -- eQMI_LOC_ POSITION_SRC_CELLID + \item 0x00000002 -- eQMI_LOC_ POSITION_SRC_ENH_CELLID + \item 0x00000003 -- eQMI_LOC_ POSITION_SRC_WIFI + \item 0x00000004 -- eQMI_LOC_ POSITION_SRC_TERRESTRIAL + \item 0x00000005 -- eQMI_LOC_ POSITION_SRC_GNSS_ TERRESTRIAL_HYBRID + \item 0x00000006 -- eQMI_LOC_ POSITION_SRC_OTHER \end{itemize1} \vspace{0.05in} - If altitude is specified and the altitude source is not specified, the engine + If altitude is specified and the altitude source is not specified, the engine assumes that the altitude was obtained using the specified position source. \n If both altitude and altitude source are specified, the engine assumes that only latitude and longitude were obtained using the specified position - source. + source. */ }qmiLocInjectPositionReqMsgT_v02; /* Message */ /** @@ -3648,7 +3660,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3683,14 +3695,14 @@ typedef struct { /* Mandatory */ /* Lock Type */ qmiLocLockEnumT_v02 lockType; - /**< Type of lock. + /**< Type of lock. Valid values: \n - 0x00000001 -- LOCK_NONE \n - 0x00000002 -- LOCK_MI \n - 0x00000003 -- LOCK_MT \n - 0x00000004 -- LOCK_ALL - + */ }qmiLocSetEngineLockReqMsgT_v02; /* Message */ /** @@ -3712,7 +3724,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3738,13 +3750,13 @@ typedef struct { /* Mandatory */ /* Get Engine Lock Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get Engine Lock request. + /**< Status of the Get Engine Lock request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3755,7 +3767,7 @@ typedef struct { /* Lock Type */ uint8_t lockType_valid; /**< Must be set to true if lockType is being passed */ qmiLocLockEnumT_v02 lockType; - /**< Type of lock. + /**< Type of lock. Valid values: \n - 0x00000001 -- LOCK_NONE \n @@ -3777,7 +3789,7 @@ typedef struct { /* Mandatory */ /* SBAS Config */ uint8_t sbasConfig; - /**< Whether SBAS configuration is enabled. + /**< Whether SBAS configuration is enabled. \begin{itemize1} \item 0x01 (TRUE) -- SBAS configuration is enabled \item 0x00 (FALSE) -- SBAS configuration is disabled @@ -3796,13 +3808,13 @@ typedef struct { /* Mandatory */ /* Set SBAS Config Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Set SBAS Configuration request. + /**< Status of the Set SBAS Configuration request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3828,13 +3840,13 @@ typedef struct { /* Mandatory */ /* Get SBAS Config Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get SBAS Configuration request. + /**< Status of the Get SBAS Configuration request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3881,7 +3893,7 @@ typedef struct { - 0x00000008 -- NMEA_MASK_GSA \n - 0x00000010 -- NMEA_MASK_VTG \n - 0x00000020 -- NMEA_MASK_PQXFI \n - - 0x00000040 -- NMEA_MASK_PSTIS + - 0x00000040 -- NMEA_MASK_PSTIS */ }qmiLocSetNmeaTypesReqMsgT_v02; /* Message */ /** @@ -3897,13 +3909,13 @@ typedef struct { /* Mandatory */ /* Set NMEA Types Status */ qmiLocStatusEnumT_v02 status; - /**< Status of Set NMEA Types request. + /**< Status of Set NMEA Types request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3929,13 +3941,13 @@ typedef struct { /* Mandatory */ /* Get NMEA Types Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get NMEA Types request. + /**< Status of the Get NMEA Types request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -3946,7 +3958,7 @@ typedef struct { /* NMEA Sentence Types */ uint8_t nmeaSentenceType_valid; /**< Must be set to true if nmeaSentenceType is being passed */ qmiLocNmeaSentenceMaskT_v02 nmeaSentenceType; - /**< NMEA types to enable. + /**< NMEA types to enable. Valid bitmasks: \n - 0x0000ffff -- NMEA_MASK_ALL \n @@ -3956,7 +3968,7 @@ typedef struct { - 0x00000008 -- NMEA_MASK_GSA \n - 0x00000010 -- NMEA_MASK_VTG \n - 0x00000020 -- NMEA_MASK_PQXFI \n - - 0x00000040 -- NMEA_MASK_PSTIS + - 0x00000040 -- NMEA_MASK_PSTIS */ }qmiLocGetNmeaTypesIndMsgT_v02; /* Message */ /** @@ -3989,13 +4001,13 @@ typedef struct { /* Mandatory */ /* Set LPM Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Set Low Power Mode request. + /**< Status of the Set Low Power Mode request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4021,13 +4033,13 @@ typedef struct { /* Mandatory */ /* Get LPM Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get LPM request. + /**< Status of the Get LPM request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4070,7 +4082,7 @@ typedef struct { /* Mandatory */ /* Server Type */ qmiLocServerTypeEnumT_v02 serverType; - /**< Type of server. + /**< Type of server. Valid values: \n - 0x00000001 -- CDMA_PDE \n @@ -4121,7 +4133,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4141,7 +4153,7 @@ typedef struct { /* Mandatory */ /* Server Type */ qmiLocServerTypeEnumT_v02 serverType; - /**< Type of server, as defined in qmiLocServerTypeEnumT. + /**< Type of server, as defined in qmiLocServerTypeEnumT. Valid values: \n - 0x00000001 -- CDMA_PDE \n @@ -4156,7 +4168,7 @@ typedef struct { qmiLocServerAddrTypeMaskT_v02 serverAddrTypeMask; /**< Type of address the client wants. If unspecified, the indication will contain all the types of addresses - it has for the specified server type. + it has for the specified server type. Valid bitmasks: \n - 0x01 -- IPV4 \n @@ -4177,13 +4189,13 @@ typedef struct { /* Mandatory */ /* Get Server Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get Server request. + /**< Status of the Get Server request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4193,7 +4205,7 @@ typedef struct { /* Mandatory */ /* Server Type */ qmiLocServerTypeEnumT_v02 serverType; - /**< Type of server, as defined in qmiLocServerTypeEnumT. + /**< Type of server, as defined in qmiLocServerTypeEnumT. Valid values: \n - 0x00000001 -- CDMA_PDE \n @@ -4220,7 +4232,7 @@ typedef struct { char urlAddr[QMI_LOC_MAX_SERVER_ADDR_LENGTH_V02 + 1]; /**< URL. \begin{itemize1} - \item Type: NULL-terminated string + \item Type: NULL-terminated string \item Maximum string length (including NULL terminator): 256 \vspace{-0.18in} \end{itemize1} */ @@ -4283,7 +4295,7 @@ typedef struct { uint16_t gnssSvId; /**< SV ID of the satellite whose data is to be deleted. \begin{itemize1} - \item Range: \begin{itemize1} + \item Range: \begin{itemize1} \item For GPS: 1 to 32 \item For SBAS: 33 to 64 \item For GLONASS: 65 to 96 @@ -4293,11 +4305,11 @@ typedef struct { /**< Indicates to which constellation this SV belongs. Valid values: \begin{itemize1} - \item 0x00000001 -- eQMI_LOC_SV_SYSTEM_GPS - \item 0x00000002 -- eQMI_LOC_SV_SYSTEM_GALILEO - \item 0x00000003 -- eQMI_LOC_SV_SYSTEM_SBAS - \item 0x00000004 -- eQMI_LOC_SV_SYSTEM_COMPASS - \item 0x00000005 -- eQMI_LOC_SV_SYSTEM_GLONASS + \item 0x00000001 -- eQMI_LOC_SV_ SYSTEM_GPS + \item 0x00000002 -- eQMI_LOC_SV_ SYSTEM_GALILEO + \item 0x00000003 -- eQMI_LOC_SV_ SYSTEM_SBAS + \item 0x00000004 -- eQMI_LOC_SV_ SYSTEM_COMPASS + \item 0x00000005 -- eQMI_LOC_SV_ SYSTEM_GLONASS \vspace{-0.18in} \end{itemize1} */ @@ -4306,7 +4318,7 @@ typedef struct { is to be deleted. \n Valid values: \n - 0x01 -- DELETE_EPHEMERIS \n - - 0x02 -- DELETE_ALMANAC + - 0x02 -- DELETE_ALMANAC */ }qmiLocDeleteSvInfoStructT_v02; /* Type */ /** @@ -4316,7 +4328,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; This command is used to delete the location engine +/** Request Message; This command is used to delete the location engine assistance data */ typedef struct { @@ -4326,9 +4338,9 @@ typedef struct { /**< Whether all assistance data is to be deleted. Valid values: \begin{itemize1} - \item 0x01 (TRUE) -- All assistance data is to be deleted; if - this flag is set, all the other information - contained in the optional fields for this + \item 0x01 (TRUE) -- All assistance data is to be deleted; if + this flag is set, all the other information + contained in the optional fields for this message are ignored \item 0x00 (FALSE) -- The optional fields in the message are to be used to determine which data is to be deleted @@ -4339,26 +4351,26 @@ typedef struct { uint8_t deleteSvInfoList_valid; /**< Must be set to true if deleteSvInfoList is being passed */ uint32_t deleteSvInfoList_len; /**< Must be set to # of elements in deleteSvInfoList */ qmiLocDeleteSvInfoStructT_v02 deleteSvInfoList[QMI_LOC_DELETE_MAX_SV_INFO_LENGTH_V02]; - /**< \n List of satellites for which the assistance data is to be deleted. + /**< \n List of satellites for which the assistance data is to be deleted. */ /* Optional */ /* Delete GNSS Data */ uint8_t deleteGnssDataMask_valid; /**< Must be set to true if deleteGnssDataMask is being passed */ qmiLocDeleteGnssDataMaskT_v02 deleteGnssDataMask; - /**< Mask for the GNSS data that is to be deleted. + /**< Mask for the GNSS data that is to be deleted. Valid values: \begin{itemize1} \item 0x00000001 -- DELETE_GPS_SVDIR - \item 0x00000002 -- DELETE_GPS_SVSTEER + \item 0x00000002 -- DELETE_GPS_ SVSTEER \item 0x00000004 -- DELETE_GPS_TIME - \item 0x00000008 -- DELETE_GPS_ALM_CORR - \item 0x00000010 -- DELETE_GLO_SVDIR - \item 0x00000020 -- DELETE_GLO_SVSTEER + \item 0x00000008 -- DELETE_GPS_ALM_ CORR + \item 0x00000010 -- DELETE_GLO_ SVDIR + \item 0x00000020 -- DELETE_GLO_ SVSTEER \item 0x00000040 -- DELETE_GLO_TIME - \item 0x00000080 -- DELETE_GLO_ALM_CORR - \item 0x00000100 -- DELETE_SBAS_SVDIR - \item 0x00000200 -- DELETE_SBAS_SVSTEER + \item 0x00000080 -- DELETE_GLO_ALM_ CORR + \item 0x00000100 -- DELETE_SBAS_ SVDIR + \item 0x00000200 -- DELETE_SBAS_ SVSTEER \item 0x00000400 -- DELETE_POSITION \item 0x00000800 -- DELETE_TIME \item 0x00001000 -- DELETE_IONO @@ -4366,8 +4378,8 @@ typedef struct { \item 0x00004000 -- DELETE_HEALTH \item 0x00008000 -- DELETE_SADATA \item 0x00010000 -- DELETE_RTI - \item 0x00020000 -- DELETE_SV_NO_EXIST - \item 0x00040000 -- DELETE_FREQ_BIAS_EST + \item 0x00020000 -- DELETE_SV_NO_ EXIST + \item 0x00040000 -- DELETE_FREQ_ BIAS_EST \vspace{-0.18in} \end{itemize1} */ @@ -4378,16 +4390,16 @@ typedef struct { /**< Mask for the cell database assistance data that is to be deleted. Valid values: \begin{itemize1} - \item 0x00000001 -- DELETE_CELLDB_POS - \item 0x00000002 -- DELETE_CELLDB_LATEST_GPS_POS - \item 0x00000004 -- DELETE_CELLDB_OTA_POS - \item 0x00000008 -- DELETE_CELLDB_EXT_REF_POS - \item 0x00000010 -- DELETE_CELLDB_TIMETAG - \item 0x00000020 -- DELETE_CELLDB_CELLID - \item 0x00000040 -- DELETE_CELLDB_CACHED_CELLID - \item 0x00000080 -- DELETE_CELLDB_LAST_SRV_CELL - \item 0x00000100 -- DELETE_CELLDB_CUR_SRV_CELL - \item 0x00000200 -- DELETE_CELLDB_NEIGHBOR_INFO + \item 0x00000001 -- DELETE_CELLDB_ POS + \item 0x00000002 -- DELETE_CELLDB_ LATEST_GPS_POS + \item 0x00000004 -- DELETE_CELLDB_ OTA_POS + \item 0x00000008 -- DELETE_CELLDB_ EXT_REF_POS + \item 0x00000010 -- DELETE_CELLDB_ TIMETAG + \item 0x00000020 -- DELETE_CELLDB_ CELLID + \item 0x00000040 -- DELETE_CELLDB_ CACHED_CELLID + \item 0x00000080 -- DELETE_CELLDB_ LAST_SRV_CELL + \item 0x00000100 -- DELETE_CELLDB_ CUR_SRV_CELL + \item 0x00000200 -- DELETE_CELLDB_ NEIGHBOR_INFO \vspace{-0.18in} \end{itemize1} */ @@ -4398,17 +4410,17 @@ typedef struct { /**< Mask for the clock information assistance data that is to be deleted. Valid values: \begin{itemize1} - \item 0x00000001 -- DELETE_CLOCK_INFO_TIME_EST - \item 0x00000002 -- DELETE_CLOCK_INFO_FREQ_EST - \item 0x00000004 -- DELETE_CLOCK_INFO_WEEK_NUMBER - \item 0x00000008 -- DELETE_CLOCK_INFO_RTC_TIME - \item 0x00000010 -- DELETE_CLOCK_INFO_TIME_TRANSFER - \item 0x00000020 -- DELETE_CLOCK_INFO_GPSTIME_EST - \item 0x00000040 -- DELETE_CLOCK_INFO_GLOTIME_EST - \item 0x00000080 -- DELETE_CLOCK_INFO_GLODAY_NUMBER - \item 0x00000100 -- DELETE_CLOCK_INFO_GLO4YEAR_NUMBER - \item 0x00000200 -- DELETE_CLOCK_INFO_GLO_RF_GRP_DELAY - \item 0x00000400 -- DELETE_CLOCK_INFO_DISABLE_TT + \item 0x00000001 -- DELETE_CLOCK_ INFO_TIME_EST + \item 0x00000002 -- DELETE_CLOCK_ INFO_FREQ_EST + \item 0x00000004 -- DELETE_CLOCK_ INFO_WEEK_NUMBER + \item 0x00000008 -- DELETE_CLOCK_ INFO_RTC_TIME + \item 0x00000010 -- DELETE_CLOCK_ INFO_TIME_TRANSFER + \item 0x00000020 -- DELETE_CLOCK_ INFO_GPSTIME_EST + \item 0x00000040 -- DELETE_CLOCK_ INFO_GLOTIME_EST + \item 0x00000080 -- DELETE_CLOCK_ INFO_GLODAY_NUMBER + \item 0x00000100 -- DELETE_CLOCK_ INFO_GLO4YEAR_NUMBER + \item 0x00000200 -- DELETE_CLOCK_ INFO_GLO_RF_GRP_DELAY + \item 0x00000400 -- DELETE_CLOCK_ INFO_DISABLE_TT \vspace{-0.18in} \end{itemize1} */ }qmiLocDeleteAssistDataReqMsgT_v02; /* Message */ @@ -4419,20 +4431,20 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; This command is used to delete the location engine +/** Indication Message; This command is used to delete the location engine assistance data */ typedef struct { /* Mandatory */ /* Delete Assist Data Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Delete Assist Data request. + /**< Status of the Delete Assist Data request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4469,13 +4481,13 @@ typedef struct { /* Mandatory */ /* Set XTRA-T Session Control Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Set XTRA-T Session Control request. + /**< Status of the Set XTRA-T Session Control request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4502,13 +4514,13 @@ typedef struct { /* Mandatory */ /* Get XTRA-T Session Control Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get XTRA-T Session Control request. + /**< Status of the Get XTRA-T Session Control request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4533,8 +4545,8 @@ typedef struct { typedef struct { uint32_t wifiPositionTime; - /**< Common counter (typically, the number of milliseconds since bootup). - This field is only to be provided if the modem and host processors are + /**< Common counter (typically, the number of milliseconds since bootup). + This field is only to be provided if the modem and host processors are synchronized. */ }qmiLocWifiFixTimeStructT_v02; /* Type */ /** @@ -4573,7 +4585,7 @@ typedef struct { double lon; /**< WiFi position longitude. \n - - Type: Floating point \n + - Type: Floating point \n - Units: Degrees */ uint16_t hepe; @@ -4584,18 +4596,18 @@ typedef struct { /**< Number of Access Points (AP) used to generate a fix. */ qmiLocWifiFixErrorCodeEnumT_v02 fixErrorCode; - /**< WiFi position error code; set to 0 if the fix succeeds. This position + /**< WiFi position error code; set to 0 if the fix succeeds. This position is only used by a module if the value is 0. If there was a failure, the error code provided by the WiFi positioning system can be provided - here. + here. Valid values: \begin{itemize1} \item 0x00000000 -- ERROR_SUCCESS - \item 0x00000001 -- ERROR_WIFI_NOT_AVAILABLE - \item 0x00000002 -- ERROR_NO_AP_FOUND - \item 0x00000003 -- ERROR_UNAUTHORIZED - \item 0x00000004 -- ERROR_SERVER_UNAVAILABLE - \item 0x00000005 -- ERROR_LOCATION_CANNOT_BE_DETERMINED + \item 0x00000001 -- ERROR_WIFI_NOT_ AVAILABLE + \item 0x00000002 -- ERROR_NO_AP_ FOUND + \item 0x00000003 -- ERROR_ UNAUTHORIZED + \item 0x00000004 -- ERROR_SERVER_ UNAVAILABLE + \item 0x00000005 -- ERROR_LOCATION_ CANNOT_BE_DETERMINED \item 0x00000006 -- ERROR_UNKNOWN \vspace{-0.18in} \end{itemize1} */ @@ -4615,7 +4627,7 @@ typedef uint8_t qmiLocWifiApQualifierMaskT_v02; typedef struct { uint8_t macAddr[QMI_LOC_WIFI_MAC_ADDR_LENGTH_V02]; - /**< Associated MAC address of the AP. \n + /**< Associated MAC address of the AP. \n - Type: Array of unsigned integers \n - Address length: 6 */ @@ -4628,7 +4640,7 @@ typedef struct { /**< WiFi channel on which a beacon was received. */ qmiLocWifiApQualifierMaskT_v02 apQualifier; - /**< A bitmask of Boolean qualifiers for APs. + /**< A bitmask of Boolean qualifiers for APs. All unused bits in this mask must be set to 0. Valid values: \n @@ -4671,14 +4683,14 @@ typedef struct { /* Horizontal Reliability */ uint8_t horizontalReliability_valid; /**< Must be set to true if horizontalReliability is being passed */ qmiLocReliabilityEnumT_v02 horizontalReliability; - /**< Specifies the reliability of the horizontal position. + /**< Specifies the reliability of the horizontal position. Valid values: \begin{itemize1} - \item 0x00000000 -- eQMI_LOC_RELIABILITY_NOT_SET - \item 0x00000001 -- eQMI_LOC_RELIABILITY_VERY_LOW - \item 0x00000002 -- eQMI_LOC_RELIABILITY_LOW - \item 0x00000003 -- eQMI_LOC_RELIABILITY_MEDIUM - \item 0x00000004 -- eQMI_LOC_RELIABILITY_HIGH + \item 0x00000000 -- eQMI_LOC_ RELIABILITY_NOT_SET + \item 0x00000001 -- eQMI_LOC_ RELIABILITY_VERY_LOW + \item 0x00000002 -- eQMI_LOC_ RELIABILITY_LOW + \item 0x00000003 -- eQMI_LOC_ RELIABILITY_MEDIUM + \item 0x00000004 -- eQMI_LOC_ RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1} */ }qmiLocInjectWifiPositionReqMsgT_v02; /* Message */ @@ -4695,13 +4707,13 @@ typedef struct { /* Mandatory */ /* Inject WiFi Position Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Inject WiFi Position request. + /**< Status of the Inject WiFi Position request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4734,11 +4746,11 @@ typedef struct { /* Mandatory */ /* Availablility of WiFi */ qmiLocWifiStatusEnumT_v02 wifiStatus; - /**< WiFi status information. + /**< WiFi status information. Valid values: \begin{itemize1} - \item 0x00000001 -- WIFI_STATUS_AVAILABLE - \item 0x00000002 -- WIFI_STATUS_UNAVAILABLE + \item 0x00000001 -- WIFI_STATUS_ AVAILABLE + \item 0x00000002 -- WIFI_STATUS_ UNAVAILABLE \vspace{-0.18in} \end{itemize1} */ }qmiLocNotifyWifiStatusReqMsgT_v02; /* Message */ @@ -4755,13 +4767,13 @@ typedef struct { /* Mandatory */ /* Status of Notify WiFi Status Request */ qmiLocStatusEnumT_v02 status; - /**< Status of the Notify WiFi Status request. + /**< Status of the Notify WiFi Status request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4788,13 +4800,13 @@ typedef struct { /* Mandatory */ /* Get Registered Events Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get Registered Events request. + /**< Status of the Get Registered Events request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4805,55 +4817,55 @@ typedef struct { /* Event Registration Mask */ uint8_t eventRegMask_valid; /**< Must be set to true if eventRegMask is being passed */ qmiLocEventRegMaskT_v02 eventRegMask; - /**< Event registration mask. + /**< Event registration mask. Valid bitmasks: \n - - QMI_LOC_EVENT_MASK_POSITION_REPORT (0x00000001) -- The control point must enable this mask to receive position report - event indications. - - QMI_LOC_EVENT_MASK_GNSS_SV_INFO (0x00000002) -- The control point must enable this mask to receive satellite report - event indications. These reports are sent at a 1 Hz rate. + - QMI_LOC_EVENT_MASK_POSITION_REPORT (0x00000001) -- The control point must enable this mask to receive position report + event indications. + - QMI_LOC_EVENT_MASK_GNSS_SV_INFO (0x00000002) -- The control point must enable this mask to receive satellite report + event indications. These reports are sent at a 1 Hz rate. - QMI_LOC_EVENT_MASK_NMEA (0x00000004) -- The control point must enable this mask to receive NMEA reports for - position and satellites in view. The report is at a 1 Hz rate. + position and satellites in view. The report is at a 1 Hz rate. - QMI_LOC_EVENT_MASK_NI_NOTIFY_VERIFY_REQ (0x00000008) -- The control point must enable this mask to receive NI notify verify request - event indications. + event indications. - QMI_LOC_EVENT_MASK_INJECT_TIME_REQ (0x00000010) -- The control point must enable this mask to receive time injection request - event indications. + event indications. - QMI_LOC_EVENT_MASK_INJECT_PREDICTED_ORBITS_REQ (0x00000020) -- The control point must enable this mask to receive predicted orbits request - event indications. + event indications. - QMI_LOC_EVENT_MASK_INJECT_POSITION_REQ (0x00000040) -- The control point must enable this mask to receive position injection request - event indications. + event indications. - QMI_LOC_EVENT_MASK_ENGINE_STATE (0x00000080) -- The control point must enable this mask to receive engine state report - event indications. + event indications. - QMI_LOC_EVENT_MASK_FIX_SESSION_STATE (0x00000100) -- The control point must enable this mask to receive fix session status report - event indications. + event indications. - QMI_LOC_EVENT_MASK_WIFI_REQ (0x00000200) -- The control point must enable this mask to receive WiFi position request - event indications. + event indications. - QMI_LOC_EVENT_MASK_SENSOR_STREAMING_READY_STATUS (0x00000400) -- The control point must enable this mask to receive notifications from the - GPS engine indicating its readiness to accept data from the - sensors (accelerometer, gyroscope, etc.). + GPS engine indicating its readiness to accept data from the + sensors (accelerometer, gyroscope, etc.). - QMI_LOC_EVENT_MASK_TIME_SYNC_REQ (0x00000800) -- The control point must enable this mask to receive time-sync requests from the GPS engine. Time sync enables the GPS engine to synchronize - its clock with the sensor processor's clock. - - QMI_LOC_EVENT_MASK_SET_SPI_STREAMING_REPORT (0x00001000) -- The control point must enable this mask to receive Stationary Position - Indicator (SPI) streaming report indications. + its clock with the sensor processor's clock. + - QMI_LOC_EVENT_MASK_SET_SPI_STREAMING_REPORT (0x00001000) -- The control point must enable this mask to receive Stationary Position + Indicator (SPI) streaming report indications. - QMI_LOC_EVENT_MASK_LOCATION_SERVER_CONNECTION_REQ (0x00002000) -- The control point must enable this mask to receive location server requests. These requests are generated when the service wishes to establish a connection with a location server. - QMI_LOC_EVENT_MASK_NI_GEOFENCE_NOTIFICATION (0x00004000) -- The control point must enable this mask to receive notifications related to network-initiated Geofences. These events notify the client - when a network-initiated Geofence is added, deleted, or edited. - - QMI_LOC_EVENT_MASK_GEOFENCE_GEN_ALERT (0x00008000) -- The control point must enable this mask to receive Geofence alerts. + when a network-initiated Geofence is added, deleted, or edited. + - QMI_LOC_EVENT_MASK_GEOFENCE_GEN_ALERT (0x00008000) -- The control point must enable this mask to receive Geofence alerts. These alerts are generated to inform the client of the changes that may - affect Geofence, e.g., if GPS is turned off or if the network is - unavailable. + affect Geofence, e.g., if GPS is turned off or if the network is + unavailable. - QMI_LOC_EVENT_MASK_GEOFENCE_BREACH_NOTIFICATION (0x00010000) -- The control point must enable this mask to receive notifications when a Geofence is breached. These events are generated when the UE enters - or leaves the perimeter of a Geofence. + or leaves the perimeter of a Geofence. - QMI_LOC_EVENT_MASK_PEDOMETER_CONTROL (0x00020000) -- The control point must enable this mask to register for Pedometer control requests from the location engine. Location engine sends - this event out to control the injection of pedometer reports. + this event out to control the injection of pedometer reports. - QMI_LOC_EVENT_MASK_MOTION_DATA_CONTROL (0x00040000) -- The control point must enable this mask to register for motion data control requests from the location engine. Location engine sends - this event out to control the injection of motion data. + this event out to control the injection of motion data. */ }qmiLocGetRegisteredEventsIndMsgT_v02; /* Message */ /** @@ -4890,16 +4902,16 @@ typedef struct { /* Mandatory */ /* Operation Mode */ qmiLocOperationModeEnumT_v02 operationMode; - /**< Preferred operation mode. + /**< Preferred operation mode. \label{operationMode} Valid values: \begin{itemize1} - \item 0x00000001 -- OPER_MODE_DEFAULT + \item 0x00000001 -- OPER_MODE_ DEFAULT \item 0x00000002 -- OPER_MODE_MSB \item 0x00000003 -- OPER_MODE_MSA - \item 0x00000004 -- OPER_MODE_STANDALONE - \item 0x00000005 -- OPER_MODE_CELL_ID - \item 0x00000006 -- OPER_MODE_WWAN + \item 0x00000004 -- OPER_MODE_ STANDALONE + \item 0x00000005 -- OPER_MODE_ CELL_ID + \item 0x00000006 -- OPER_MODE_ WWAN \vspace{-0.18in} \end{itemize1} */ }qmiLocSetOperationModeReqMsgT_v02; /* Message */ @@ -4918,13 +4930,13 @@ typedef struct { /* Mandatory */ /* Set Operation Mode Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Set Operation Mode request. - + /**< Status of the Set Operation Mode request. + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4950,13 +4962,13 @@ typedef struct { /* Mandatory */ /* Get Operation Mode Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get Operation Mode request. + /**< Status of the Get Operation Mode request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -4967,15 +4979,15 @@ typedef struct { /* Operation Mode */ uint8_t operationMode_valid; /**< Must be set to true if operationMode is being passed */ qmiLocOperationModeEnumT_v02 operationMode; - /**< Current operation mode. + /**< Current operation mode. Valid values: \begin{itemize1} - \item 0x00000001 -- OPER_MODE_DEFAULT + \item 0x00000001 -- OPER_MODE_ DEFAULT \item 0x00000002 -- OPER_MODE_MSB \item 0x00000003 -- OPER_MODE_MSA - \item 0x00000004 -- OPER_MODE_STANDALONE - \item 0x00000005 -- OPER_MODE_CELL_ID - \item 0x00000006 -- OPER_MODE_WWAN + \item 0x00000004 -- OPER_MODE_ STANDALONE + \item 0x00000005 -- OPER_MODE_ CELL_ID + \item 0x00000006 -- OPER_MODE_ WWAN \vspace{-0.18in} \end{itemize1} */ }qmiLocGetOperationModeIndMsgT_v02; /* Message */ @@ -5003,7 +5015,7 @@ typedef struct { /* Confidence */ uint8_t confidenceStationary_valid; /**< Must be set to true if confidenceStationary is being passed */ uint8_t confidenceStationary; - /**< Confidence in the Stationary state expressed as a percentage.\n + /**< Confidence in the Stationary state expressed as a percentage.\n - Range: 0 to 100 */ }qmiLocSetSpiStatusReqMsgT_v02; /* Message */ /** @@ -5026,7 +5038,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -5048,7 +5060,7 @@ typedef uint8_t qmiLocSensorDataFlagMaskT_v02; typedef enum { QMILOCSENSORDATATIMESOURCEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_SENSOR_TIME_SOURCE_UNSPECIFIED_V02 = 0, /**< The sensor time source is unspecified */ - eQMI_LOC_SENSOR_TIME_SOURCE_COMMON_V02 = 1, /**< The time source is common between the sensors and + eQMI_LOC_SENSOR_TIME_SOURCE_COMMON_V02 = 1, /**< The time source is common between the sensors and the location engine */ QMILOCSENSORDATATIMESOURCEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocSensorDataTimeSourceEnumT_v02; @@ -5062,8 +5074,8 @@ typedef enum { typedef struct { uint16_t timeOffset; - /**< Sample time offset. This time offset must be - relative to the timestamp of the first sensor data sample.\n + /**< Sample time offset. This time offset must be + relative to the timestamp of the first sensor data sample.\n - Units: Milliseconds */ float xAxis; @@ -5072,12 +5084,12 @@ typedef struct { - Units Gyroscope: ( (rads)/(seconds) ) */ float yAxis; - /**< Sensor y-axis sample. \n + /**< Sensor y-axis sample. \n - Units Accelerometer: ( (meters)/(seconds^2) ) \n - Units Gyroscope: ( (rads)/(seconds) ) */ float zAxis; - /**< Sensor z-axis sample. \n + /**< Sensor z-axis sample. \n - Units Accelerometer: ( (meters)/(seconds^2) ) \n - Units Gyroscope: ( (rads)/(seconds) ) */ }qmiLoc3AxisSensorSampleStructT_v02; /* Type */ @@ -5091,18 +5103,18 @@ typedef struct { typedef struct { uint32_t timeOfFirstSample; - /**< Denotes a full 32-bit timestamp of the first (oldest) sample in this - message.The timestamp is in the time reference scale that is - used by the sensor time source.\n + /**< Denotes a full 32-bit timestamp of the first (oldest) sample in this + message.The timestamp is in the time reference scale that is + used by the sensor time source.\n - Units: Milliseconds */ qmiLocSensorDataFlagMaskT_v02 flags; - /**< Flags to indicate any deviation from the default measurement - assumptions. All unused bits in this field must be set to 0. + /**< Flags to indicate any deviation from the default measurement + assumptions. All unused bits in this field must be set to 0. Valid bitmasks: \begin{itemize1} \item 0x01 -- SIGN_REVERSAL - \item 0X02 -- SENSOR_TIME_IS_MODEM_TIME + \item 0X02 -- SENSOR_TIME_IS_ MODEM_TIME \vspace{-0.18in} \end{itemize1} */ uint32_t sensorData_len; /**< Must be set to # of elements in sensorData */ @@ -5120,9 +5132,9 @@ typedef struct { typedef struct { uint16_t timeOffset; - /**< Sample time offset. This time offset must be - relative to the timestamp of the first sensor sample.\n - - Type: Unsigned integer \n + /**< Sample time offset. This time offset must be + relative to the timestamp of the first sensor sample.\n + - Type: Unsigned integer \n - Units: Milliseconds */ float temperature; @@ -5142,17 +5154,17 @@ typedef struct { qmiLocSensorDataTimeSourceEnumT_v02 timeSource; /**< Denotes the time source of the sensor data. Location service will use - this field to identify the time reference used in the + this field to identify the time reference used in the sensor data timestamps. Values :\n - eQMI_LOC_SENSOR_TIME_SOURCE_UNSPECIFIED (0) -- The sensor time source is unspecified - - eQMI_LOC_SENSOR_TIME_SOURCE_COMMON (1) -- The time source is common between the sensors and - the location engine + - eQMI_LOC_SENSOR_TIME_SOURCE_COMMON (1) -- The time source is common between the sensors and + the location engine */ uint32_t timeOfFirstSample; - /**< Denotes a full 32-bit timestamp of the first (oldest) sample in this - message. The timestamp is in the time reference scale that is - used by the sensor time source.\n + /**< Denotes a full 32-bit timestamp of the first (oldest) sample in this + message. The timestamp is in the time reference scale that is + used by the sensor time source.\n - Type: Unsigned integer \n - Units: Milliseconds */ @@ -5177,7 +5189,7 @@ typedef struct { uint8_t opaqueIdentifier_valid; /**< Must be set to true if opaqueIdentifier is being passed */ uint32_t opaqueIdentifier; /**< An opaque identifier that is sent in by the client that will be echoed - in the indication so the client can relate the indication to the + in the indication so the client can relate the indication to the request. */ /* Optional */ @@ -5198,10 +5210,10 @@ typedef struct { qmiLocSensorDataTimeSourceEnumT_v02 threeAxisAccelDataTimeSource; /**< Time source for the 3-axis accelerometer data. Location service will use this field to identify the time reference used in the accelerometer data - timestamps. If not specified the location service will assume that the + timestamps. If not specified the location service will assume that the time source for the accelereometer data is unknown. Values: \n - eQMI_LOC_SENSOR_TIME_SOURCE_UNSPECIFIED (0) -- The sensor time source is unspecified - - eQMI_LOC_SENSOR_TIME_SOURCE_COMMON (1) -- The time source is common between the sensors and + - eQMI_LOC_SENSOR_TIME_SOURCE_COMMON (1) -- The time source is common between the sensors and the location engine */ @@ -5210,11 +5222,11 @@ typedef struct { uint8_t threeAxisGyroDataTimeSource_valid; /**< Must be set to true if threeAxisGyroDataTimeSource is being passed */ qmiLocSensorDataTimeSourceEnumT_v02 threeAxisGyroDataTimeSource; /**< Time source for the 3-axis gyroscope data. Location service will use - this field to identify the time reference used in the gyroscope data - timestamps.If not specified the locations ervice will assume that the + this field to identify the time reference used in the gyroscope data + timestamps.If not specified the locations ervice will assume that the time source for the gyroscope data is unknown. Values: \n - eQMI_LOC_SENSOR_TIME_SOURCE_UNSPECIFIED (0) -- The sensor time source is unspecified - - eQMI_LOC_SENSOR_TIME_SOURCE_COMMON (1) -- The time source is common between the sensors and + - eQMI_LOC_SENSOR_TIME_SOURCE_COMMON (1) -- The time source is common between the sensors and the location engine */ @@ -5246,13 +5258,13 @@ typedef struct { /* Mandatory */ /* Inject Sensor Data Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Inject Sensor Data request. + /**< Status of the Inject Sensor Data request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -5270,7 +5282,7 @@ typedef struct { /* Accelerometer Samples Accepted */ uint8_t threeAxisAccelSamplesAccepted_valid; /**< Must be set to true if threeAxisAccelSamplesAccepted is being passed */ uint8_t threeAxisAccelSamplesAccepted; - /**< Lets the client know how many 3-axis accelerometer samples + /**< Lets the client know how many 3-axis accelerometer samples were accepted. This field is present only if the accelerometer samples were sent in the request. */ @@ -5278,7 +5290,7 @@ typedef struct { /* Gyroscope Samples Accepted */ uint8_t threeAxisGyroSamplesAccepted_valid; /**< Must be set to true if threeAxisGyroSamplesAccepted is being passed */ uint8_t threeAxisGyroSamplesAccepted; - /**< Lets the client know how many 3-axis gyroscope samples were + /**< Lets the client know how many 3-axis gyroscope samples were accepted. This field is present only if the gyroscope samples were sent in the request. */ @@ -5286,7 +5298,7 @@ typedef struct { /* Accelerometer Samples Accepted */ uint8_t accelTemperatureSamplesAccepted_valid; /**< Must be set to true if accelTemperatureSamplesAccepted is being passed */ uint8_t accelTemperatureSamplesAccepted; - /**< This field lets the client know how many accelerometer temperature + /**< This field lets the client know how many accelerometer temperature samples were accepted. This field is present only if the accelerometer temperature samples were sent in the request. */ @@ -5294,7 +5306,7 @@ typedef struct { /* Gyroscope Temperature Samples Accepted */ uint8_t gyroTemperatureSamplesAccepted_valid; /**< Must be set to true if gyroTemperatureSamplesAccepted is being passed */ uint8_t gyroTemperatureSamplesAccepted; - /**< This field lets the client know how many gyroscope temperature samples + /**< This field lets the client know how many gyroscope temperature samples were accepted. This field is present only if the gyroscope temperature samples were sent in the request. */ }qmiLocInjectSensorDataIndMsgT_v02; /* Message */ @@ -5319,7 +5331,7 @@ typedef struct { uint32_t sensorProcRxTime; /**< Value of the sensor time when the control point received the Time Sync Inject request from the GNSS location engine. - + Must be monotonically increasing, jitter @latexonly $\leq$ @endlatexonly 1 millisecond, never stopping until the process is rebooted.\n - Units: Milliseconds */ @@ -5327,8 +5339,8 @@ typedef struct { /* Mandatory */ /* Sensor Transmit Time */ uint32_t sensorProcTxTime; - /**< Value of the sensor time when the control point injects this message - for use by the GNSS location engine. + /**< Value of the sensor time when the control point injects this message + for use by the GNSS location engine. Must be monotonically increasing, jitter @latexonly $\leq$ @endlatexonly 1 millisecond, never stopping until the process is rebooted.\n @@ -5347,13 +5359,13 @@ typedef struct { /* Mandatory */ /* Inject Time Sync Data Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Inject Time Sync Data request. + /**< Status of the Inject Time Sync Data request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -5387,20 +5399,20 @@ typedef enum { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used by the control point to get the current +/** Indication Message; Used by the control point to get the current cradle mount configuration. */ typedef struct { /* Mandatory */ /* Get Cradle Mount Config Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get Cradle Mount Configuration request. + /**< Status of the Get Cradle Mount Configuration request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -5414,9 +5426,9 @@ typedef struct { /**< Cradle Mount state set by the control point. Valid values: \begin{itemize1} - \item 0x00000000 -- CRADLE_STATE_NOT_MOUNTED - \item 0x00000001 -- CRADLE_STATE_MOUNTED - \item 0x00000002 -- CRADLE_STATE_UNKNOWN + \item 0x00000000 -- CRADLE_STATE_ NOT_MOUNTED + \item 0x00000001 -- CRADLE_STATE_ MOUNTED + \item 0x00000002 -- CRADLE_STATE_ UNKNOWN \vspace{-0.18in} \end{itemize1} */ @@ -5434,7 +5446,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used by the control point to set the current +/** Request Message; Used by the control point to set the current cradle mount configuration. */ typedef struct { @@ -5444,9 +5456,9 @@ typedef struct { /**< Cradle Mount state set by the control point. Valid values: \begin{itemize1} - \item 0x00000000 -- CRADLE_STATE_NOT_MOUNTED - \item 0x00000001 -- CRADLE_STATE_MOUNTED - \item 0x00000002 -- CRADLE_STATE_UNKNOWN + \item 0x00000000 -- CRADLE_STATE_ NOT_MOUNTED + \item 0x00000001 -- CRADLE_STATE_ MOUNTED + \item 0x00000002 -- CRADLE_STATE_ UNKNOWN \vspace{-0.18in} \end{itemize1} */ /* Optional */ @@ -5463,7 +5475,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used by the control point to set the current +/** Indication Message; Used by the control point to set the current cradle mount configuration. */ typedef struct { @@ -5476,7 +5488,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -5510,20 +5522,20 @@ typedef enum { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used by the control point to get the current +/** Indication Message; Used by the control point to get the current external power configuration. */ typedef struct { /* Mandatory */ /* Get Ext Power Config Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Get External Power Configuration request. + /**< Status of the Get External Power Configuration request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -5537,9 +5549,9 @@ typedef struct { /**< Power state; injected by the control point. Valid values: \begin{itemize1} - \item 0x00000000 -- EXTERNAL_POWER_NOT_CONNECTED - \item 0x00000001 -- EXTERNAL_POWER_CONNECTED - \item 0x00000002 -- EXTERNAL_POWER_UNKNOWN + \item 0x00000000 -- EXTERNAL_ POWER_NOT_CONNECTED + \item 0x00000001 -- EXTERNAL_ POWER_CONNECTED + \item 0x00000002 -- EXTERNAL_ POWER_UNKNOWN \vspace{-0.18in} \end{itemize1} */ }qmiLocGetExternalPowerConfigIndMsgT_v02; /* Message */ @@ -5550,7 +5562,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used by the control point to set the current +/** Request Message; Used by the control point to set the current external power configuration. */ typedef struct { @@ -5560,9 +5572,9 @@ typedef struct { /**< Power state; injected by the control point. Valid values: \begin{itemize1} - \item 0x00000000 -- EXTERNAL_POWER_NOT_CONNECTED - \item 0x00000001 -- EXTERNAL_POWER_CONNECTED - \item 0x00000002 -- EXTERNAL_POWER_UNKNOWN + \item 0x00000000 -- EXTERNAL_ POWER_NOT_CONNECTED + \item 0x00000001 -- EXTERNAL_ POWER_CONNECTED + \item 0x00000002 -- EXTERNAL_ POWER_UNKNOWN \vspace{-0.18in} \end{itemize1} */ }qmiLocSetExternalPowerConfigReqMsgT_v02; /* Message */ @@ -5573,20 +5585,20 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used by the control point to set the current +/** Indication Message; Used by the control point to set the current external power configuration. */ typedef struct { /* Mandatory */ /* Set Ext Power Config Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Set External Power Configuration request. + /**< Status of the Set External Power Configuration request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -5655,9 +5667,9 @@ typedef enum { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used by the control point to inform the service about the - status of the location server connection request that the - service may have sent via the +/** Request Message; Used by the control point to inform the service about the + status of the location server connection request that the + service may have sent via the QMI_LOC_EVENT_LOCATION_SERVER_REQ_IND event. */ typedef struct { @@ -5703,9 +5715,9 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used by the control point to inform the service about the - status of the location server connection request that the - service may have sent via the +/** Indication Message; Used by the control point to inform the service about the + status of the location server connection request that the + service may have sent via the QMI_LOC_EVENT_LOCATION_SERVER_REQ_IND event. */ typedef struct { @@ -5718,7 +5730,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -5762,7 +5774,7 @@ typedef uint32_t qmiLocAssistedGlonassProtocolMaskT_v02; #define QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRC_CP_V02 ((qmiLocAssistedGlonassProtocolMaskT_v02)0x00000001) /**< Assisted GLONASS is supported over RRC in the control plane. */ #define QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRLP_UP_V02 ((qmiLocAssistedGlonassProtocolMaskT_v02)0x00000002) /**< Assisted GLONASS is supported over RRLP in the user plane. */ #define QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_LPP_UP_V02 ((qmiLocAssistedGlonassProtocolMaskT_v02)0x00000004) /**< Assisted GLONASS is supported over LPP in the user plane. - The QMI_LOC_LPP_CONFIG_ENABLE_USER_PLANE should be set + The QMI_LOC_LPP_CONFIG_ENABLE_USER_PLANE should be set in the LPP configuration for this to take effect. */ /** @addtogroup loc_qmi_enums @{ @@ -5806,7 +5818,7 @@ typedef enum { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used by the control point to configure parameters stored +/** Request Message; Used by the control point to configure parameters stored in the nonvolatile memory. */ typedef struct { @@ -5827,8 +5839,8 @@ typedef struct { /**< VX version. Valid values: \begin{itemize1} - \item 0x00000001 -- VX_VERSION_V1_ONLY - \item 0x00000002 -- VX_VERSION_V2_ONLY + \item 0x00000001 -- VX_VERSION_ V1_ONLY + \item 0x00000002 -- VX_VERSION_ V2_ONLY \vspace{-0.18in} \end{itemize1} */ @@ -5838,7 +5850,7 @@ typedef struct { qmiLocSuplVersionEnumT_v02 suplVersion; /**< SUPL version. - Valid values: \n + Valid values: \n - 0x00000001 -- SUPL_VERSION_1_0 \n - 0x00000002 -- SUPL_VERSION_2_0 */ @@ -5850,8 +5862,8 @@ typedef struct { /**< LTE Positioning Profile (LPP) configuration. Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- LPP_CONFIG_ENABLE_USER_PLANE - \item 0x00000002 -- LPP_CONFIG_ENABLE_CONTROL_PLANE + \item 0x00000001 -- LPP_CONFIG_ ENABLE_USER_PLANE + \item 0x00000002 -- LPP_CONFIG_ ENABLE_CONTROL_PLANE \vspace{-0.18in} \end{itemize1} */ @@ -5859,15 +5871,15 @@ typedef struct { /* Assisted GLONASS Protocol Mask */ uint8_t assistedGlonassProtocolMask_valid; /**< Must be set to true if assistedGlonassProtocolMask is being passed */ qmiLocAssistedGlonassProtocolMaskT_v02 assistedGlonassProtocolMask; - /**< Configures the protocols that the location service supports + /**< Configures the protocols that the location service supports for assisted GLONASS. Valid bitmasks: \n - - QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRC_CP (0x00000001) -- Assisted GLONASS is supported over RRC in the control plane. - - QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRLP_UP (0x00000002) -- Assisted GLONASS is supported over RRLP in the user plane. + - QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRC_CP (0x00000001) -- Assisted GLONASS is supported over RRC in the control plane. + - QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRLP_UP (0x00000002) -- Assisted GLONASS is supported over RRLP in the user plane. - QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_LPP_UP (0x00000004) -- Assisted GLONASS is supported over LPP in the user plane. - The QMI_LOC_LPP_CONFIG_ENABLE_USER_PLANE should be set - in the LPP configuration for this to take effect. + The QMI_LOC_LPP_CONFIG_ENABLE_USER_PLANE should be set + in the LPP configuration for this to take effect. */ /* Optional */ @@ -5875,8 +5887,8 @@ typedef struct { uint8_t suplHashAlgo_valid; /**< Must be set to true if suplHashAlgo is being passed */ qmiLocSuplHashAlgoEnumT_v02 suplHashAlgo; /**< SUPL Hash Algorithm that needs to be used. Values: \n - - eQMI_LOC_SUPL_HASH_ALGO_SHA1 (0) -- SHA1 Hash Algorithm for SUPL Version 2.0 or higher - - eQMI_LOC_SUPL_HASH_ALGO_SHA256 (1) -- SHA-256 Hash Algorithm for SUPL Version 2.0 or higher + - eQMI_LOC_SUPL_HASH_ALGO_SHA1 (0) -- SHA1 Hash Algorithm for SUPL Version 2.0 or higher + - eQMI_LOC_SUPL_HASH_ALGO_SHA256 (1) -- SHA-256 Hash Algorithm for SUPL Version 2.0 or higher */ /* Optional */ @@ -5886,8 +5898,8 @@ typedef struct { /**< SUPL TLS (Transport Layer Security) Version. This configuration is only applicable to SUPL 2.0 or higher as SUPL 1.0 always uses TLS version 1.0. Values: \n - - eQMI_LOC_SUPL_TLS_VERSION_1_0 (0) -- SUPL TLS Version 1.0 - - eQMI_LOC_SUPL_TLS_VERSION_1_1 (1) -- SUPL TLS Version 1.1 + - eQMI_LOC_SUPL_TLS_VERSION_1_0 (0) -- SUPL TLS Version 1.0 + - eQMI_LOC_SUPL_TLS_VERSION_1_1 (1) -- SUPL TLS Version 1.1 */ /* Optional */ @@ -5895,12 +5907,12 @@ typedef struct { uint8_t emergencyProtocol_valid; /**< Must be set to true if emergencyProtocol is being passed */ qmiLocEmergencyProtocolEnumT_v02 emergencyProtocol; /**< Configures the protocol to be used during emergency. - Note: Currently only can select on WCDMA. FOR GSM and 1x UE + Note: Currently only can select on WCDMA. FOR GSM and 1x UE will always allow only Control plane NI trigger for positioning. - For LTE, UE Can allow either SUPL or Control plane NI trigger. + For LTE, UE Can allow either SUPL or Control plane NI trigger. Values: \n - - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_CP (0) -- use Control plane protocol during emergency while on WCDMA - - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_UP (1) -- use SUPL 2.0 emergency services during emergency while on WCDMA + - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_CP (0) -- use Control plane protocol during emergency while on WCDMA + - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_UP (1) -- use SUPL 2.0 emergency services during emergency while on WCDMA */ }qmiLocSetProtocolConfigParametersReqMsgT_v02; /* Message */ /** @@ -5919,7 +5931,7 @@ typedef uint64_t qmiLocProtocolConfigParamMaskT_v02; /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used by the control point to configure parameters stored +/** Indication Message; Used by the control point to configure parameters stored in the nonvolatile memory. */ typedef struct { @@ -5932,7 +5944,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -5944,17 +5956,17 @@ typedef struct { uint8_t failedProtocolConfigParamMask_valid; /**< Must be set to true if failedProtocolConfigParamMask is being passed */ qmiLocProtocolConfigParamMaskT_v02 failedProtocolConfigParamMask; /**< Identifies parameters that were not set successfully. This field - is sent only if the status is not a success. + is sent only if the status is not a success. Valid bitmasks: \n - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_SECURITY (0x0000000000000001) -- Mask for the SUPL security configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_VX_VERSION (0x0000000000000002) -- Mask for the VX version configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_VERSION (0x0000000000000004) -- Mask for the SUPL version configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_LPP_CONFIG (0x0000000000000008) -- Mask for the LPP configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_ASSISTED_GLONASS_PROTOCOL (0x0000000000000010) -- Mask for the assisted glonass configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_HASH_ALGO (0x0000000000000020) -- Mask for the SUPL Hash algorithm configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_TLS_VERSION (0x0000000000000040) -- Mask for the SUPL TLS version configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_EMERGENCY_PROTOCOL (0x0000000000000080) -- Mask for the emergency protocol configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_SECURITY (0x0000000000000001) -- Mask for the SUPL security configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_VX_VERSION (0x0000000000000002) -- Mask for the VX version configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_VERSION (0x0000000000000004) -- Mask for the SUPL version configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_LPP_CONFIG (0x0000000000000008) -- Mask for the LPP configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_ASSISTED_GLONASS_PROTOCOL (0x0000000000000010) -- Mask for the assisted glonass configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_HASH_ALGO (0x0000000000000020) -- Mask for the SUPL Hash algorithm configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_TLS_VERSION (0x0000000000000040) -- Mask for the SUPL TLS version configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_EMERGENCY_PROTOCOL (0x0000000000000080) -- Mask for the emergency protocol configuration parameter. */ }qmiLocSetProtocolConfigParametersIndMsgT_v02; /* Message */ /** @@ -5964,7 +5976,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used by the control point to get the configuration +/** Request Message; Used by the control point to get the configuration parameters stored in the nonvolatile memory. */ typedef struct { @@ -5974,14 +5986,14 @@ typedef struct { /**< Mask denoting the configuration parameters to be retrieved. Valid bitmasks: \n - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_SECURITY (0x0000000000000001) -- Mask for the SUPL security configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_VX_VERSION (0x0000000000000002) -- Mask for the VX version configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_VERSION (0x0000000000000004) -- Mask for the SUPL version configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_LPP_CONFIG (0x0000000000000008) -- Mask for the LPP configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_ASSISTED_GLONASS_PROTOCOL (0x0000000000000010) -- Mask for the assisted glonass configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_HASH_ALGO (0x0000000000000020) -- Mask for the SUPL Hash algorithm configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_TLS_VERSION (0x0000000000000040) -- Mask for the SUPL TLS version configuration parameter. - - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_EMERGENCY_PROTOCOL (0x0000000000000080) -- Mask for the emergency protocol configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_SECURITY (0x0000000000000001) -- Mask for the SUPL security configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_VX_VERSION (0x0000000000000002) -- Mask for the VX version configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_VERSION (0x0000000000000004) -- Mask for the SUPL version configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_LPP_CONFIG (0x0000000000000008) -- Mask for the LPP configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_ASSISTED_GLONASS_PROTOCOL (0x0000000000000010) -- Mask for the assisted glonass configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_HASH_ALGO (0x0000000000000020) -- Mask for the SUPL Hash algorithm configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_TLS_VERSION (0x0000000000000040) -- Mask for the SUPL TLS version configuration parameter. + - QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_EMERGENCY_PROTOCOL (0x0000000000000080) -- Mask for the emergency protocol configuration parameter. */ }qmiLocGetProtocolConfigParametersReqMsgT_v02; /* Message */ /** @@ -5991,7 +6003,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used by the control point to get the configuration +/** Indication Message; Used by the control point to get the configuration parameters stored in the nonvolatile memory. */ typedef struct { @@ -6004,7 +6016,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -6028,8 +6040,8 @@ typedef struct { /**< VX version. Valid values: \begin{itemize1} - \item 0x00000001 -- VX_VERSION_V1_ONLY - \item 0x00000002 -- VX_VERSION_V2_ONLY + \item 0x00000001 -- VX_VERSION_V1_ ONLY + \item 0x00000002 -- VX_VERSION_V2_ ONLY \vspace{-0.18in} \end{itemize1} */ @@ -6039,7 +6051,7 @@ typedef struct { qmiLocSuplVersionEnumT_v02 suplVersion; /**< SUPL version. - Valid values: \n + Valid values: \n - 0x00000001 -- SUPL_VERSION_1_0 \n - 0x00000002 -- SUPL_VERSION_2_0 */ @@ -6051,8 +6063,8 @@ typedef struct { /**< LTE Positioning Profile (LPP) configuration. Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- LPP_CONFIG_ENABLE_USER_PLANE - \item 0x00000002 -- LPP_CONFIG_ENABLE_CONTROL_PLANE + \item 0x00000001 -- LPP_CONFIG_ ENABLE_USER_PLANE + \item 0x00000002 -- LPP_CONFIG_ ENABLE_CONTROL_PLANE \vspace{-0.18in} \end{itemize1} */ @@ -6063,11 +6075,11 @@ typedef struct { /**< Assisted GLONASS Protocol mask. Valid bitmasks: \n - - QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRC_CP (0x00000001) -- Assisted GLONASS is supported over RRC in the control plane. - - QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRLP_UP (0x00000002) -- Assisted GLONASS is supported over RRLP in the user plane. + - QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRC_CP (0x00000001) -- Assisted GLONASS is supported over RRC in the control plane. + - QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRLP_UP (0x00000002) -- Assisted GLONASS is supported over RRLP in the user plane. - QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_LPP_UP (0x00000004) -- Assisted GLONASS is supported over LPP in the user plane. - The QMI_LOC_LPP_CONFIG_ENABLE_USER_PLANE should be set - in the LPP configuration for this to take effect. + The QMI_LOC_LPP_CONFIG_ENABLE_USER_PLANE should be set + in the LPP configuration for this to take effect. */ /* Optional */ @@ -6075,8 +6087,8 @@ typedef struct { uint8_t suplHashAlgo_valid; /**< Must be set to true if suplHashAlgo is being passed */ qmiLocSuplHashAlgoEnumT_v02 suplHashAlgo; /**< SUPL Hash Algorithm that needs to be used. Values: \n - - eQMI_LOC_SUPL_HASH_ALGO_SHA1 (0) -- SHA1 Hash Algorithm for SUPL Version 2.0 or higher - - eQMI_LOC_SUPL_HASH_ALGO_SHA256 (1) -- SHA-256 Hash Algorithm for SUPL Version 2.0 or higher + - eQMI_LOC_SUPL_HASH_ALGO_SHA1 (0) -- SHA1 Hash Algorithm for SUPL Version 2.0 or higher + - eQMI_LOC_SUPL_HASH_ALGO_SHA256 (1) -- SHA-256 Hash Algorithm for SUPL Version 2.0 or higher */ /* Optional */ @@ -6086,8 +6098,8 @@ typedef struct { /**< SUPL TLS (Transport Layer Security) Version. This configuration is only applicable to SUPL 2.0 or higher as SUPL 1.0 always uses TLS version 1.0. Values: \n - - eQMI_LOC_SUPL_TLS_VERSION_1_0 (0) -- SUPL TLS Version 1.0 - - eQMI_LOC_SUPL_TLS_VERSION_1_1 (1) -- SUPL TLS Version 1.1 + - eQMI_LOC_SUPL_TLS_VERSION_1_0 (0) -- SUPL TLS Version 1.0 + - eQMI_LOC_SUPL_TLS_VERSION_1_1 (1) -- SUPL TLS Version 1.1 */ /* Optional */ @@ -6096,8 +6108,8 @@ typedef struct { qmiLocEmergencyProtocolEnumT_v02 emergencyProtocol; /**< The protocol to be used during emergency. Values: \n - - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_CP (0) -- use Control plane protocol during emergency while on WCDMA - - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_UP (1) -- use SUPL 2.0 emergency services during emergency while on WCDMA + - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_CP (0) -- use Control plane protocol during emergency while on WCDMA + - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_UP (1) -- use SUPL 2.0 emergency services during emergency while on WCDMA */ }qmiLocGetProtocolConfigParametersIndMsgT_v02; /* Message */ /** @@ -6132,17 +6144,17 @@ typedef struct { /* Sensors Usage */ uint8_t sensorsUsage_valid; /**< Must be set to true if sensorsUsage is being passed */ qmiLocSensorsControlConfigSensorUseEnumT_v02 sensorsUsage; - /**< Controls how sensors are used to aid heading and positioning + /**< Controls how sensors are used to aid heading and positioning performance. Valid values: \begin{itemize1} - \item 0x00000000 -- SENSORS_USE_ENABLED: + \item 0x00000000 -- SENSORS_USE_ ENABLED: Sensors data is to be requested whenever a position request is - received. If sensors data is injected, the GNSS location engine - attempts to improve the heading and positioning performance using + received. If sensors data is injected, the GNSS location engine + attempts to improve the heading and positioning performance using sensors. This is the default. - \item 0x00000001 -- SENSORS_USE_DISABLED: - Inertial sensors are not to be used to aid in heading and + \item 0x00000001 -- SENSORS_USE_ DISABLED: + Inertial sensors are not to be used to aid in heading and position improvement. \vspace{-0.18in} \end{itemize1} */ @@ -6166,7 +6178,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -6198,7 +6210,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -6209,17 +6221,17 @@ typedef struct { /* Sensors Usage */ uint8_t sensorsUsage_valid; /**< Must be set to true if sensorsUsage is being passed */ qmiLocSensorsControlConfigSensorUseEnumT_v02 sensorsUsage; - /**< Controls how sensors are used to aid the heading and positioning + /**< Controls how sensors are used to aid the heading and positioning performance. Valid values: \begin{itemize1} - \item 0x00000000 -- SENSORS_USE_ENABLED: + \item 0x00000000 -- SENSORS_USE_ ENABLED: Sensors data is to be requested whenever a position request is - received. If sensors data is injected, the GNSS location engine - attempts to improve the heading and positioning performance using + received. If sensors data is injected, the GNSS location engine + attempts to improve the heading and positioning performance using sensors. This is the default. - \item 0x00000001 -- SENSORS_USE_DISABLED: - Inertial sensors are not to be used to aid in the heading and + \item 0x00000001 -- SENSORS_USE_ DISABLED: + Inertial sensors are not to be used to aid in the heading and position improvement. \vspace{-0.18in} \end{itemize1} */ @@ -6237,7 +6249,7 @@ typedef uint32_t qmiLocSensorPropertiesMaskT_v02; /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Sets the properties specific to the type of sensor used. +/** Request Message; Sets the properties specific to the type of sensor used. The control point must set sensor properties before they can be used to aid in heading and positioning performance improvement. */ @@ -6250,9 +6262,9 @@ typedef struct { /**< Specifies the gyro bias random walk variance parameter as a positive floating-point value. This value has internal default value 1.0e-5 radian^2/second^4. The gyro bias variance random walk parameter is derived from either the - sensors data sheet or a sensors conformance test. \n + sensors data sheet or a sensors conformance test. \n - Units: Radians^2/seconds^4 - + */ /* Optional */ @@ -6262,9 +6274,9 @@ typedef struct { /**< Specifies the velocity random walk spectral density parameter as a positive floating-point value. This value does not have any internal defaults. The velocity random walk spectral density parameter is derived from either the - sensors data sheet or a sensors conformance test. \n + sensors data sheet or a sensors conformance test. \n - Units: Meters/seconds^2/Hertz^0.5 - + */ /* Optional */ @@ -6274,9 +6286,9 @@ typedef struct { /**< Specifies the acceleration random walk spectral density parameter as a positive floating-point value. This value does not have any internal defaults. The acceleration random walk spectral density parameter is derived from either the - sensors data sheet or a sensors conformance test. \n + sensors data sheet or a sensors conformance test. \n - Units: Meters/seconds^3/Hertz^0.5 - + */ /* Optional */ @@ -6286,9 +6298,9 @@ typedef struct { /**< Specifies the angle random walk spectral density parameter as a positive floating-point value. This value does not have any internal defaults. The angle random walk spectral density parameter is derived from either the - sensors data sheet or a sensors conformance test. \n + sensors data sheet or a sensors conformance test. \n - Units: Radians/seconds/Hertz^0.5 - + */ /* Optional */ @@ -6298,9 +6310,9 @@ typedef struct { /**< Specifies the rate random walk spectral density parameter as a positive floating-point value. This value does not have any internal defaults. The rate random walk spectral density parameter is derived from either the - sensors data sheet or a sensors conformance test. \n + sensors data sheet or a sensors conformance test. \n - Units: Radians/seconds^2/Hertz^0.5 - + */ }qmiLocSetSensorPropertiesReqMsgT_v02; /* Message */ /** @@ -6310,7 +6322,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Sets the properties specific to the type of sensor used. +/** Indication Message; Sets the properties specific to the type of sensor used. The control point must set sensor properties before they can be used to aid in heading and positioning performance improvement. */ @@ -6325,11 +6337,11 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT - \item 0x00000007 -- CONFIG_NOT_SUPPORTED + \item 0x00000007 -- CONFIG_NOT_ SUPPORTED \vspace{-0.18in} \end{itemize1} */ @@ -6337,15 +6349,15 @@ typedef struct { /* Failed Set Sensor Properties */ uint8_t failedSensorPropertiesMask_valid; /**< Must be set to true if failedSensorPropertiesMask is being passed */ qmiLocSensorPropertiesMaskT_v02 failedSensorPropertiesMask; - /**< This field will be sent only if the status is not a success. + /**< This field will be sent only if the status is not a success. Identifies the parameters that were not set successfully. Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- GYRO_BIAS_VARIANCE_RANDOM_WALK - \item 0x00000002 -- VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY - \item 0x00000004 -- ACCELERATION_RANDOM_WALK_SPECTRAL_DENSITY - \item 0x00000008 -- ANGLE_RANDOM_WALK_SPECTRAL_DENSITY - \item 0x00000010 -- RATE_RANDOM_WALK_SPECTRAL_DENSITY + \item 0x00000001 -- GYRO_BIAS_ VARIANCE_RANDOM_WALK + \item 0x00000002 -- VELOCITY_ RANDOM_WALK_SPECTRAL_ DENSITY + \item 0x00000004 -- ACCELERATION_ RANDOM_WALK_SPECTRAL_ DENSITY + \item 0x00000008 -- ANGLE_RANDOM_ WALK_SPECTRAL_DENSITY + \item 0x00000010 -- RATE_RANDOM_ WALK_SPECTRAL_DENSITY \vspace{-0.18in} \end{itemize1} */ }qmiLocSetSensorPropertiesIndMsgT_v02; /* Message */ @@ -6365,11 +6377,11 @@ typedef struct { /**< Mask denoting the sensor properties parameters to be retrieved. Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- GYRO_BIAS_VARIANCE_RANDOM_WALK - \item 0x00000002 -- VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY - \item 0x00000004 -- ACCELERATION_RANDOM_WALK_SPECTRAL_DENSITY - \item 0x00000008 -- ANGLE_RANDOM_WALK_SPECTRAL_DENSITY - \item 0x00000010 -- RATE_RANDOM_WALK_SPECTRAL_DENSITY + \item 0x00000001 -- GYRO_BIAS_ VARIANCE_RANDOM_WALK + \item 0x00000002 -- VELOCITY_ RANDOM_WALK_SPECTRAL_ DENSITY + \item 0x00000004 -- ACCELERATION_ RANDOM_WALK_SPECTRAL_ DENSITY + \item 0x00000008 -- ANGLE_RANDOM_ WALK_SPECTRAL_DENSITY + \item 0x00000010 -- RATE_RANDOM_ WALK_SPECTRAL_DENSITY \vspace{-0.18in} \end{itemize1} */ }qmiLocGetSensorPropertiesReqMsgT_v02; /* Message */ @@ -6392,11 +6404,11 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT - \item 0x00000007 -- CONFIG_NOT_SUPPORTED + \item 0x00000007 -- CONFIG_NOT_ SUPPORTED \vspace{-0.18in} \end{itemize1} */ @@ -6407,9 +6419,9 @@ typedef struct { /**< Specifies the gyro bias random walk variance parameter as a positive floating-point value. This value has internal default value 1.0e-5 radian^2/second^4. The gyro bias variance random walk parameter is derived from either the - sensors data sheet or a sensors conformance test. \n + sensors data sheet or a sensors conformance test. \n - Units: Radians^2/seconds^4 - + */ /* Optional */ @@ -6419,7 +6431,7 @@ typedef struct { /**< Specifies the velocity random walk spectral density parameter as a positive floating-point value. This value does not have any internal defaults. The velocity random walk spectral density parameter is derived from either the - sensors data sheet or a sensors conformance test. \n + sensors data sheet or a sensors conformance test. \n - Units: Meters/seconds^2/Hertz^0.5 */ @@ -6431,7 +6443,7 @@ typedef struct { /**< Specifies the acceleration random walk spectral density parameter as a positive floating-point value. This value does not have any internal defaults. The acceleration random walk spectral density parameter is derived from either the - sensors data sheet or a sensors conformance test. \n + sensors data sheet or a sensors conformance test. \n - Units: Meters/seconds^3/Hertz^0.5 */ @@ -6443,7 +6455,7 @@ typedef struct { /**< Specifies the angle random walk spectral density parameter as a positive floating-point value. This value does not have any internal defaults. The angle random walk spectral density parameter is derived from either the - sensors data sheet or a sensors conformance test. \n + sensors data sheet or a sensors conformance test. \n - Units: Radians/seconds/Hertz^0.5 */ @@ -6455,9 +6467,9 @@ typedef struct { /**< Specifies the rate random walk spectral density parameter as a positive floating-point value. This value does not have any internal defaults. The rate random walk spectral density parameter is derived from either the - sensors data sheet or a sensors conformance test. \n + sensors data sheet or a sensors conformance test. \n - Units: Radians/seconds^2/Hertz^0.5 - + */ }qmiLocGetSensorPropertiesIndMsgT_v02; /* Message */ /** @@ -6489,7 +6501,7 @@ typedef uint32_t qmiLocSensorAlgorithmMaskT_v02; /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Provides fine-grained control of sensor based positioning +/** Request Message; Provides fine-grained control of sensor based positioning performance */ typedef struct { @@ -6500,13 +6512,13 @@ typedef struct { /**< Controls when sensors data is requested during GNSS fix processing. This field is relevant only when sensors have been enabled using the sensors control configuration. - + Valid values: \begin{itemize1} \item 0x00000000 -- AUTO: \n - The GNSS location engine can decide when to request sensor data + The GNSS location engine can decide when to request sensor data injection based on internal criteria. This is the default. \item 0x00000001 -- FORCED: \n - The GNSS location engine must request use of sensors every time + The GNSS location engine must request use of sensors every time the GNSS location engine turns on. \vspace{-0.18in} \end{itemize1} */ @@ -6518,10 +6530,10 @@ typedef struct { /**< \n \vspace{0.06in} Sets the nominal rate at which the GNSS location engine is to request acceleration data to be used by the low data rate filter. The sensor data rate is specified in terms of the nominal number - of samples per batch and the number of batches per second. - However, the final control of the actual requested rate resides with + of samples per batch and the number of batches per second. + However, the final control of the actual requested rate resides with the Sensors Manager Module/GNSS location engine. \n - Default: 10 Hz sampling rate and 2 Hz batching rate. + Default: 10 Hz sampling rate and 2 Hz batching rate. */ /* Optional */ @@ -6531,10 +6543,10 @@ typedef struct { /**< \n \vspace{0.06in} Sets the nominal rate at which the GNSS location engine is to request gyro data to be used by the high data rate filter. The sensor data rate is specified in terms of the nominal number of - samples per batch and the number of batches per second. - However, the final control of the actual requested rate resides with + samples per batch and the number of batches per second. + However, the final control of the actual requested rate resides with the Sensors Manager Module/GNSS location engine. \n - Default: 10 Hz sampling rate and 2 Hz batching rate. + Default: 10 Hz sampling rate and 2 Hz batching rate. */ /* Optional */ @@ -6544,7 +6556,7 @@ typedef struct { /**< Sets which sensor algorithms are to be used when processing sensor data. Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- DISABLE_INS_POSITIONING_FILTER + \item 0x00000001 -- DISABLE_INS_ POSITIONING_FILTER \vspace{-0.18in} \end{itemize1} */ @@ -6552,26 +6564,26 @@ typedef struct { /* High Data Rate Filter Accelerometer Sampling Specification */ uint8_t accelSamplingSpecHigh_valid; /**< Must be set to true if accelSamplingSpecHigh is being passed */ qmiLocSensorControlConfigSamplingSpecStructT_v02 accelSamplingSpecHigh; - /**< \n Sets the nominal rate at which the GNSS location engine is to request - acceleration data to be used by the high data rate filter. The sensor - data rate is specified in terms of the nominal number of samples per - batch and the number of batches per second. - However, the final control of the actual requested rate resides with - the Sensors Manager Module/GNSS location engine. \n - Default: 100 Hz sampling rate and 4 Hz batching rate. + /**< \n Sets the nominal rate at which the GNSS location engine is to request + acceleration data to be used by the high data rate filter. The sensor + data rate is specified in terms of the nominal number of samples per + batch and the number of batches per second. + However, the final control of the actual requested rate resides with + the Sensors Manager Module/GNSS location engine. \n + Default: 100 Hz sampling rate and 4 Hz batching rate. */ /* Optional */ /* High Data Rate Filter Gyroscope Sampling Specification */ uint8_t gyroSamplingSpecHigh_valid; /**< Must be set to true if gyroSamplingSpecHigh is being passed */ qmiLocSensorControlConfigSamplingSpecStructT_v02 gyroSamplingSpecHigh; - /**< \n Sets the nominal rate at which the GNSS location engine is to request - gyro data to be used by the high data rate filter. The sensor data rate - is specified in terms of the nominal number of samples per batch and the - number of batches per second. - However, the final control of the actual requested rate resides with - the Sensors Manager Module/GNSS location engine. \n - Default: 100 Hz sampling rate and 4 Hz batching rate. + /**< \n Sets the nominal rate at which the GNSS location engine is to request + gyro data to be used by the high data rate filter. The sensor data rate + is specified in terms of the nominal number of samples per batch and the + number of batches per second. + However, the final control of the actual requested rate resides with + the Sensors Manager Module/GNSS location engine. \n + Default: 100 Hz sampling rate and 4 Hz batching rate. */ }qmiLocSetSensorPerformanceControlConfigReqMsgT_v02; /* Message */ /** @@ -6588,7 +6600,7 @@ typedef uint32_t qmiLocSensorPerformanceControlConfigFailureMaskT_v02; /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Provides fine-grained control of sensor based positioning +/** Indication Message; Provides fine-grained control of sensor based positioning performance */ typedef struct { @@ -6601,7 +6613,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -6617,12 +6629,12 @@ typedef struct { Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- PERFORMANCE_MODE - \item 0x00000002 -- ACCEL_SAMPLING_SPEC - \item 0x00000004 -- GYRO_SAMPLING_SPEC - \item 0x00000008 -- ALGORITHM_CONFIG - \item 0x00000010 -- ACCEL_SAMPLING_SPEC_HIGH - \item 0x00000020 -- GYRO_SAMPLING_SPEC_HIGH + \item 0x00000001 -- PERFORMANCE_ MODE + \item 0x00000002 -- ACCEL_SAMPLING_ SPEC + \item 0x00000004 -- GYRO_SAMPLING_ SPEC + \item 0x00000008 -- ALGORITHM_ CONFIG + \item 0x00000010 -- ACCEL_SAMPLING_ SPEC_HIGH + \item 0x00000020 -- GYRO_SAMPLING_ SPEC_HIGH \vspace{-0.18in} \end{itemize1} */ }qmiLocSetSensorPerformanceControlConfigIndMsgT_v02; /* Message */ @@ -6639,7 +6651,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Retrieves the current sensor performance control +/** Indication Message; Retrieves the current sensor performance control configuration. */ typedef struct { @@ -6652,7 +6664,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -6669,10 +6681,10 @@ typedef struct { Valid values: \begin{itemize1} \item 0x00000000 -- AUTO: \n - The GNSS location engine can decide when to request sensor data + The GNSS location engine can decide when to request sensor data injection based on internal criteria. This is the default. \item 0x0000001 -- FORCED: \n - The GNSS location engine must request use of the sensors every time + The GNSS location engine must request use of the sensors every time the GNSS location engine turns on. \vspace{-0.18in} \end{itemize1} */ @@ -6681,26 +6693,26 @@ typedef struct { /* Accelerometer Sampling Specification */ uint8_t accelSamplingSpec_valid; /**< Must be set to true if accelSamplingSpec is being passed */ qmiLocSensorControlConfigSamplingSpecStructT_v02 accelSamplingSpec; - /**< \n Sets the nominal rate at which the GNSS location engine is to request - acceleration data to be used by the high data rate filter. The sensor - data rate is specified in terms of the nominal number of samples per - batch and the number of batches per second. - However, the final control of the actual requested rate resides with + /**< \n Sets the nominal rate at which the GNSS location engine is to request + acceleration data to be used by the high data rate filter. The sensor + data rate is specified in terms of the nominal number of samples per + batch and the number of batches per second. + However, the final control of the actual requested rate resides with the Sensors Manager Module/GNSS location engine. \n - Default: 10 Hz sampling rate and 2Hz batching rate. + Default: 10 Hz sampling rate and 2Hz batching rate. */ /* Optional */ /* Gyroscope Sampling Specification */ uint8_t gyroSamplingSpec_valid; /**< Must be set to true if gyroSamplingSpec is being passed */ qmiLocSensorControlConfigSamplingSpecStructT_v02 gyroSamplingSpec; - /**< \n Sets the nominal rate at which the GNSS location engine is to request - gyro data to be used by the high data rate filter. The sensor data - rate is specified in terms of the nominal number of samples per batch - and the number of batches per second. - However, the final control of the actual requested rate resides with + /**< \n Sets the nominal rate at which the GNSS location engine is to request + gyro data to be used by the high data rate filter. The sensor data + rate is specified in terms of the nominal number of samples per batch + and the number of batches per second. + However, the final control of the actual requested rate resides with the Sensors Manager Module/GNSS location engine. \n - Default: 10 Hz sampling rate and 2 Hz batching rate. + Default: 10 Hz sampling rate and 2 Hz batching rate. */ /* Optional */ @@ -6710,7 +6722,7 @@ typedef struct { /**< Informs which sensor algorithms are currently set. Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- DISABLE_INS_POSITIONING_FILTER + \item 0x00000001 -- DISABLE_INS_ POSITIONING_FILTER \vspace{-0.18in} \end{itemize1} */ @@ -6718,26 +6730,26 @@ typedef struct { /* High Data Rate Filter Accelerometer Sampling Specification */ uint8_t accelSamplingSpecHigh_valid; /**< Must be set to true if accelSamplingSpecHigh is being passed */ qmiLocSensorControlConfigSamplingSpecStructT_v02 accelSamplingSpecHigh; - /**< \n Sets the nominal rate at which the GNSS location engine is to request - acceleration data to be used by the high data rate filter. The sensor - data rate is specified in terms of the nominal number of samples per - batch and the number of batches per second. - However, the final control of the actual requested rate resides with - the Sensors Manager Module/GNSS location engine. \n - Default: 100 Hz sampling rate and 4 Hz batching rate. + /**< \n Sets the nominal rate at which the GNSS location engine is to request + acceleration data to be used by the high data rate filter. The sensor + data rate is specified in terms of the nominal number of samples per + batch and the number of batches per second. + However, the final control of the actual requested rate resides with + the Sensors Manager Module/GNSS location engine. \n + Default: 100 Hz sampling rate and 4 Hz batching rate. */ /* Optional */ /* High Data Rate Filter Gyroscope Sampling Specification */ uint8_t gyroSamplingSpecHigh_valid; /**< Must be set to true if gyroSamplingSpecHigh is being passed */ qmiLocSensorControlConfigSamplingSpecStructT_v02 gyroSamplingSpecHigh; - /**< \n Sets the nominal rate at which the GNSS location engine is to request - gyro data to be used by the high data rate filter. The sensor data rate - is specified in terms of the nominal number of samples per batch and the - number of batches per second. - However, the final control of the actual requested rate resides with - the Sensors Manager Module/GNSS location engine. \n - Default: 100 Hz sampling rate and 4 Hz batching rate. + /**< \n Sets the nominal rate at which the GNSS location engine is to request + gyro data to be used by the high data rate filter. The sensor data rate + is specified in terms of the nominal number of samples per batch and the + number of batches per second. + However, the final control of the actual requested rate resides with + the Sensors Manager Module/GNSS location engine. \n + Default: 100 Hz sampling rate and 4 Hz batching rate. */ }qmiLocGetSensorPerformanceControlConfigIndMsgT_v02; /* Message */ /** @@ -6762,7 +6774,7 @@ typedef struct { uint32_t suplCertData_len; /**< Must be set to # of elements in suplCertData */ uint8_t suplCertData[QMI_LOC_MAX_SUPL_CERT_LENGTH_V02]; /**< SUPL certificate contents. \n - - Type: Array of bytes. \n + - Type: Array of bytes. \n - Maximum certificate size: 2000 bytes */ }qmiLocInjectSuplCertificateReqMsgT_v02; /* Message */ /** @@ -6779,12 +6791,12 @@ typedef struct { /* SUPL Certificate Injection Status */ qmiLocStatusEnumT_v02 status; /**< Status of the Inject SUPL Certificate request. - + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -6808,7 +6820,7 @@ typedef struct { /**< Certificate ID of the SUPL certificate to be deleted. \n - Units: Bytes \n - Range: 0 to 9 \n - If suplCertId is not specified, + If suplCertId is not specified, all SUPL certificates are deleted. */ }qmiLocDeleteSuplCertificateReqMsgT_v02; /* Message */ /** @@ -6830,7 +6842,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -6842,16 +6854,16 @@ typedef struct { */ typedef uint32_t qmiLocPositionEngineConfigParamMaskT_v02; -#define QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_INJECTED_POSITION_CONTROL_V02 ((qmiLocPositionEngineConfigParamMaskT_v02)0x00000001) /**< Denotes whether the position engine uses the +#define QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_INJECTED_POSITION_CONTROL_V02 ((qmiLocPositionEngineConfigParamMaskT_v02)0x00000001) /**< Denotes whether the position engine uses the injected position in a direct position calculation. */ #define QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_FILTER_SV_USAGE_V02 ((qmiLocPositionEngineConfigParamMaskT_v02)0x00000002) /**< Denotes whether the position engine filters the SV usage in the fix. */ -#define QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_STORE_ASSIST_DATA_V02 ((qmiLocPositionEngineConfigParamMaskT_v02)0x00000004) /**< Denotes whether the position engine stores assistance data +#define QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_STORE_ASSIST_DATA_V02 ((qmiLocPositionEngineConfigParamMaskT_v02)0x00000004) /**< Denotes whether the position engine stores assistance data in persistent memory. */ /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used by the control point to configure position engine +/** Request Message; Used by the control point to configure position engine functionality. */ typedef struct { @@ -6862,7 +6874,7 @@ typedef struct { /**< Controls how the injected position is used in the position engine. Valid values: \begin{itemize1} - \item 0x01 (TRUE) -- Use the injected position in a direct position + \item 0x01 (TRUE) -- Use the injected position in a direct position calculation \item 0x00 (FALSE) -- Do not use the injected position in a direct position calculation @@ -6887,7 +6899,7 @@ typedef struct { /* Store Assist Data */ uint8_t storeAssistData_valid; /**< Must be set to true if storeAssistData is being passed */ uint8_t storeAssistData; - /**< Controls whether assistance data is to be stored in + /**< Controls whether assistance data is to be stored in persistent memory. Valid values: \begin{itemize1} @@ -6904,7 +6916,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used by the control point to configure position engine +/** Indication Message; Used by the control point to configure position engine functionality. */ typedef struct { @@ -6917,7 +6929,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -6932,9 +6944,9 @@ typedef struct { This field is sent only if the status is other than SUCCESS. Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- INJECTED_POSITION_CONTROL + \item 0x00000001 -- INJECTED_ POSITION_CONTROL \item 0x00000002 -- FILTER_SV_USAGE - \item 0x00000004 -- STORE_ASSIST_DATA + \item 0x00000004 -- STORE_ASSIST_ DATA \vspace{-0.18in} \end{itemize1} */ }qmiLocSetPositionEngineConfigParametersIndMsgT_v02; /* Message */ @@ -6945,7 +6957,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used by the control point to get the position engine +/** Request Message; Used by the control point to get the position engine configuration parameters. */ typedef struct { @@ -6955,9 +6967,9 @@ typedef struct { /**< Mask denoting the configuration parameters to be retrieved. Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- INJECTED_POSITION_CONTROL + \item 0x00000001 -- INJECTED_ POSITION_CONTROL \item 0x00000002 -- FILTER_SV_USAGE - \item 0x00000004 -- STORE_ASSIST_DATA + \item 0x00000004 -- STORE_ASSIST_ DATA \vspace{-0.18in} \end{itemize1} */ }qmiLocGetPositionEngineConfigParametersReqMsgT_v02; /* Message */ @@ -6968,7 +6980,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used by the control point to get the position engine +/** Indication Message; Used by the control point to get the position engine configuration parameters. */ typedef struct { @@ -6981,7 +6993,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -6992,7 +7004,7 @@ typedef struct { /* Injected Position Control */ uint8_t injectedPositionControl_valid; /**< Must be set to true if injectedPositionControl is being passed */ uint8_t injectedPositionControl; - /**< Specifies whether the injected position is used for a direct calculation + /**< Specifies whether the injected position is used for a direct calculation in the position engine. Valid values: \begin{itemize1} @@ -7008,7 +7020,7 @@ typedef struct { /* Filter SV Usage */ uint8_t filterSvUsage_valid; /**< Must be set to true if filterSvUsage is being passed */ uint8_t filterSvUsage; - /**< Specifies whether SV usage is filtered in a position fix. + /**< Specifies whether SV usage is filtered in a position fix. Valid values: \begin{itemize1} \item 0x01 (TRUE) -- SV usage is filtered in the fix @@ -7068,7 +7080,7 @@ typedef enum { QMILOCGEOFENCECONFIDENCEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_GEOFENCE_CONFIDENCE_LOW_V02 = 0x01, /**< The Geofence engine indicates a breach with low confidence. This setting results in lower - power usage. This setting can impact the "yield" because + power usage. This setting can impact the "yield" because incorrect breach events may be sent. */ eQMI_LOC_GEOFENCE_CONFIDENCE_MED_V02 = 0x02, /**< The Geofence engine indicates a breach with medium confidence. This is the default setting. */ @@ -7135,15 +7147,15 @@ typedef struct { /**< Specifies the breach events in which the client is interested. Valid values: \begin{itemize1} - \item 0x01 -- GEOFENCE_BREACH_ENTERING_MASK - \item 0x02 -- GEOFENCE_BREACH_LEAVING_MASK + \item 0x01 -- GEOFENCE_BREACH_ ENTERING_MASK + \item 0x02 -- GEOFENCE_BREACH_ LEAVING_MASK \vspace{-0.18in} \end{itemize1} */ /* Mandatory */ /* Include Position in Breach Event */ uint8_t includePosition; /**< Specifies whether the Geofence engine is to include the position - in a breach event. + in a breach event. Valid values: \begin{itemize1} \item 0x01 (TRUE) -- Position will be reported with the breach event @@ -7155,30 +7167,30 @@ typedef struct { /* Responsiveness */ uint8_t responsiveness_valid; /**< Must be set to true if responsiveness is being passed */ qmiLocGeofenceResponsivenessEnumT_v02 responsiveness; - /**< Specifies the rate of detection for a Geofence breach. + /**< Specifies the rate of detection for a Geofence breach. This may impact the time lag between the actual breach event and - when it is reported. This parameter has power implications + when it is reported. This parameter has power implications and is to be fine-tuned to optimize power savings. Valid values: \begin{itemize1} - \item 0x00000001 -- GEOFENCE_RESPONSIVENESS_LOW - \item 0x00000002 -- GEOFENCE_RESPONSIVENESS_MED - \item 0x00000003 -- GEOFENCE_RESPONSIVENESS_HIGH + \item 0x00000001 -- GEOFENCE_ RESPONSIVENESS_LOW + \item 0x00000002 -- GEOFENCE_ RESPONSIVENESS_MED + \item 0x00000003 -- GEOFENCE_ RESPONSIVENESS_HIGH \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Confidence */ uint8_t confidence_valid; /**< Must be set to true if confidence is being passed */ qmiLocGeofenceConfidenceEnumT_v02 confidence; - /**< Given a breach event, the confidence determines the probability - that the breach happened at the Geofence boundary. - This parameter has power implications and + /**< Given a breach event, the confidence determines the probability + that the breach happened at the Geofence boundary. + This parameter has power implications and is to be fine-tuned to optimize power savings. Valid values: \begin{itemize1} - \item 0x00000001 -- GEOFENCE_CONFIDENCE_LOW - \item 0x00000002 -- GEOFENCE_CONFIDENCE_MED - \item 0x00000003 -- GEOFENCE_CONFIDENCE_HIGH + \item 0x00000001 -- GEOFENCE_ CONFIDENCE_LOW + \item 0x00000002 -- GEOFENCE_ CONFIDENCE_MED + \item 0x00000003 -- GEOFENCE_ CONFIDENCE_HIGH \vspace{-0.18in} \end{itemize1} */ }qmiLocAddCircularGeofenceReqMsgT_v02; /* Message */ /** @@ -7200,11 +7212,11 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT - \item 0x00000008 -- INSUFFICIENT_MEMORY + \item 0x00000008 -- INSUFFICIENT_ MEMORY \vspace{-0.18in} \end{itemize1} */ @@ -7220,7 +7232,7 @@ typedef struct { /* Geofence ID */ uint8_t geofenceId_valid; /**< Must be set to true if geofenceId is being passed */ uint32_t geofenceId; - /**< Geofence identifier allocated by the engine. + /**< Geofence identifier allocated by the engine. The client must include this identifier in all transactions pertaining to this Geofence. */ }qmiLocAddCircularGeofenceIndMsgT_v02; /* Message */ @@ -7265,7 +7277,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -7352,7 +7364,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -7379,8 +7391,8 @@ typedef struct { /**< Originator of the Geofence. Valid values: \begin{itemize1} - \item 0x00000001 -- GEOFENCE_ORIGIN_NETWORK - \item 0x00000002 -- GEOFENCE_ORIGIN_DEVICE + \item 0x00000001 -- GEOFENCE_ ORIGIN_NETWORK + \item 0x00000002 -- GEOFENCE_ ORIGIN_DEVICE \vspace{-0.18in} \end{itemize1} */ @@ -7389,11 +7401,11 @@ typedef struct { uint8_t posWrtGeofence_valid; /**< Must be set to true if posWrtGeofence is being passed */ qmiLocGeofencePositionEnumT_v02 posWrtGeofence; /**< Indicates if the client is currently inside or outside - the Geofence. + the Geofence. Valid values: \begin{itemize1} - \item 0x00000001 -- GEOFENCE_POSITION_INSIDE - \item 0x00000002 -- GEOFENCE_POSITION_OUTSIDE + \item 0x00000001 -- GEOFENCE_ POSITION_INSIDE + \item 0x00000002 -- GEOFENCE_ POSITION_OUTSIDE \vspace{-0.18in} \end{itemize1} */ /* Optional */ @@ -7408,8 +7420,8 @@ typedef struct { /**< Specifies whether the Geofence is to be actively monitored. Valid values: \begin{itemize1} - \item 0x00000001 -- GEOFENCE_STATE_ACTIVE - \item 0x00000002 -- GEOFENCE_STATE_SUSPEND + \item 0x00000001 -- GEOFENCE_STATE_ ACTIVE + \item 0x00000002 -- GEOFENCE_STATE_ SUSPEND \vspace{-0.18in} \end{itemize1} */ }qmiLocQueryGeofenceIndMsgT_v02; /* Message */ /** @@ -7442,8 +7454,8 @@ typedef struct { /**< Specifies whether the Geofence is to be actively monitored. Valid values: \begin{itemize1} - \item 0x00000001 -- GEOFENCE_STATE_ACTIVE - \item 0x00000002 -- GEOFENCE_STATE_SUSPEND + \item 0x00000001 -- GEOFENCE_STATE_ ACTIVE + \item 0x00000002 -- GEOFENCE_STATE_ SUSPEND \vspace{-0.18in} \end{itemize1} */ /* Optional */ @@ -7453,8 +7465,8 @@ typedef struct { /**< Specifies the breach events in which the client is interested. Valid values: \begin{itemize1} - \item 0x01 -- GEOFENCE_BREACH_ENTERING_MASK - \item 0x02 -- GEOFENCE_BREACH_LEAVING_MASK + \item 0x01 -- GEOFENCE_BREACH_ ENTERING_MASK + \item 0x02 -- GEOFENCE_BREACH_ LEAVING_MASK \vspace{-0.18in} \end{itemize1} */ }qmiLocEditGeofenceReqMsgT_v02; /* Message */ /** @@ -7479,7 +7491,7 @@ typedef struct { \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED - \item 0x00000003 -- INVALID_PARAMETER + \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT @@ -7507,8 +7519,8 @@ typedef struct { the Geofence parameter could not be edited. Valid values: \begin{itemize1} - \item 0x00000001 -- GEOFENCE_PARAM_MASK_GEOFENCE_STATE - \item 0x00000002 -- GEOFENCE_PARAM_MASK_BREACH_MASK + \item 0x00000001 -- GEOFENCE_PARAM_ MASK_GEOFENCE_STATE + \item 0x00000002 -- GEOFENCE_PARAM_ MASK_BREACH_MASK \vspace{-0.18in} \end{itemize1} */ }qmiLocEditGeofenceIndMsgT_v02; /* Message */ /** @@ -7518,7 +7530,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used by the control point to get the best available +/** Request Message; Used by the control point to get the best available position estimate from the location engine. */ typedef struct { @@ -7535,7 +7547,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used by the control point to get the best available +/** Indication Message; Used by the control point to get the best available position estimate from the location engine. */ typedef struct { @@ -7667,13 +7679,13 @@ typedef struct { uint8_t horReliability_valid; /**< Must be set to true if horReliability is being passed */ qmiLocReliabilityEnumT_v02 horReliability; /**< Specifies the reliability of the horizontal position. - + Valid values: \begin{itemize1} - \item 0x00000000 -- RELIABILITY_NOT_SET - \item 0x00000001 -- RELIABILITY_VERY_LOW + \item 0x00000000 -- RELIABILITY_NOT_ SET + \item 0x00000001 -- RELIABILITY_ VERY_LOW \item 0x00000002 -- RELIABILITY_LOW - \item 0x00000003 -- RELIABILITY_MEDIUM - \item 0x00000004 -- RELIABILITY_HIGH + \item 0x00000003 -- RELIABILITY_ MEDIUM + \item 0x00000004 -- RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1} */ /* Optional */ @@ -7702,7 +7714,7 @@ typedef struct { uint8_t vertConfidence_valid; /**< Must be set to true if vertConfidence is being passed */ uint8_t vertConfidence; /**< Vertical uncertainty confidence. \n - - Units: Percent \n + - Units: Percent \n - Range: 0 to 99 */ /* Optional */ @@ -7712,10 +7724,10 @@ typedef struct { /**< Specifies the reliability of the vertical position. Valid values: \begin{itemize1} - \item 0x00000000 -- RELIABILITY_NOT_SET - \item 0x00000001 -- RELIABILITY_VERY_LOW + \item 0x00000000 -- RELIABILITY_NOT_ SET + \item 0x00000001 -- RELIABILITY_ VERY_LOW \item 0x00000002 -- RELIABILITY_LOW - \item 0x00000003 -- RELIABILITY_MEDIUM + \item 0x00000003 -- RELIABILITY_ MEDIUM \item 0x00000004 -- RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1}*/ @@ -7753,7 +7765,7 @@ typedef struct { /* Magnetic Deviation */ uint8_t magneticDeviation_valid; /**< Must be set to true if magneticDeviation is being passed */ float magneticDeviation; - /**< Difference between the bearing to true north and the bearing shown + /**< Difference between the bearing to true north and the bearing shown on a magnetic compass. The deviation is positive when the magnetic north is east of true north. */ @@ -7767,9 +7779,9 @@ typedef struct { \item 0x00000001 -- SATELLITE \item 0x00000002 -- CELLID \item 0x00000004 -- WIFI - \item 0x00000008 -- SENSORS - \item 0x00000010 -- REFERENCE_LOCATION - \item 0x00000020 -- INJECTED_COARSE_POSITION + \item 0x00000008 -- SENSORS + \item 0x00000010 -- REFERENCE_ LOCATION + \item 0x00000020 -- INJECTED_COARSE_ POSITION \vspace{-0.18in} \end{itemize1} */ /* Optional */ @@ -7788,26 +7800,26 @@ typedef struct { qmiLocTimeSourceEnumT_v02 timeSrc; /**< Time source. Valid values: \n - - eQMI_LOC_TIME_SRC_INVALID (0) -- Invalid time. - - eQMI_LOC_TIME_SRC_NETWORK_TIME_TRANSFER (1) -- Time is set by the 1x system. + - eQMI_LOC_TIME_SRC_INVALID (0) -- Invalid time. + - eQMI_LOC_TIME_SRC_NETWORK_TIME_TRANSFER (1) -- Time is set by the 1x system. - eQMI_LOC_TIME_SRC_NETWORK_TIME_TAGGING (2) -- Time is set by WCDMA/GSM time tagging (i.e., - associating network time with GPS time). - - eQMI_LOC_TIME_SRC_EXTERNAL_INPUT (3) -- Time is set by an external injection. + associating network time with GPS time). + - eQMI_LOC_TIME_SRC_EXTERNAL_INPUT (3) -- Time is set by an external injection. - eQMI_LOC_TIME_SRC_TOW_DECODE (4) -- Time is set after decoding over-the-air GPS navigation data - from one GPS satellite. - - eQMI_LOC_TIME_SRC_TOW_CONFIRMED (5) -- Time is set after decoding over-the-air GPS navigation data - from multiple satellites. - - eQMI_LOC_TIME_SRC_TOW_AND_WEEK_CONFIRMED (6) -- Both time of the week and the GPS week number are known. - - eQMI_LOC_TIME_SRC_NAV_SOLUTION (7) -- Time is set by the position engine after the fix is obtained. + from one GPS satellite. + - eQMI_LOC_TIME_SRC_TOW_CONFIRMED (5) -- Time is set after decoding over-the-air GPS navigation data + from multiple satellites. + - eQMI_LOC_TIME_SRC_TOW_AND_WEEK_CONFIRMED (6) -- Both time of the week and the GPS week number are known. + - eQMI_LOC_TIME_SRC_NAV_SOLUTION (7) -- Time is set by the position engine after the fix is obtained. - eQMI_LOC_TIME_SRC_SOLVE_FOR_TIME (8) -- Time is set by the position engine after performing SFT. - This is done when the clock time uncertainty is large. - - eQMI_LOC_TIME_SRC_GLO_TOW_DECODE (9) -- Time is set after decoding GLO satellites - - eQMI_LOC_TIME_SRC_TIME_TRANSFORM (10) -- Time is set after transforming the GPS to GLO time - - eQMI_LOC_TIME_SRC_WCDMA_SLEEP_TIME_TAGGING (11) -- Time is set by the sleep time tag provided by the WCDMA network - - eQMI_LOC_TIME_SRC_GSM_SLEEP_TIME_TAGGING (12) -- Time is set by the sleep time tag provided by the GSM network - - eQMI_LOC_TIME_SRC_UNKNOWN (13) -- Source of the time is unknown - - eQMI_LOC_TIME_SRC_SYSTEM_TIMETICK (14) -- Time is derived from system clock (better known as slow clock). - GNSS time is maintained irrespective of the GNSS receiver state + This is done when the clock time uncertainty is large. + - eQMI_LOC_TIME_SRC_GLO_TOW_DECODE (9) -- Time is set after decoding GLO satellites + - eQMI_LOC_TIME_SRC_TIME_TRANSFORM (10) -- Time is set after transforming the GPS to GLO time + - eQMI_LOC_TIME_SRC_WCDMA_SLEEP_TIME_TAGGING (11) -- Time is set by the sleep time tag provided by the WCDMA network + - eQMI_LOC_TIME_SRC_GSM_SLEEP_TIME_TAGGING (12) -- Time is set by the sleep time tag provided by the GSM network + - eQMI_LOC_TIME_SRC_UNKNOWN (13) -- Source of the time is unknown + - eQMI_LOC_TIME_SRC_SYSTEM_TIMETICK (14) -- Time is derived from system clock (better known as slow clock). + GNSS time is maintained irrespective of the GNSS receiver state */ /* Optional */ @@ -7821,12 +7833,12 @@ typedef struct { uint32_t gnssSvUsedList_len; /**< Must be set to # of elements in gnssSvUsedList */ uint16_t gnssSvUsedList[QMI_LOC_MAX_SV_USED_LIST_LENGTH_V02]; /**< Each entry in the list contains the SV ID of a satellite - used for calculating this position report. The following + used for calculating this position report. The following information is associated with each SV ID: \begin{itemize1} \item Range: \begin{itemize1} \item For GPS: 1 to 32 \item For SBAS: 33 to 64 - \item For GLONASS: 65 to 96 + \item For GLONASS: 65 to 96 \item For QZSS: 193 to 197 \vspace{-0.18in} \end{itemize1} \end{itemize1} */ }qmiLocGetBestAvailablePositionIndMsgT_v02; /* Message */ @@ -7871,79 +7883,79 @@ typedef enum { typedef struct { qmiLocMotionStateEnumT_v02 motion_state; - /**< Current motion state of the user. \n + /**< Current motion state of the user. Valid values: \begin{itemize1} - \item eQMI_LOC_MOTION_STATE_UNKNOWN (0) -- Device state is not known. - \item eQMI_LOC_MOTION_STATE_STATIONARY (1) -- Device state is Stationary. - \item eQMI_LOC_MOTION_STATE_IN_MOTION (2) -- Device state is In Motion. - \vspace{0.06in} \end{itemize1} - - Absolute rest and relative rest are both indicated by setting motion_state - to Stationary. The relative rest state can be distinguished from absolute + \item eQMI_LOC_MOTION_ STATE_UNKNOWN (0) -- Device state is not known. + \item eQMI_LOC_MOTION_ STATE_STATIONARY (1) -- Device state is Stationary. + \item eQMI_LOC_MOTION_ STATE_IN_MOTION (2) -- Device state is In Motion. + \vspace{0.1in} \end{itemize1} + + Absolute rest and relative rest are both indicated by setting motion_state + to Stationary. The relative rest state can be distinguished from absolute rest by reducing probability_of_state. */ qmiLocMotionModeEnumT_v02 motion_mode; - /**< Modes of user motion. \n + /**< Modes of user motion. Valid values: \begin{itemize1} - \item eQMI_LOC_MOTION_MODE_ UNKNOWN (0) -- Device movement is not known. - \item eQMI_LOC_MOTION_MODE_ STATIONARY (1) -- Device is not moving. + \item eQMI_LOC_MOTION_MODE_ UNKNOWN (0) -- Device movement is not known. + \item eQMI_LOC_MOTION_MODE_ STATIONARY (1) -- Device is not moving. \item eQMI_LOC_MOTION_MODE_ PEDESTRIAN_UNKNOWN (200) -- Device movement - is in Pedestrian mode; nothing else is known about the movement. + is in Pedestrian mode; nothing else is known about the movement. \item eQMI_LOC_MOTION_MODE_ PEDESTRIAN_WALKING (201) -- Device movement - is in Pedestrian Walking mode. + is in Pedestrian Walking mode. \item eQMI_LOC_MOTION_MODE_ PEDESTRIAN_RUNNING (202) -- Device movement - is in Pedestrian Running mode. + is in Pedestrian Running mode. \item eQMI_LOC_MOTION_MODE_ VEHICLE_UNKNOWN (300) -- Device movement is - in Vehicular mode; nothing else is known about the movement. - \vspace{0.06in} \end{itemize1} - + in Vehicular mode; nothing else is known about the movement. + \vspace{0.1in} \end{itemize1} + The motion_mode value is independent of the motion_state value. */ float probability_of_state; - /**< Probability that the device is actually undergoing the motion state - specified by the combination of the values of motion_state, motion_mode, - and motion_sub_mode. \vspace{0.06in} + /**< Probability that the device is actually undergoing the motion state + specified by the combination of the values of motion_state, motion_mode, + and motion_sub_mode. \vspace{0.1in} - This value is a floating point number in the range of 0 to 100, in - units of percent probability. Any value greater than 99.9999 is - applied as 99.9999. \vspace{0.06in} + This value is a floating point number in the range of 0 to 100, in + units of percent probability. Any value greater than 99.9999 is + applied as 99.9999. \vspace{0.1in} It is recommended that if a particular combination of motion_state and - motion_mode cannot be determined with more than 50 percent confidence, - that a more general statement of user motion be made. - For example, if the mode of In-Motion + Pedestrian-Running can only be - determined with 50 percent probability, and the simpler statement of In-Motion - can be determined with 90 percent probability, it is recommended that this field - be used to simply state In-Motion with 90 percent probability. \vspace{0.06in} + motion_mode cannot be determined with more than 50 percent confidence, + that a more general statement of user motion be made. + For example, if the mode of In-Motion + Pedestrian-Running can only be + determined with 50 percent probability, and the simpler statement of In-Motion + can be determined with 90 percent probability, it is recommended that this field + be used to simply state In-Motion with 90 percent probability. \vspace{0.1in} If the motion_state is not known, the value in this field is not used. */ uint16_t age; - /**< Age of the motion data in milliseconds at the time of injection. + /**< Age of the motion data in milliseconds at the time of injection. */ uint16_t timeout; /**< If the age of the motion data input exceeds the timeout value, the data - will no longer be used. The timeout value is in units of milliseconds. - Values in the range of 0 to 10000 are accepted. If 65535 is provided, - the motion data input is applied until the next input is - received. \vspace{0.06in} + will no longer be used. The timeout value is in units of milliseconds. + Values in the range of 0 to 10000 are accepted. If 65535 is provided, + the motion data input is applied until the next input is + received. \n - If the determination of motion data is an instantaneous observation - and no notice is guaranteed to be given via the QMI on a change in the - state of the motion data, it is recommended that this field be set to 0. \vspace{0.06in} + If the determination of motion data is an instantaneous observation + and no notice is guaranteed to be given via the QMI on a change in the + state of the motion data, it is recommended that this field be set to 0. \vspace{0.1in} - If the determination of motion data is continuously monitored - external to the QMI and an update is always applied to the QMI upon any - change in state, a value of 65535 is used for this field. - Note that in this case, if a certain mode is set and is not later - unset (e.g., by sending in the request message with a user motion - state of Unknown), the value is applied indefinitely. + If the determination of motion data is continuously monitored + external to the QMI and an update is always applied to the QMI upon any + change in state, a value of 65535 is used for this field. + Note that in this case, if a certain mode is set and is not later + unset (e.g., by sending in the request message with a user motion + state of Unknown), the value is applied indefinitely. */ }qmiLocMotionDataStructT_v02; /* Type */ /** @@ -7959,7 +7971,6 @@ typedef struct { /* Mandatory */ /* Motion Data */ qmiLocMotionDataStructT_v02 motion_data; - /**< Current motion data of the client */ }qmiLocInjectMotionDataReqMsgT_v02; /* Message */ /** @} @@ -7974,7 +7985,7 @@ typedef struct { /* Mandatory */ /* Inject Motion Data Request Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Inject Motion Data request. + /**< Status of the Inject Motion Data request. Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS @@ -8015,7 +8026,7 @@ typedef struct { typedef struct { /* Mandatory */ - /* Get NI Geofence ID List status */ + /* Get NI Geofence ID List Status */ qmiLocStatusEnumT_v02 status; /**< Status of the Get NI Geofence ID List request. Valid values: \n @@ -8029,7 +8040,7 @@ typedef struct { /* Transaction ID */ uint8_t transactionId_valid; /**< Must be set to true if transactionId is being passed */ uint32_t transactionId; - /**< Transaction ID that was specified in the Get NI + /**< Transaction ID that was specified in the Get NI Geofence ID List request. */ /* Optional */ @@ -8038,7 +8049,7 @@ typedef struct { uint32_t niGeofenceIdList_len; /**< Must be set to # of elements in niGeofenceIdList */ uint32_t niGeofenceIdList[QMI_LOC_MAX_NI_GEOFENCE_ID_LIST_LENGTH_V02]; /**< List containing the NI Geofence IDs. - - Type: Array of unsigned 32-bit integers \n + - Type: Array of unsigned 32-bit integers \n - Maximum NI Geofence ID List length: 16 */ }qmiLocGetNiGeofenceIdListIndMsgT_v02; /* Message */ /** @@ -8051,16 +8062,16 @@ typedef struct { typedef struct { uint32_t MCC; - /**< GSM mobile country code. Refer to ITU-T E.212 specification */ + /**< GSM mobile country code. Refer to ITU-T E.212 \hyperref[R2]{[R2]}. */ uint32_t MNC; - /**< GSM mobile network code. Refer to ITU-T E.212 specification*/ + /**< GSM mobile network code. Refer to \hyperref[R2]{[R2]}. */ uint32_t LAC; - /**< GSM location area code.Refer to ITU-T E.212 specification */ + /**< GSM location area code. Refer to \hyperref[R2]{[R2]}. */ uint32_t CID; - /**< GSM cell identification.Refer to ITU-T E.212 specification */ + /**< GSM cell identification. Refer to \hyperref[R2]{[R2]}. */ }qmiLocGSMCellIdStructT_v02; /* Type */ /** @} @@ -8069,23 +8080,30 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used to inject GSM Cell information into the location +/** Request Message; Injects GSM cell information into the location engine. */ typedef struct { /* Mandatory */ /* GSM Cell ID */ qmiLocGSMCellIdStructT_v02 gsmCellId; - /**< Identifies the GSM Cell the device is currently camped on.*/ + /**< \n Identifies the GSM cell on which the device is currently camped. */ /* Mandatory */ /* Roaming Status */ uint8_t roamingStatus; /**< Whether the device is roaming. \begin{itemize1} - \item 0x01 (TRUE) -- The device is roaming. - \item 0x00 (FALSE) -- The device is not roaming. + \item 0x01 (TRUE) -- Device is roaming + \item 0x00 (FALSE) -- Device is not roaming \vspace{-0.18in} \end{itemize1}*/ + + /* Optional */ + /* Timing Advance */ + uint8_t timingAdvance_valid; /**< Must be set to true if timingAdvance is being passed */ + uint32_t timingAdvance; + /**< The round trip delay between the MS and the BS, in unit of 3.69 microseconds. + Refer to 3GPP TS 05.10 and TS 45.010 */ }qmiLocInjectGSMCellInfoReqMsgT_v02; /* Message */ /** @} @@ -8094,7 +8112,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used to inject GSM Cell information into the location +/** Indication Message; Injects GSM cell information into the location engine. */ typedef struct { @@ -8103,24 +8121,242 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Inject GSM Cell Info request. - Valid values: \n - - 0x00000000 -- SUCCESS \n - - 0x00000001 -- GENERAL_FAILURE \n - - 0x00000002 -- UNSUPPORTED \n - - 0x00000003 -- INVALID_PARAMETER \n - - 0x00000004 -- ENGINE_BUSY \n - - 0x00000006 -- TIMEOUT */ + Valid values: \begin{itemize1} + \item 0x00000000 -- SUCCESS + \item 0x00000001 -- GENERAL_FAILURE + \item 0x00000002 -- UNSUPPORTED + \item 0x00000003 -- INVALID_ PARAMETER + \item 0x00000004 -- ENGINE_BUSY + \item 0x00000006 -- TIMEOUT + \vspace{-018in} \end{itemize1} */ }qmiLocInjectGSMCellInfoIndMsgT_v02; /* Message */ /** @} */ +/** @addtogroup loc_qmi_enums + @{ + */ +typedef enum { + QMILOCROAMINGSTATUSENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ + eQMI_LOC_PHONE_NOT_ROAMING_V02 = 1, /**< Modem is camped on a home network */ + eQMI_LOC_PHONE_ROAMING_V02 = 2, /**< Modem is camped on a roaming network. */ + QMILOCROAMINGSTATUSENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ +}qmiLocRoamingStatusEnumT_v02; +/** + @} + */ + +/** @addtogroup loc_qmi_aggregates + @{ + */ +typedef struct { + + uint32_t mcc; + /**< WCDMA mobile country code. Refer to ITU-T E.212 \hyperref[R2]{[R2]}. */ + + uint32_t mnc; + /**< WCDMA mobile network code. Refer to \hyperref[R2]{[R2]}. */ + + uint32_t cid; + /**< WCDMA Cell Identity. Refer to \hyperref[R2]{[R2]}. */ +}qmiLocWCDMACellIdStructT_v02; /* Type */ +/** + @} + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Request Message; Injects WCDMA cell information into the location + engine. */ +typedef struct { + + /* Mandatory */ + /* WCDMA Cell ID */ + qmiLocWCDMACellIdStructT_v02 wcdmaCellId; + /**< \n Identifies the WCDMA cell on which the device is currently camped. */ + + /* Mandatory */ + /* Roaming Status */ + qmiLocRoamingStatusEnumT_v02 roamingStatus; + /**< Whether the device is roaming. + Valid values: \begin{itemize1} + \item eQMI_LOC_PHONE_NOT_ROAMING -- Device not roaming, i.e. its camped on + its home network + \item eQMI_LOC_PHONE_ROAMING -- Device is currently roaming, i.e. its camped + on a roaming network. + \vspace{0.1in} \end{itemize1} */ + + /* Optional */ + uint8_t freq_valid; /**< Must be set to true if freq is being passed */ + uint32_t freq; + /**< FrequencyInfo of the serving cell. Valid range is 0 to 16383. Refer to TS 25.331 */ + + /* Optional */ + uint8_t psc_valid; /**< Must be set to true if psc is being passed */ + uint32_t psc; + /**< PrimaryScramblingCode of the serving cell. Valid range is 0 to 511. Refer to TS 25.331 */ +}qmiLocInjectWCDMACellInfoReqMsgT_v02; /* Message */ +/** + @} + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Indication Message; Injects WCDMA cell information into the location + engine. */ +typedef struct { + + /* Mandatory */ + /* Inject WCDMA Cell Info Status */ + qmiLocStatusEnumT_v02 status; + /**< Status of the Inject WCDMA Cell Info request. + + Valid values: \begin{itemize1} + \item 0x00000000 -- SUCCESS + \item 0x00000001 -- GENERAL_FAILURE + \item 0x00000002 -- UNSUPPORTED + \item 0x00000003 -- INVALID_ PARAMETER + \item 0x00000004 -- ENGINE_BUSY + \item 0x00000006 -- TIMEOUT + \vspace{-018in} \end{itemize1} */ +}qmiLocInjectWCDMACellInfoIndMsgT_v02; /* Message */ +/** + @} + */ + +/** @addtogroup loc_qmi_aggregates + @{ + */ +typedef struct { + + uint32_t mcc; + /**< TDSCDMA mobile country code. Refer to ITU-T E.212 \hyperref[R2]{[R2]}. */ + + uint32_t mnc; + /**< TDSCDMA mobile network code. Refer to \hyperref[R2]{[R2]}. */ + + uint32_t cid; + /**< TDSCDMA Cell Identity. Refer to TS 25.331. */ + + uint32_t lac; + /**< TDSCDMA location area code. Refer to \hyperref[R2]{[R2]}. */ +}qmiLocTDSCDMACellIdStructT_v02; /* Type */ +/** + @} + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Request Message; Injects TDSCDMA cell information into the location + engine. */ +typedef struct { + + /* Mandatory */ + /* TDSCDMA Cell ID */ + qmiLocTDSCDMACellIdStructT_v02 tdscdmaCellId; + /**< \n Identifies the TDSCDMA cell on which the device is currently camped. */ + + /* Mandatory */ + /* Roaming Status */ + qmiLocRoamingStatusEnumT_v02 roamingStatus; + /**< Whether the device is roaming. + Valid values: \begin{itemize1} + \item eQMI_LOC_PHONE_NOT_ROAMING -- Device not roaming, i.e. its camped on + its home network + \item eQMI_LOC_PHONE_ROAMING -- Device is currently roaming, i.e. its camped + on a roaming network. + \vspace{0.1in} \end{itemize1} */ + + /* Optional */ + uint8_t freq_valid; /**< Must be set to true if freq is being passed */ + uint32_t freq; + /**< FrequencyInfo of the serving cell. Valid range is 0 to 16383. Refer to TS 25.331 */ +}qmiLocInjectTDSCDMACellInfoReqMsgT_v02; /* Message */ +/** + @} + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Indication Message; Injects TDSCDMA cell information into the location + engine. */ +typedef struct { + + /* Mandatory */ + /* Inject TDSCDMA Cell Info Status */ + qmiLocStatusEnumT_v02 status; + /**< Status of the Inject TDSCDMA Cell Info request. + + Valid values: \begin{itemize1} + \item 0x00000000 -- SUCCESS + \item 0x00000001 -- GENERAL_FAILURE + \item 0x00000002 -- UNSUPPORTED + \item 0x00000003 -- INVALID_ PARAMETER + \item 0x00000004 -- ENGINE_BUSY + \item 0x00000006 -- TIMEOUT + \vspace{-018in} \end{itemize1} */ +}qmiLocInjectTDSCDMACellInfoIndMsgT_v02; /* Message */ +/** + @} + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Request Message; Injects the phone's subscriber ID into the location engine. */ +typedef struct { + + /* Optional */ + /* Preferred IMSI */ + uint8_t preferredIMSI_valid; /**< Must be set to true if preferredIMSI is being passed */ + uint64_t preferredIMSI; + /**< \n The IMSI number of the preferred RAT. Refer to \hyperref[R2]{[R2]}.*/ + + /* Optional */ + /* Preferred MSISDN */ + uint8_t preferredMSISDN_valid; /**< Must be set to true if preferredMSISDN is being passed */ + uint64_t preferredMSISDN; + /**< \n The MSISDN number of the preferred RAT. Refer to \hyperref[R2]{[R2]}.*/ +}qmiLocInjectSubscriberIDReqMsgT_v02; /* Message */ +/** + @} + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Indication Message; Injects the phone's subscriber ID into the location engine. */ +typedef struct { + + /* Mandatory */ + /* Inject Subscriber ID Status */ + qmiLocStatusEnumT_v02 status; + /**< Status of the Inject Subscriber ID request. + + Valid values: \begin{itemize1} + \item 0x00000000 -- SUCCESS + \item 0x00000001 -- GENERAL_FAILURE + \item 0x00000002 -- UNSUPPORTED + \item 0x00000003 -- INVALID_ PARAMETER + \item 0x00000004 -- ENGINE_BUSY + \item 0x00000006 -- TIMEOUT + \vspace{-018in} \end{itemize1} */ +}qmiLocInjectSubscriberIDIndMsgT_v02; /* Message */ +/** + @} + */ + /** @addtogroup loc_qmi_enums @{ */ typedef enum { QMILOCINJECTEDNETWORKINITIATEDMESSAGETYPEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_INJECTED_NETWORK_INITIATED_MESSAGE_TYPE_SUPL_V02 = 0, /**< SUPL netwrok initiated message is being injected. */ + eQMI_LOC_INJECTED_NETWORK_INITIATED_MESSAGE_TYPE_SUPL_V02 = 0, /**< SUPL network-initiated message is being injected. */ QMILOCINJECTEDNETWORKINITIATEDMESSAGETYPEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocInjectedNetworkInitiatedMessageTypeEnumT_v02; /** @@ -8130,24 +8366,25 @@ typedef enum { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Used to inject a network initiated message into the location +/** Request Message; Injects a network-initiated message into the location engine. */ typedef struct { /* Mandatory */ /* Injected Network Initiated Message Type */ qmiLocInjectedNetworkInitiatedMessageTypeEnumT_v02 injectedNIMessageType; - /**< Type of the network initiated message being injected - Valid Values: - - eQMI_LOC_INJECTED_NETWORK_INITIATED_MESSAGE_TYPE_SUPL (0) -- SUPL netwrok initiated message is being injected. */ + /**< Type of the network-initiated message being injected. + + Valid values: + - eQMI_LOC_INJECTED_NETWORK_INITIATED_MESSAGE_TYPE_SUPL (0) -- SUPL network-initiated message is being injected. */ /* Mandatory */ /* Injected Network Initiated Message */ uint32_t injectedNIMessage_len; /**< Must be set to # of elements in injectedNIMessage */ uint8_t injectedNIMessage[QMI_LOC_MAX_INJECTED_NETWORK_INITIATED_MESSAGE_LENGTH_V02]; - /**< Network initiated message body. + /**< Network-initiated message body. If the inject NI message type is TYPE_SUPL, the message contains - a SUPL INIT message as defined in OMA-TS-ULP-V2_0-20110527-C specification. */ + a SUPL INIT message as defined in OMA-TS-ULP-V2_0-20110527-C \hyperref[S5]{[S5]}. */ }qmiLocInjectNetworkInitiatedMessageReqMsgT_v02; /* Message */ /** @} @@ -8156,7 +8393,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used to inject a network initiated message into the location +/** Indication Message; Injects a network-initiated message into the location engine. */ typedef struct { @@ -8165,14 +8402,15 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Inject Network Initiated Message request. - Valid values: \n - - 0x00000000 -- SUCCESS \n - - 0x00000001 -- GENERAL_FAILURE \n - - 0x00000002 -- UNSUPPORTED \n - - 0x00000003 -- INVALID_PARAMETER \n - - 0x00000004 -- ENGINE_BUSY \n - - 0x00000006 -- TIMEOUT \n - - 0x00000008 -- INSUFFICIENT_MEMORY \n */ + Valid values: \begin{itemize1} + \item 0x00000000 -- SUCCESS + \item 0x00000001 -- GENERAL_FAILURE + \item 0x00000002 -- UNSUPPORTED + \item 0x00000003 -- INVALID_ PARAMETER + \item 0x00000004 -- ENGINE_BUSY + \item 0x00000006 -- TIMEOUT + \item 0x00000008 -- INSUFFICIENT_ MEMORY + \vspace{-0.18in} \end{itemize1} */ }qmiLocInjectNetworkInitiatedMessageIndMsgT_v02; /* Message */ /** @} @@ -8187,22 +8425,23 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used to notify the location engine that the device is - no longer camped. */ +/** Indication Message; Notifies the location engine that the device is out of + service. */ typedef struct { /* Mandatory */ /* Notify WWAN Out of Service Status */ qmiLocStatusEnumT_v02 status; - /**< Status of the Notify WWAN out of service request. + /**< Status of the Notify WWAN Out of Service request. - Valid values: \n - - 0x00000000 -- SUCCESS \n - - 0x00000001 -- GENERAL_FAILURE \n - - 0x00000002 -- UNSUPPORTED \n - - 0x00000003 -- INVALID_PARAMETER \n - - 0x00000004 -- ENGINE_BUSY \n - - 0x00000006 -- TIMEOUT \n + Valid values: \begin{itemize1} + \item 0x00000000 -- SUCCESS + \item 0x00000001 -- GENERAL_FAILURE + \item 0x00000002 -- UNSUPPORTED + \item 0x00000003 -- INVALID_ PARAMETER + \item 0x00000004 -- ENGINE_BUSY + \item 0x00000006 -- TIMEOUT + \vspace{-0.18in} \end{itemize1} */ }qmiLocWWANOutOfServiceNotificationIndMsgT_v02; /* Message */ /** @@ -8220,18 +8459,18 @@ typedef struct { /* Time Source */ qmiLocSensorDataTimeSourceEnumT_v02 timeSource; /**< Time source for the pedometer. Location service will use - this field to identify the time reference used in the + this field to identify the time reference used in the pedometer data timestamp. Values: \n - eQMI_LOC_SENSOR_TIME_SOURCE_UNSPECIFIED (0) -- The sensor time source is unspecified - - eQMI_LOC_SENSOR_TIME_SOURCE_COMMON (1) -- The time source is common between the sensors and + - eQMI_LOC_SENSOR_TIME_SOURCE_COMMON (1) -- The time source is common between the sensors and the location engine*/ /* Mandatory */ /* Pedometer report timestamp */ uint32_t timestamp; /**< Timestamp of the last step event in this report, i.e timestamp - of the step event that caused this report to be generated. - The timestamp is in the time reference scale that is + of the step event that caused this report to be generated. + The timestamp is in the time reference scale that is used by the pedometer time source. \n - Unit: Milliseconds */ @@ -8240,7 +8479,7 @@ typedef struct { uint32_t timeInterval; /**< Time interval during which the step count was calculated. Subtracting timeInterval from the timestamp field will yield the the time when - the step detection for the first step in this report started. + the step detection for the first step in this report started. Unit : Milliseconds. */ /* Mandatory */ @@ -8505,26 +8744,35 @@ typedef struct { #define QMI_LOC_PEDOMETER_REPORT_REQ_V02 0x006F #define QMI_LOC_PEDOMETER_REPORT_RESP_V02 0x006F #define QMI_LOC_PEDOMETER_REPORT_IND_V02 0x006F +#define QMI_LOC_INJECT_WCDMA_CELL_INFO_REQ_V02 0x0070 +#define QMI_LOC_INJECT_WCDMA_CELL_INFO_RESP_V02 0x0070 +#define QMI_LOC_INJECT_WCDMA_CELL_INFO_IND_V02 0x0070 +#define QMI_LOC_INJECT_TDSCDMA_CELL_INFO_REQ_V02 0x0071 +#define QMI_LOC_INJECT_TDSCDMA_CELL_INFO_RESP_V02 0x0071 +#define QMI_LOC_INJECT_TDSCDMA_CELL_INFO_IND_V02 0x0071 +#define QMI_LOC_INJECT_SUBSCRIBER_ID_REQ_V02 0x0072 +#define QMI_LOC_INJECT_SUBSCRIBER_ID_RESP_V02 0x0072 +#define QMI_LOC_INJECT_SUBSCRIBER_ID_IND_V02 0x0072 /** @} */ /* Service Object Accessor */ -/** @addtogroup wms_qmi_accessor +/** @addtogroup wms_qmi_accessor @{ */ /** This function is used internally by the autogenerated code. Clients should use the macro loc_get_service_object_v02( ) that takes in no arguments. */ qmi_idl_service_object_type loc_get_service_object_internal_v02 ( int32_t idl_maj_version, int32_t idl_min_version, int32_t library_version ); - -/** This macro should be used to get the service object */ + +/** This macro should be used to get the service object */ #define loc_get_service_object_v02( ) \ loc_get_service_object_internal_v02( \ LOC_V02_IDL_MAJOR_VERS, LOC_V02_IDL_MINOR_VERS, \ LOC_V02_IDL_TOOL_VERS ) -/** - @} +/** + @} */