From a021ad35def2b459ab096d89a12dd337230a2284 Mon Sep 17 00:00:00 2001 From: Tushar Janefalkar Date: Wed, 1 May 2013 18:05:29 -0700 Subject: [PATCH] Update LOC API source and header files Updated LOC API source and header files since the new version had updated masks that were required for loc eng Change-Id: Ia0d57770a737ef6d05e881ac0512eb174e7c9fd1 --- loc_api/libloc_api_50001/loc.h | 3 +- loc_api/libloc_api_50001/loc_eng.cpp | 3 +- loc_api/loc_api_v02/loc_api_v02_client.c | 2 + loc_api/loc_api_v02/loc_api_v02_log.c | 6 +- loc_api/loc_api_v02/location_service_v02.c | 708 ++++---- loc_api/loc_api_v02/location_service_v02.h | 1785 ++++++++++---------- 6 files changed, 1306 insertions(+), 1201 deletions(-) diff --git a/loc_api/libloc_api_50001/loc.h b/loc_api/libloc_api_50001/loc.h index 51273ddf..e52ece47 100644 --- a/loc_api/libloc_api_50001/loc.h +++ b/loc_api/libloc_api_50001/loc.h @@ -96,7 +96,8 @@ typedef uint32_t LocPosTechMask; #define LOC_POS_TECH_MASK_SENSORS ((LocPosTechMask)0x00000008) #define LOC_POS_TECH_MASK_REFERENCE_LOCATION ((LocPosTechMask)0x00000010) #define LOC_POS_TECH_MASK_INJECTED_COARSE_POSITION ((LocPosTechMask)0x00000020) - +#define LOC_POS_TECH_MASK_AFLT ((LocPosTechMask)0x00000040) +#define LOC_POS_TECH_MASK_HYBRID ((LocPosTechMask)0x00000080) void loc_ulp_msg_sender(void* loc_eng_data_p, void* msg); #ifdef __cplusplus diff --git a/loc_api/libloc_api_50001/loc_eng.cpp b/loc_api/libloc_api_50001/loc_eng.cpp index 8fa87a0b..00ef79b8 100644 --- a/loc_api/libloc_api_50001/loc_eng.cpp +++ b/loc_api/libloc_api_50001/loc_eng.cpp @@ -1600,7 +1600,8 @@ static void loc_eng_deferred_action_thread(void* arg) ((LOCATION_HAS_SOURCE_INFO & rpMsg->location.gpsLocation.flags) && ULP_LOCATION_IS_FROM_HYBRID == rpMsg->location.position_source) || ((LOC_POS_TECH_MASK_SATELLITE & rpMsg->technology_mask) || - (LOC_POS_TECH_MASK_SENSORS & rpMsg->technology_mask)))) || + (LOC_POS_TECH_MASK_SENSORS & rpMsg->technology_mask) || + (LOC_POS_TECH_MASK_HYBRID & rpMsg->technology_mask)))) || (LOC_SESS_INTERMEDIATE == loc_eng_data_p->intermediateFix && !((rpMsg->location.gpsLocation.flags & GPS_LOCATION_HAS_ACCURACY) && (gps_conf.ACCURACY_THRES != 0) && 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 882c5276..13befd02 100644 --- a/loc_api/loc_api_v02/loc_api_v02_client.c +++ b/loc_api/loc_api_v02/loc_api_v02_client.c @@ -1647,6 +1647,8 @@ static bool validateRequest( case QMI_LOC_GET_SENSOR_CONTROL_CONFIG_REQ_V02: case QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02: case QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_REQ_V02: + case QMI_LOC_GET_SUPPORTED_MSGS_REQ_V02: + case QMI_LOC_GET_SUPPORTED_FIELDS_REQ_V02: { noPayloadFlag = true; break; 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 769222b8..dc8092c2 100644 --- a/loc_api/loc_api_v02/loc_api_v02_log.c +++ b/loc_api/loc_api_v02/loc_api_v02_log.c @@ -237,7 +237,11 @@ static loc_name_val_s_type loc_v02_event_name[] = 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) + NAME_VAL(QMI_LOC_INJECT_SUBSCRIBER_ID_IND_V02), + NAME_VAL(QMI_LOC_GET_SUPPORTED_MSGS_REQ_V02), + NAME_VAL(QMI_LOC_GET_SUPPORTED_MSGS_RESP_V02), + NAME_VAL(QMI_LOC_GET_SUPPORTED_FIELDS_REQ_V02), + NAME_VAL(QMI_LOC_GET_SUPPORTED_FIELDS_RESP_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 c7ebd6db..e883c369 100644 --- a/loc_api/loc_api_v02/location_service_v02.c +++ b/loc_api/loc_api_v02/location_service_v02.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. +/* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -26,13 +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 6.0 +/* This file was generated with Tool version 6.1 It requires encode/decode library version 5 or later - It was generated on: Thu Dec 13 2012 (Spin ) + It was generated on: Fri Mar 29 2013 (Spin 1) From IDL File: location_service_v02.idl */ #include "stdint.h" @@ -333,14 +333,6 @@ 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), @@ -357,7 +349,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), - 17, 0, + 16, 0, QMI_IDL_FLAG_END_VALUE }; @@ -376,7 +368,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), - 17, 0, + 16, 0, QMI_IDL_FLAG_END_VALUE }; @@ -396,7 +388,7 @@ static const uint8_t qmiLocSensorReadyStatusStructT_data_v02[] = { QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSensorReadyStatusStructT_v02, dataFrequency), - 21, 0, + 20, 0, QMI_IDL_FLAG_END_VALUE }; @@ -558,32 +550,7 @@ 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), - 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, + 29, 0, QMI_IDL_FLAG_END_VALUE }; @@ -646,6 +613,39 @@ 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, + + 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), + 36, 0, + QMI_IDL_FLAG_END_VALUE +}; + static const uint8_t qmiLocWCDMACellIdStructT_data_v02[] = { QMI_IDL_GENERIC_4_BYTE, QMI_IDL_OFFSET8(qmiLocWCDMACellIdStructT_v02, mcc), @@ -885,12 +885,17 @@ static const uint8_t qmiLocEventPositionReportIndMsgT_data_v02[] = { QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_GENERIC_4_BYTE, QMI_IDL_OFFSET16ARRAY(qmiLocEventPositionReportIndMsgT_v02, fixId), - QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocEventPositionReportIndMsgT_v02, gnssSvUsedList) - QMI_IDL_OFFSET16RELATIVE(qmiLocEventPositionReportIndMsgT_v02, gnssSvUsedList_valid)), + QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocEventPositionReportIndMsgT_v02, gnssSvUsedList) - QMI_IDL_OFFSET16RELATIVE(qmiLocEventPositionReportIndMsgT_v02, gnssSvUsedList_valid)), 0x2C, QMI_IDL_FLAGS_IS_ARRAY | QMI_IDL_FLAGS_IS_VARIABLE_LEN | QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_GENERIC_2_BYTE, QMI_IDL_OFFSET16ARRAY(qmiLocEventPositionReportIndMsgT_v02, gnssSvUsedList), QMI_LOC_MAX_SV_USED_LIST_LENGTH_V02, - QMI_IDL_OFFSET16RELATIVE(qmiLocEventPositionReportIndMsgT_v02, gnssSvUsedList) - QMI_IDL_OFFSET16RELATIVE(qmiLocEventPositionReportIndMsgT_v02, gnssSvUsedList_len) + QMI_IDL_OFFSET16RELATIVE(qmiLocEventPositionReportIndMsgT_v02, gnssSvUsedList) - QMI_IDL_OFFSET16RELATIVE(qmiLocEventPositionReportIndMsgT_v02, gnssSvUsedList_len), + + QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocEventPositionReportIndMsgT_v02, altitudeAssumed) - QMI_IDL_OFFSET16RELATIVE(qmiLocEventPositionReportIndMsgT_v02, altitudeAssumed_valid)), + 0x2D, + QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_GENERIC_1_BYTE, + QMI_IDL_OFFSET16ARRAY(qmiLocEventPositionReportIndMsgT_v02, altitudeAssumed) }; static const uint8_t qmiLocEventGnssSvInfoIndMsgT_data_v02[] = { @@ -953,7 +958,7 @@ static const uint8_t qmiLocEventNiNotifyVerifyReqIndMsgT_data_v02[] = { 0x15, QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_AGGREGATE, QMI_IDL_OFFSET16ARRAY(qmiLocEventNiNotifyVerifyReqIndMsgT_v02, suplEmergencyNotification), - 16, 0 + 35, 0 }; static const uint8_t qmiLocEventInjectTimeReqIndMsgT_data_v02[] = { @@ -961,20 +966,20 @@ static const uint8_t qmiLocEventInjectTimeReqIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventInjectTimeReqIndMsgT_v02, timeServerInfo), - 18, 0 + 17, 0 }; static const uint8_t qmiLocEventInjectPredictedOrbitsReqIndMsgT_data_v02[] = { 0x01, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventInjectPredictedOrbitsReqIndMsgT_v02, allowedSizes), - 19, 0, + 18, 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), - 20, 0 + 19, 0 }; static const uint8_t qmiLocEventInjectPositionReqIndMsgT_data_v02[] = { @@ -1028,25 +1033,25 @@ static const uint8_t qmiLocEventSensorStreamingReadyStatusIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, accelReady), - 22, 0, + 21, 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), - 22, 0, + 21, 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), - 22, 0, + 21, 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), - 22, 0 + 21, 0 }; static const uint8_t qmiLocEventTimeSyncReqIndMsgT_data_v02[] = { @@ -1104,37 +1109,15 @@ static const uint8_t qmiLocEventGeofenceBreachIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventGeofenceBreachIndMsgT_v02, geofencePosition), - 23, 0 + 22, 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, @@ -1163,12 +1146,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, @@ -1239,7 +1222,7 @@ static const uint8_t qmiLocNiUserRespReqMsgT_data_v02[] = { 0x15, QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_AGGREGATE, QMI_IDL_OFFSET16ARRAY(qmiLocNiUserRespReqMsgT_v02, suplEmergencyNotification), - 16, 0 + 35, 0 }; static const uint8_t qmiLocNiUserRespIndMsgT_data_v02[] = { @@ -1284,12 +1267,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, @@ -1299,21 +1282,21 @@ static const uint8_t qmiLocGetPredictedOrbitsDataSourceIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetPredictedOrbitsDataSourceIndMsgT_v02, allowedSizes), - 19, 0, + 18, 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), - 20, 0 + 19, 0 }; -/* +/* * qmiLocGetPredictedOrbitsDataValidityReqMsgT is empty * static const uint8_t qmiLocGetPredictedOrbitsDataValidityReqMsgT_data_v02[] = { * }; */ - + static const uint8_t qmiLocGetPredictedOrbitsDataValidityIndMsgT_data_v02[] = { 0x01, QMI_IDL_GENERIC_4_BYTE, @@ -1323,7 +1306,7 @@ static const uint8_t qmiLocGetPredictedOrbitsDataValidityIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetPredictedOrbitsDataValidityIndMsgT_v02, validityInfo), - 24, 0 + 23, 0 }; static const uint8_t qmiLocInjectUtcTimeReqMsgT_data_v02[] = { @@ -1397,7 +1380,7 @@ static const uint8_t qmiLocInjectPositionReqMsgT_data_v02[] = { 0x1A, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectPositionReqMsgT_v02, altSourceInfo), - 25, 0, + 24, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectPositionReqMsgT_v02, timestampUtc) - QMI_IDL_OFFSET8(qmiLocInjectPositionReqMsgT_v02, timestampUtc_valid)), 0x1B, @@ -1433,12 +1416,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, @@ -1462,12 +1445,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, @@ -1491,12 +1474,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, @@ -1520,12 +1503,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, @@ -1617,7 +1600,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), - 26, 0, + 25, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocDeleteAssistDataReqMsgT_v02, deleteGnssDataMask) - QMI_IDL_OFFSET16RELATIVE(qmiLocDeleteAssistDataReqMsgT_v02, deleteGnssDataMask_valid)), 0x11, @@ -1653,12 +1636,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, @@ -1675,13 +1658,13 @@ static const uint8_t qmiLocInjectWifiPositionReqMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, wifiFixTime), - 27, 0, + 26, 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), - 28, 0, + 27, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, apInfo) - QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, apInfo_valid)), 0x12, @@ -1689,7 +1672,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), - 29, 0, + 28, 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, @@ -1715,12 +1698,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, @@ -1744,12 +1727,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, @@ -1788,13 +1771,13 @@ static const uint8_t qmiLocInjectSensorDataReqMsgT_data_v02[] = { 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectSensorDataReqMsgT_v02, threeAxisAccelData), - 31, 0, + 30, 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), - 31, 0, + 30, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocInjectSensorDataReqMsgT_v02, threeAxisAccelDataTimeSource) - QMI_IDL_OFFSET16RELATIVE(qmiLocInjectSensorDataReqMsgT_v02, threeAxisAccelDataTimeSource_valid)), 0x13, @@ -1810,13 +1793,13 @@ static const uint8_t qmiLocInjectSensorDataReqMsgT_data_v02[] = { 0x15, QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_AGGREGATE, QMI_IDL_OFFSET16ARRAY(qmiLocInjectSensorDataReqMsgT_v02, accelTemperatureData), - 33, 0, + 37, 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), - 33, 0 + 37, 0 }; static const uint8_t qmiLocInjectSensorDataIndMsgT_data_v02[] = { @@ -1870,12 +1853,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, @@ -1909,12 +1892,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, @@ -1955,7 +1938,7 @@ static const uint8_t qmiLocInformLocationServerConnStatusReqMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInformLocationServerConnStatusReqMsgT_v02, apnProfile), - 34, 0 + 31, 0 }; static const uint8_t qmiLocInformLocationServerConnStatusIndMsgT_data_v02[] = { @@ -2082,12 +2065,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, @@ -2184,13 +2167,13 @@ static const uint8_t qmiLocSetSensorPerformanceControlConfigReqMsgT_data_v02[] = 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, accelSamplingSpec), - 21, 0, + 20, 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), - 21, 0, + 20, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, algorithmConfig) - QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, algorithmConfig_valid)), 0x13, @@ -2201,13 +2184,13 @@ static const uint8_t qmiLocSetSensorPerformanceControlConfigReqMsgT_data_v02[] = 0x14, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, accelSamplingSpecHigh), - 21, 0, + 20, 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), - 21, 0 + 20, 0 }; static const uint8_t qmiLocSetSensorPerformanceControlConfigIndMsgT_data_v02[] = { @@ -2221,12 +2204,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, @@ -2241,13 +2224,13 @@ static const uint8_t qmiLocGetSensorPerformanceControlConfigIndMsgT_data_v02[] = 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, accelSamplingSpec), - 21, 0, + 20, 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), - 21, 0, + 20, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, algorithmConfig) - QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, algorithmConfig_valid)), 0x13, @@ -2258,13 +2241,13 @@ static const uint8_t qmiLocGetSensorPerformanceControlConfigIndMsgT_data_v02[] = 0x14, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, accelSamplingSpecHigh), - 21, 0, + 20, 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), - 21, 0 + 20, 0 }; static const uint8_t qmiLocInjectSuplCertificateReqMsgT_data_v02[] = { @@ -2309,10 +2292,15 @@ static const uint8_t qmiLocSetPositionEngineConfigParametersReqMsgT_data_v02[] = QMI_IDL_GENERIC_1_BYTE, QMI_IDL_OFFSET8(qmiLocSetPositionEngineConfigParametersReqMsgT_v02, filterSvUsage), - QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocSetPositionEngineConfigParametersReqMsgT_v02, storeAssistData) - QMI_IDL_OFFSET8(qmiLocSetPositionEngineConfigParametersReqMsgT_v02, storeAssistData_valid)), + QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocSetPositionEngineConfigParametersReqMsgT_v02, storeAssistData) - QMI_IDL_OFFSET8(qmiLocSetPositionEngineConfigParametersReqMsgT_v02, storeAssistData_valid)), 0x12, QMI_IDL_GENERIC_1_BYTE, - QMI_IDL_OFFSET8(qmiLocSetPositionEngineConfigParametersReqMsgT_v02, storeAssistData) + QMI_IDL_OFFSET8(qmiLocSetPositionEngineConfigParametersReqMsgT_v02, storeAssistData), + + QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocSetPositionEngineConfigParametersReqMsgT_v02, enableFasterTTFF) - QMI_IDL_OFFSET8(qmiLocSetPositionEngineConfigParametersReqMsgT_v02, enableFasterTTFF_valid)), + 0x13, + QMI_IDL_GENERIC_1_BYTE, + QMI_IDL_OFFSET8(qmiLocSetPositionEngineConfigParametersReqMsgT_v02, enableFasterTTFF) }; static const uint8_t qmiLocSetPositionEngineConfigParametersIndMsgT_data_v02[] = { @@ -2347,10 +2335,15 @@ static const uint8_t qmiLocGetPositionEngineConfigParametersIndMsgT_data_v02[] = QMI_IDL_GENERIC_1_BYTE, QMI_IDL_OFFSET8(qmiLocGetPositionEngineConfigParametersIndMsgT_v02, filterSvUsage), - QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocGetPositionEngineConfigParametersIndMsgT_v02, storeAssistData) - QMI_IDL_OFFSET8(qmiLocGetPositionEngineConfigParametersIndMsgT_v02, storeAssistData_valid)), + QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocGetPositionEngineConfigParametersIndMsgT_v02, storeAssistData) - QMI_IDL_OFFSET8(qmiLocGetPositionEngineConfigParametersIndMsgT_v02, storeAssistData_valid)), 0x12, QMI_IDL_GENERIC_1_BYTE, - QMI_IDL_OFFSET8(qmiLocGetPositionEngineConfigParametersIndMsgT_v02, storeAssistData) + QMI_IDL_OFFSET8(qmiLocGetPositionEngineConfigParametersIndMsgT_v02, storeAssistData), + + QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocGetPositionEngineConfigParametersIndMsgT_v02, enableFasterTTFF) - QMI_IDL_OFFSET8(qmiLocGetPositionEngineConfigParametersIndMsgT_v02, enableFasterTTFF_valid)), + 0x13, + QMI_IDL_GENERIC_1_BYTE, + QMI_IDL_OFFSET8(qmiLocGetPositionEngineConfigParametersIndMsgT_v02, enableFasterTTFF) }; static const uint8_t qmiLocAddCircularGeofenceReqMsgT_data_v02[] = { @@ -2361,7 +2354,7 @@ static const uint8_t qmiLocAddCircularGeofenceReqMsgT_data_v02[] = { 0x02, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocAddCircularGeofenceReqMsgT_v02, circularGeofenceArgs), - 35, 0, + 32, 0, 0x03, QMI_IDL_GENERIC_1_BYTE, @@ -2463,7 +2456,7 @@ static const uint8_t qmiLocQueryGeofenceIndMsgT_data_v02[] = { 0x14, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocQueryGeofenceIndMsgT_v02, circularGeofenceArgs), - 35, 0, + 32, 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, @@ -2683,7 +2676,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), - 36, 0 + 33, 0 }; static const uint8_t qmiLocInjectMotionDataIndMsgT_data_v02[] = { @@ -2720,7 +2713,7 @@ static const uint8_t qmiLocInjectGSMCellInfoReqMsgT_data_v02[] = { 0x01, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoReqMsgT_v02, gsmCellId), - 37, 0, + 34, 0, 0x02, QMI_IDL_GENERIC_1_BYTE, @@ -2738,6 +2731,97 @@ static const uint8_t qmiLocInjectGSMCellInfoIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoIndMsgT_v02, status) }; +static const uint8_t qmiLocInjectNetworkInitiatedMessageReqMsgT_data_v02[] = { + 0x01, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectNetworkInitiatedMessageReqMsgT_v02, injectedNIMessageType), + + QMI_IDL_TLV_FLAGS_LAST_TLV | 0x02, + QMI_IDL_FLAGS_IS_ARRAY | QMI_IDL_FLAGS_IS_VARIABLE_LEN | QMI_IDL_FLAGS_SZ_IS_16 | QMI_IDL_GENERIC_1_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectNetworkInitiatedMessageReqMsgT_v02, injectedNIMessage), + ((QMI_LOC_MAX_INJECTED_NETWORK_INITIATED_MESSAGE_LENGTH_V02) & 0xFF), ((QMI_LOC_MAX_INJECTED_NETWORK_INITIATED_MESSAGE_LENGTH_V02) >> 8), + QMI_IDL_OFFSET8(qmiLocInjectNetworkInitiatedMessageReqMsgT_v02, injectedNIMessage) - QMI_IDL_OFFSET8(qmiLocInjectNetworkInitiatedMessageReqMsgT_v02, injectedNIMessage_len) +}; + +static const uint8_t qmiLocInjectNetworkInitiatedMessageIndMsgT_data_v02[] = { + QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, + QMI_IDL_GENERIC_4_BYTE, + 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, + QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, timeSource), + + 0x02, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, timestamp), + + 0x03, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, timeInterval), + + 0x04, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepCount), + + QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepConfidence) - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepConfidence_valid)), + 0x10, + QMI_IDL_GENERIC_1_BYTE, + QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepConfidence), + + QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepCountUncertainty) - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepCountUncertainty_valid)), + 0x11, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepCountUncertainty), + + QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepRate) - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepRate_valid)), + 0x12, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepRate) +}; + +static const uint8_t qmiLocPedometerReportIndMsgT_data_v02[] = { + QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocPedometerReportIndMsgT_v02, status) +}; + static const uint8_t qmiLocInjectWCDMACellInfoReqMsgT_data_v02[] = { 0x01, QMI_IDL_AGGREGATE, @@ -2805,75 +2889,6 @@ static const uint8_t qmiLocInjectSubscriberIDIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocInjectSubscriberIDIndMsgT_v02, status) }; -static const uint8_t qmiLocInjectNetworkInitiatedMessageReqMsgT_data_v02[] = { - 0x01, - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocInjectNetworkInitiatedMessageReqMsgT_v02, injectedNIMessageType), - - QMI_IDL_TLV_FLAGS_LAST_TLV | 0x02, - QMI_IDL_FLAGS_IS_ARRAY | QMI_IDL_FLAGS_IS_VARIABLE_LEN | QMI_IDL_FLAGS_SZ_IS_16 | QMI_IDL_GENERIC_1_BYTE, - QMI_IDL_OFFSET8(qmiLocInjectNetworkInitiatedMessageReqMsgT_v02, injectedNIMessage), - ((QMI_LOC_MAX_INJECTED_NETWORK_INITIATED_MESSAGE_LENGTH_V02) & 0xFF), ((QMI_LOC_MAX_INJECTED_NETWORK_INITIATED_MESSAGE_LENGTH_V02) >> 8), - QMI_IDL_OFFSET8(qmiLocInjectNetworkInitiatedMessageReqMsgT_v02, injectedNIMessage) - QMI_IDL_OFFSET8(qmiLocInjectNetworkInitiatedMessageReqMsgT_v02, injectedNIMessage_len) -}; - -static const uint8_t qmiLocInjectNetworkInitiatedMessageIndMsgT_data_v02[] = { - QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, - QMI_IDL_GENERIC_4_BYTE, - 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 qmiLocPedometerReportReqMsgT_data_v02[] = { - 0x01, - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, timeSource), - - 0x02, - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, timestamp), - - 0x03, - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, timeInterval), - - 0x04, - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepCount), - - QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepConfidence) - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepConfidence_valid)), - 0x10, - QMI_IDL_GENERIC_1_BYTE, - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepConfidence), - - QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepCountUncertainty) - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepCountUncertainty_valid)), - 0x11, - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepCountUncertainty), - - QMI_IDL_TLV_FLAGS_LAST_TLV | QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepRate) - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepRate_valid)), - 0x12, - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocPedometerReportReqMsgT_v02, stepRate) -}; - -static const uint8_t qmiLocPedometerReportIndMsgT_data_v02[] = { - QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocPedometerReportIndMsgT_v02, status) -}; - /* Type Table */ static const qmi_idl_type_table_entry loc_type_table_v02[] = { {sizeof(qmiLocApplicationIdStructT_v02), qmiLocApplicationIdStructT_data_v02}, @@ -2892,7 +2907,6 @@ 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}, @@ -2908,12 +2922,13 @@ 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} }; @@ -2942,8 +2957,6 @@ 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}, @@ -3052,18 +3065,20 @@ 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(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}, {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(qmiLocPedometerReportReqMsgT_v02), qmiLocPedometerReportReqMsgT_data_v02}, - {sizeof(qmiLocPedometerReportIndMsgT_v02), qmiLocPedometerReportIndMsgT_data_v02} + {sizeof(qmiLocInjectSubscriberIDIndMsgT_v02), qmiLocInjectSubscriberIDIndMsgT_data_v02} }; /* Predefine the Type Table Object */ @@ -3085,73 +3100,77 @@ 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_GET_SUPPORTED_MSGS_REQ_V02, QMI_IDL_TYPE16(1, 0), 0}, + {QMI_LOC_GET_SUPPORTED_FIELDS_REQ_V02, QMI_IDL_TYPE16(1, 2), 5}, {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} + {QMI_LOC_GET_SERVICE_REVISION_REQ_V02, QMI_IDL_TYPE16(0, 22), 0}, + {QMI_LOC_GET_FIX_CRITERIA_REQ_V02, QMI_IDL_TYPE16(0, 24), 0}, + {QMI_LOC_NI_USER_RESPONSE_REQ_V02, QMI_IDL_TYPE16(0, 26), 1345}, + {QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_REQ_V02, QMI_IDL_TYPE16(0, 28), 1053}, + {QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_REQ_V02, QMI_IDL_TYPE16(0, 30), 0}, + {QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_REQ_V02, QMI_IDL_TYPE16(0, 32), 0}, + {QMI_LOC_INJECT_UTC_TIME_REQ_V02, QMI_IDL_TYPE16(0, 34), 18}, + {QMI_LOC_INJECT_POSITION_REQ_V02, QMI_IDL_TYPE16(0, 36), 112}, + {QMI_LOC_SET_ENGINE_LOCK_REQ_V02, QMI_IDL_TYPE16(0, 38), 7}, + {QMI_LOC_GET_ENGINE_LOCK_REQ_V02, QMI_IDL_TYPE16(0, 40), 0}, + {QMI_LOC_SET_SBAS_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 42), 4}, + {QMI_LOC_GET_SBAS_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 44), 0}, + {QMI_LOC_SET_NMEA_TYPES_REQ_V02, QMI_IDL_TYPE16(0, 46), 7}, + {QMI_LOC_GET_NMEA_TYPES_REQ_V02, QMI_IDL_TYPE16(0, 48), 0}, + {QMI_LOC_SET_LOW_POWER_MODE_REQ_V02, QMI_IDL_TYPE16(0, 50), 4}, + {QMI_LOC_GET_LOW_POWER_MODE_REQ_V02, QMI_IDL_TYPE16(0, 52), 0}, + {QMI_LOC_SET_SERVER_REQ_V02, QMI_IDL_TYPE16(0, 54), 297}, + {QMI_LOC_GET_SERVER_REQ_V02, QMI_IDL_TYPE16(0, 56), 11}, + {QMI_LOC_DELETE_ASSIST_DATA_REQ_V02, QMI_IDL_TYPE16(0, 58), 929}, + {QMI_LOC_SET_XTRA_T_SESSION_CONTROL_REQ_V02, QMI_IDL_TYPE16(0, 60), 4}, + {QMI_LOC_GET_XTRA_T_SESSION_CONTROL_REQ_V02, QMI_IDL_TYPE16(0, 62), 0}, + {QMI_LOC_INJECT_WIFI_POSITION_REQ_V02, QMI_IDL_TYPE16(0, 64), 694}, + {QMI_LOC_NOTIFY_WIFI_STATUS_REQ_V02, QMI_IDL_TYPE16(0, 66), 7}, + {QMI_LOC_GET_REGISTERED_EVENTS_REQ_V02, QMI_IDL_TYPE16(0, 68), 0}, + {QMI_LOC_SET_OPERATION_MODE_REQ_V02, QMI_IDL_TYPE16(0, 70), 7}, + {QMI_LOC_GET_OPERATION_MODE_REQ_V02, QMI_IDL_TYPE16(0, 72), 0}, + {QMI_LOC_SET_SPI_STATUS_REQ_V02, QMI_IDL_TYPE16(0, 74), 8}, + {QMI_LOC_INJECT_SENSOR_DATA_REQ_V02, QMI_IDL_TYPE16(0, 76), 2063}, + {QMI_LOC_INJECT_TIME_SYNC_DATA_REQ_V02, QMI_IDL_TYPE16(0, 78), 21}, + {QMI_LOC_SET_CRADLE_MOUNT_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 82), 11}, + {QMI_LOC_GET_CRADLE_MOUNT_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 80), 0}, + {QMI_LOC_SET_EXTERNAL_POWER_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 86), 7}, + {QMI_LOC_GET_EXTERNAL_POWER_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 84), 0}, + {QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02, QMI_IDL_TYPE16(0, 88), 129}, + {QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02, QMI_IDL_TYPE16(0, 90), 53}, + {QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02, QMI_IDL_TYPE16(0, 92), 11}, + {QMI_LOC_SET_SENSOR_CONTROL_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 94), 7}, + {QMI_LOC_GET_SENSOR_CONTROL_CONFIG_REQ_V02, QMI_IDL_TYPE16(0, 96), 0}, + {QMI_LOC_SET_SENSOR_PROPERTIES_REQ_V02, QMI_IDL_TYPE16(0, 98), 35}, + {QMI_LOC_GET_SENSOR_PROPERTIES_REQ_V02, QMI_IDL_TYPE16(0, 100), 7}, + {QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02, QMI_IDL_TYPE16(0, 102), 42}, + {QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02, QMI_IDL_TYPE16(0, 104), 0}, + {QMI_LOC_INJECT_SUPL_CERTIFICATE_REQ_V02, QMI_IDL_TYPE16(0, 106), 2009}, + {QMI_LOC_DELETE_SUPL_CERTIFICATE_REQ_V02, QMI_IDL_TYPE16(0, 108), 4}, + {QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02, QMI_IDL_TYPE16(0, 110), 16}, + {QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02, QMI_IDL_TYPE16(0, 112), 7}, + {QMI_LOC_ADD_CIRCULAR_GEOFENCE_REQ_V02, QMI_IDL_TYPE16(0, 114), 52}, + {QMI_LOC_DELETE_GEOFENCE_REQ_V02, QMI_IDL_TYPE16(0, 116), 14}, + {QMI_LOC_QUERY_GEOFENCE_REQ_V02, QMI_IDL_TYPE16(0, 118), 14}, + {QMI_LOC_EDIT_GEOFENCE_REQ_V02, QMI_IDL_TYPE16(0, 120), 25}, + {QMI_LOC_GET_BEST_AVAILABLE_POSITION_REQ_V02, QMI_IDL_TYPE16(0, 122), 7}, + {QMI_LOC_INJECT_MOTION_DATA_REQ_V02, QMI_IDL_TYPE16(0, 124), 19}, + {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_REQ_V02, QMI_IDL_TYPE16(0, 126), 7}, + {QMI_LOC_INJECT_GSM_CELL_INFO_REQ_V02, QMI_IDL_TYPE16(0, 128), 30}, + {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_REQ_V02, QMI_IDL_TYPE16(0, 130), 1036}, + {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_REQ_V02, QMI_IDL_TYPE16(0, 132), 0}, + {QMI_LOC_PEDOMETER_REPORT_REQ_V02, QMI_IDL_TYPE16(0, 136), 46}, + {QMI_LOC_INJECT_WCDMA_CELL_INFO_REQ_V02, QMI_IDL_TYPE16(0, 138), 36}, + {QMI_LOC_INJECT_TDSCDMA_CELL_INFO_REQ_V02, QMI_IDL_TYPE16(0, 140), 33}, + {QMI_LOC_INJECT_SUBSCRIBER_ID_REQ_V02, QMI_IDL_TYPE16(0, 142), 22} }; static const qmi_idl_service_message_table_entry loc_service_response_messages_v02[] = { + {QMI_LOC_GET_SUPPORTED_MSGS_RESP_V02, QMI_IDL_TYPE16(1, 1), 8204}, + {QMI_LOC_GET_SUPPORTED_FIELDS_RESP_V02, QMI_IDL_TYPE16(1, 3), 115}, {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}, @@ -3219,7 +3238,7 @@ static const qmi_idl_service_message_table_entry loc_service_response_messages_v }; static const qmi_idl_service_message_table_entry loc_service_indication_messages_v02[] = { - {QMI_LOC_EVENT_POSITION_REPORT_IND_V02, QMI_IDL_TYPE16(0, 5), 388}, + {QMI_LOC_EVENT_POSITION_REPORT_IND_V02, QMI_IDL_TYPE16(0, 5), 392}, {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}, @@ -3233,71 +3252,71 @@ static const qmi_idl_service_message_table_entry loc_service_indication_messages {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_GET_SERVICE_REVISION_IND_V02, QMI_IDL_TYPE16(0, 23), 532}, + {QMI_LOC_GET_FIX_CRITERIA_IND_V02, QMI_IDL_TYPE16(0, 25), 99}, + {QMI_LOC_NI_USER_RESPONSE_IND_V02, QMI_IDL_TYPE16(0, 27), 7}, + {QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_IND_V02, QMI_IDL_TYPE16(0, 29), 12}, + {QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_IND_V02, QMI_IDL_TYPE16(0, 31), 790}, + {QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_IND_V02, QMI_IDL_TYPE16(0, 33), 20}, + {QMI_LOC_INJECT_UTC_TIME_IND_V02, QMI_IDL_TYPE16(0, 35), 7}, + {QMI_LOC_INJECT_POSITION_IND_V02, QMI_IDL_TYPE16(0, 37), 7}, + {QMI_LOC_SET_ENGINE_LOCK_IND_V02, QMI_IDL_TYPE16(0, 39), 7}, + {QMI_LOC_GET_ENGINE_LOCK_IND_V02, QMI_IDL_TYPE16(0, 41), 14}, + {QMI_LOC_SET_SBAS_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 43), 7}, + {QMI_LOC_GET_SBAS_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 45), 11}, + {QMI_LOC_SET_NMEA_TYPES_IND_V02, QMI_IDL_TYPE16(0, 47), 7}, + {QMI_LOC_GET_NMEA_TYPES_IND_V02, QMI_IDL_TYPE16(0, 49), 14}, + {QMI_LOC_SET_LOW_POWER_MODE_IND_V02, QMI_IDL_TYPE16(0, 51), 7}, + {QMI_LOC_GET_LOW_POWER_MODE_IND_V02, QMI_IDL_TYPE16(0, 53), 11}, + {QMI_LOC_SET_SERVER_IND_V02, QMI_IDL_TYPE16(0, 55), 7}, + {QMI_LOC_GET_SERVER_IND_V02, QMI_IDL_TYPE16(0, 57), 304}, + {QMI_LOC_DELETE_ASSIST_DATA_IND_V02, QMI_IDL_TYPE16(0, 59), 7}, + {QMI_LOC_SET_XTRA_T_SESSION_CONTROL_IND_V02, QMI_IDL_TYPE16(0, 61), 7}, + {QMI_LOC_GET_XTRA_T_SESSION_CONTROL_IND_V02, QMI_IDL_TYPE16(0, 63), 11}, + {QMI_LOC_INJECT_WIFI_POSITION_IND_V02, QMI_IDL_TYPE16(0, 65), 7}, + {QMI_LOC_NOTIFY_WIFI_STATUS_IND_V02, QMI_IDL_TYPE16(0, 67), 7}, + {QMI_LOC_GET_REGISTERED_EVENTS_IND_V02, QMI_IDL_TYPE16(0, 69), 18}, + {QMI_LOC_SET_OPERATION_MODE_IND_V02, QMI_IDL_TYPE16(0, 71), 7}, + {QMI_LOC_GET_OPERATION_MODE_IND_V02, QMI_IDL_TYPE16(0, 73), 14}, + {QMI_LOC_SET_SPI_STATUS_IND_V02, QMI_IDL_TYPE16(0, 75), 7}, + {QMI_LOC_INJECT_SENSOR_DATA_IND_V02, QMI_IDL_TYPE16(0, 77), 30}, + {QMI_LOC_INJECT_TIME_SYNC_DATA_IND_V02, QMI_IDL_TYPE16(0, 79), 7}, + {QMI_LOC_SET_CRADLE_MOUNT_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 83), 7}, + {QMI_LOC_GET_CRADLE_MOUNT_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 81), 18}, + {QMI_LOC_SET_EXTERNAL_POWER_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 87), 7}, + {QMI_LOC_GET_EXTERNAL_POWER_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 85), 14}, + {QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_IND_V02, QMI_IDL_TYPE16(0, 89), 7}, + {QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_IND_V02, QMI_IDL_TYPE16(0, 91), 18}, + {QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_IND_V02, QMI_IDL_TYPE16(0, 93), 60}, + {QMI_LOC_SET_SENSOR_CONTROL_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 95), 7}, + {QMI_LOC_GET_SENSOR_CONTROL_CONFIG_IND_V02, QMI_IDL_TYPE16(0, 97), 14}, + {QMI_LOC_SET_SENSOR_PROPERTIES_IND_V02, QMI_IDL_TYPE16(0, 99), 14}, + {QMI_LOC_GET_SENSOR_PROPERTIES_IND_V02, QMI_IDL_TYPE16(0, 101), 42}, + {QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02, QMI_IDL_TYPE16(0, 103), 14}, + {QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02, QMI_IDL_TYPE16(0, 105), 49}, + {QMI_LOC_INJECT_SUPL_CERTIFICATE_IND_V02, QMI_IDL_TYPE16(0, 107), 7}, + {QMI_LOC_DELETE_SUPL_CERTIFICATE_IND_V02, QMI_IDL_TYPE16(0, 109), 7}, + {QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02, QMI_IDL_TYPE16(0, 111), 14}, + {QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02, QMI_IDL_TYPE16(0, 113), 23}, {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} + {QMI_LOC_ADD_CIRCULAR_GEOFENCE_IND_V02, QMI_IDL_TYPE16(0, 115), 21}, + {QMI_LOC_DELETE_GEOFENCE_IND_V02, QMI_IDL_TYPE16(0, 117), 21}, + {QMI_LOC_QUERY_GEOFENCE_IND_V02, QMI_IDL_TYPE16(0, 119), 65}, + {QMI_LOC_EDIT_GEOFENCE_IND_V02, QMI_IDL_TYPE16(0, 121), 28}, + {QMI_LOC_GET_BEST_AVAILABLE_POSITION_IND_V02, QMI_IDL_TYPE16(0, 123), 391}, + {QMI_LOC_INJECT_MOTION_DATA_IND_V02, QMI_IDL_TYPE16(0, 125), 7}, + {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_IND_V02, QMI_IDL_TYPE16(0, 127), 82}, + {QMI_LOC_INJECT_GSM_CELL_INFO_IND_V02, QMI_IDL_TYPE16(0, 129), 7}, + {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_IND_V02, QMI_IDL_TYPE16(0, 131), 7}, + {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_IND_V02, QMI_IDL_TYPE16(0, 133), 7}, + {QMI_LOC_EVENT_PEDOMETER_CONTROL_IND_V02, QMI_IDL_TYPE16(0, 134), 15}, + {QMI_LOC_EVENT_MOTION_DATA_CONTROL_IND_V02, QMI_IDL_TYPE16(0, 135), 4}, + {QMI_LOC_PEDOMETER_REPORT_IND_V02, QMI_IDL_TYPE16(0, 137), 7}, + {QMI_LOC_INJECT_WCDMA_CELL_INFO_IND_V02, QMI_IDL_TYPE16(0, 139), 7}, + {QMI_LOC_INJECT_TDSCDMA_CELL_INFO_IND_V02, QMI_IDL_TYPE16(0, 141), 7}, + {QMI_LOC_INJECT_SUBSCRIBER_ID_IND_V02, QMI_IDL_TYPE16(0, 143), 7} }; /*Service Object*/ @@ -3305,24 +3324,23 @@ struct qmi_idl_service_object loc_qmi_idl_service_object_v02 = { 0x05, 0x02, 0x10, - 2248, + 8204, { sizeof(loc_service_command_messages_v02)/sizeof(qmi_idl_service_message_table_entry), sizeof(loc_service_response_messages_v02)/sizeof(qmi_idl_service_message_table_entry), 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, - 0x12, + 0x14, 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 57f7c746..e6665c0d 100644 --- a/loc_api/loc_api_v02/location_service_v02.h +++ b/loc_api/loc_api_v02/location_service_v02.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. +/* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -30,43 +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 6.0 +/* This file was generated with Tool version 6.1 It requires encode/decode library version 5 or later - It was generated on: Thu Dec 13 2012 (Spin ) + It was generated on: Fri Mar 29 2013 (Spin 1) From IDL File: location_service_v02.idl */ /** @defgroup loc_qmi_consts Constant values defined in the IDL */ @@ -86,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 0x12 +#define LOC_V02_IDL_MINOR_VERS 0x14 /** Major Version Number of the qmi_idl_compiler used to generate this file */ #define LOC_V02_IDL_TOOL_VERS 0x06 /** Maximum Defined Message ID */ #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. */ @@ -115,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 @@ -195,15 +195,15 @@ extern "C" { list. */ #define QMI_LOC_MAX_NI_GEOFENCE_ID_LIST_LENGTH_V02 16 -/** Maximum value of WDMA frequency for injection of WCDMA cell - information */ +/** 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 */ +/** 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 */ +/** 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. */ @@ -215,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 { @@ -231,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 { @@ -245,13 +245,13 @@ 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. */ -#define QMI_LOC_EVENT_MASK_NI_NOTIFY_VERIFY_REQ_V02 ((qmiLocEventRegMaskT_v02)0x00000008ull) /**< The control point must enable this mask to receive NI notify verify request +#define QMI_LOC_EVENT_MASK_NI_NOTIFY_VERIFY_REQ_V02 ((qmiLocEventRegMaskT_v02)0x00000008ull) /**< The control point must enable this mask to receive NI Notify/Verify request event indications. */ #define QMI_LOC_EVENT_MASK_INJECT_TIME_REQ_V02 ((qmiLocEventRegMaskT_v02)0x00000010ull) /**< The control point must enable this mask to receive time injection request event indications. */ @@ -266,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 +#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 @@ -279,81 +279,81 @@ 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 or leaves the perimeter of a Geofence. */ -#define QMI_LOC_EVENT_MASK_PEDOMETER_CONTROL_V02 ((qmiLocEventRegMaskT_v02)0x00020000ull) /**< 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. */ +#define QMI_LOC_EVENT_MASK_PEDOMETER_CONTROL_V02 ((qmiLocEventRegMaskT_v02)0x00020000ull) /**< The control point must enable this mask to register for pedometer + control requests from the location engine. The location engine sends + this event to control the injection of pedometer reports. */ #define QMI_LOC_EVENT_MASK_MOTION_DATA_CONTROL_V02 ((qmiLocEventRegMaskT_v02)0x00040000ull) /**< 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. */ + control requests from the location engine. The location engine sends + this event to control the injection of motion data. */ /** @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. + Valid 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. - - QMI_LOC_EVENT_MASK_NI_NOTIFY_VERIFY_REQ (0x00000008) -- The control point must enable this mask to receive NI notify verify request - event indications. + 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. - 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.). - - QMI_LOC_EVENT_MASK_TIME_SYNC_REQ (0x00000800) -- The control point must enable this mask to receive time-sync requests + 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. - - 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. + 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. The location engine sends + this event 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. + control requests from the location engine. The location engine sends + this event 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 */ /** @@ -414,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} */ @@ -434,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 @@ -457,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 @@ -471,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 @@ -496,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 */ @@ -532,7 +532,10 @@ 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. */ +#define QMI_LOC_POS_TECH_MASK_AFLT_V02 ((qmiLocPosTechMaskT_v02)0x00000040) /**< AFLT was used to generate the fix. */ +#define QMI_LOC_POS_TECH_MASK_HYBRID_V02 ((qmiLocPosTechMaskT_v02)0x00000080) /**< GNSS and network-provided measurements were used to generate the fix. */ /** @addtogroup loc_qmi_enums @{ @@ -616,7 +619,7 @@ 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 @@ -647,7 +650,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. */ @@ -658,7 +661,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 the system clock (better known as the 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; @@ -692,7 +695,7 @@ typedef struct { /* Session Status */ qmiLocSessionStatusEnumT_v02 sessionStatus; /**< Session status. - + Valid values: \begin{itemize1} \item 0x00000000 -- SESS_STATUS_ SUCCESS \item 0x00000001 -- SESS_STATUS_ IN_PROGRESS @@ -708,7 +711,7 @@ typedef struct { /* 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 */ @@ -873,7 +876,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. */ @@ -882,21 +885,24 @@ typedef struct { uint8_t technologyMask_valid; /**< Must be set to true if technologyMask is being passed */ qmiLocPosTechMaskT_v02 technologyMask; /**< Technology used in computing this fix. - - Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- SATELLITE - \item 0x00000002 -- CELLID - \item 0x00000004 -- WIFI - \item 0x00000008 -- SENSORS - \item 0x00000010 -- REFERENCE_ LOCATION - \item 0x00000020 -- INJECTED_COARSE_ POSITION - \vspace{-0.18in} \end{itemize1} */ + Valid bitmasks: \n + - QMI_LOC_POS_TECH_MASK_SATELLITE (0x00000001) -- Satellites were used to generate the fix. + - QMI_LOC_POS_TECH_MASK_CELLID (0x00000002) -- Cell towers were used to generate the fix. + - QMI_LOC_POS_TECH_MASK_WIFI (0x00000004) -- WiFi access points were used to generate the fix. + - QMI_LOC_POS_TECH_MASK_SENSORS (0x00000008) -- Sensors were used to generate the fix. + - QMI_LOC_POS_TECH_MASK_REFERENCE_LOCATION (0x00000010) -- Reference Location was used to generate the fix. + - QMI_LOC_POS_TECH_MASK_INJECTED_COARSE_POSITION (0x00000020) -- Coarse position injected into the location engine was used to + generate the fix. + - QMI_LOC_POS_TECH_MASK_AFLT (0x00000040) -- AFLT was used to generate the fix. + - QMI_LOC_POS_TECH_MASK_HYBRID (0x00000080) -- GNSS and network-provided measurements were used to + generate the fix. + */ /* Optional */ /* Dilution of Precision */ uint8_t DOP_valid; /**< Must be set to true if DOP is being passed */ qmiLocDOPStructT_v02 DOP; - /**< \n Dilution of precision associated with this position. */ + /**< \vspace{0.06in} \n Dilution of precision associated with this position. */ /* Optional */ /* UTC Timestamp */ @@ -911,14 +917,14 @@ 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 */ /* GPS Time */ uint8_t gpsTime_valid; /**< Must be set to true if gpsTime is being passed */ qmiLocGPSTimeStructT_v02 gpsTime; - /**< \n The number of weeks since Jan. 5, 1980, and + /**< \vspace{0.06in} \n The number of weeks since Jan. 5, 1980, and milliseconds into the current week. */ /* Optional */ @@ -933,32 +939,32 @@ 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 the system clock (better known as the slow clock); GNSS time is maintained irrespective of the GNSS receiver state */ /* Optional */ /* Sensor Data Usage */ uint8_t sensorDataUsage_valid; /**< Must be set to true if sensorDataUsage is being passed */ qmiLocSensorUsageIndicatorStructT_v02 sensorDataUsage; - /**< \n Whether sensor data was used in computing the position in this + /**< \vspace{0.06in} \n Indicates whether sensor data was used in computing the position in this position report. */ /* Optional */ @@ -974,14 +980,24 @@ 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 \item For QZSS: 193 to 197 \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + + /* Optional */ + /* Altitude Assumed */ + uint8_t altitudeAssumed_valid; /**< Must be set to true if altitudeAssumed is being passed */ + uint8_t altitudeAssumed; + /**< Indicates whether altitude is assumed or calculated: \begin{itemize1} + \item 0x00 (FALSE) -- Altitude is calculated + \item 0x01 (TRUE) -- Altitude is assumed; there may not be enough + satellites to determine the precise altitude + \vspace{-0.18in} \end{itemize1}*/ }qmiLocEventPositionReportIndMsgT_v02; /* Message */ /** @} @@ -1085,7 +1101,7 @@ typedef struct { */ qmiLocSvInfoMaskT_v02 svInfoMask; - /**< Whether almanac and ephemeris information is available. \n + /**< Indicates whether almanac and ephemeris information is available. \n Valid bitmasks: \n - 0x01 -- SVINFO_HAS_EPHEMERIS \n - 0x02 -- SVINFO_HAS_ALMANAC @@ -1116,9 +1132,9 @@ typedef struct { typedef struct { /* Mandatory */ - /* Altitude Source */ + /* Altitude Assumed */ uint8_t altitudeAssumed; - /**< Whether altitude is assumed or calculated: \begin{itemize1} + /**< Indicates whether altitude is assumed or calculated: \begin{itemize1} \item 0x00 (FALSE) -- Valid altitude is calculated \item 0x01 (TRUE) -- Valid altitude is assumed; there may not be enough satellites to determine precise altitude @@ -1129,7 +1145,7 @@ typedef struct { uint8_t svList_valid; /**< Must be set to true if svList is being passed */ uint32_t svList_len; /**< Must be set to # of elements in svList */ qmiLocSvInfoStructT_v02 svList[QMI_LOC_SV_INFO_LIST_MAX_SIZE_V02]; - /**< \n SV information list. */ + /**< \vspace{0.06in} \n SV information list. */ }qmiLocEventGnssSvInfoIndMsgT_v02; /* Message */ /** @} @@ -1212,7 +1228,7 @@ typedef enum { typedef struct { uint8_t posQosIncl; - /**< Whether quality of service is included:\n + /**< Indicates whether quality of service is included:\n - 0x01 (TRUE) -- QoS is included \n - 0x00 (FALSE) -- QoS is not included */ @@ -1260,7 +1276,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; @@ -1367,7 +1383,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 */ /** @@ -1385,7 +1401,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 @@ -1394,11 +1410,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; @@ -1440,7 +1456,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; @@ -1474,7 +1490,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 */ @@ -1484,47 +1500,47 @@ typedef struct { 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 - notify verify structure. */ -#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 - notify verify structure. */ + 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 + Notify/Verify structure. */ +#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 + 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 - notify verify structure. */ -#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 - notify verify structure. */ -#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 - notify verify structure. */ -#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 - notify verify structure. */ -#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 - notify verify structure. */ -#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 - notify verify structure. */ + 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_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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ /** @addtogroup loc_qmi_aggregates @{ */ 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 @@ -1543,18 +1559,18 @@ 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 @@ -1572,7 +1588,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 @@ -1598,11 +1614,11 @@ typedef struct { */ 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; @@ -1636,7 +1652,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 @@ -1673,49 +1689,49 @@ 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 - is present in an NI notify verify request event. - 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 - is present in an NI notify verify request event. - 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 - is present in an NI notify verify request event. - 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 - is present in an NI notify verify request event. - 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 - is present in an NI notify verify request event. - 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 - is present in an NI notify verify request event. - 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 - is present in an NI notify verify request event. - 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 - is present in an NI notify verify request event. - 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 - is present in an NI notify verify request event. - This mask is set in the valid flags field of a - notify verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ +#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 + Notify/Verify structure. */ /** @addtogroup loc_qmi_aggregates @{ */ 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 @@ -1735,7 +1751,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 @@ -1764,17 +1780,17 @@ 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 @@ -1784,7 +1800,7 @@ typedef struct { */ 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; @@ -1795,7 +1811,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 */ /** @@ -1823,7 +1839,7 @@ 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 @@ -1837,34 +1853,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; @@ -1905,7 +1921,7 @@ typedef struct { qmiLocNiSuplVer2ExtTriggerTypeEnumT_v02 triggerType; /**< Specifies the type of session trigger requested in the - SUPL_POS_INIT message (see \hyperref[S4]{[S4]}). + SUPL_POS_INIT message (refer to \hyperref[S4]{[S4]}). Valid values: \begin{itemize1} \item 0xFFFFFFFF -- TRIGGER_TYPE_ SINGLE_SHOT @@ -1936,7 +1952,7 @@ typedef struct { typedef struct { char eslpUrl[QMI_LOC_MAX_SERVER_ADDR_LENGTH_V02 + 1]; - /**< The ESLP URL + /**< ESLP URL. \n Maximum length: 255 bytes */ }qmiLocEmergencyNotificationStructT_v02; /* Type */ /** @@ -1946,13 +1962,13 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Indicates an NI notify/verify request to the control point. */ +/** Indication Message; Indicates an NI Notify/Verify request to the control point. */ 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 @@ -1967,41 +1983,42 @@ typedef struct { /* Network Initiated Vx Request */ uint8_t NiVxInd_valid; /**< Must be set to true if NiVxInd is being passed */ qmiLocNiVxNotifyVerifyStructT_v02 NiVxInd; - /**< \n Optional NI Vx request payload. */ + /**< \vspace{0.06in} \n Optional NI Vx request payload. */ /* Optional */ /* Network Initiated SUPL Request */ uint8_t NiSuplInd_valid; /**< Must be set to true if NiSuplInd is being passed */ qmiLocNiSuplNotifyVerifyStructT_v02 NiSuplInd; - /**< \n Optional NI SUPL request payload. */ + /**< \vspace{0.06in} \n Optional NI SUPL request payload. */ /* Optional */ /* Network Initiated UMTS Control Plane Request */ uint8_t NiUmtsCpInd_valid; /**< Must be set to true if NiUmtsCpInd is being passed */ qmiLocNiUmtsCpNotifyVerifyStructT_v02 NiUmtsCpInd; - /**< \n Optional NI UMTS-CP request payload. */ + /**< \vspace{0.06in} \n Optional NI UMTS-CP request payload. */ /* Optional */ /* Network Initiated Service Interaction Request */ uint8_t NiVxServiceInteractionInd_valid; /**< Must be set to true if NiVxServiceInteractionInd is being passed */ qmiLocNiVxServiceInteractionStructT_v02 NiVxServiceInteractionInd; - /**< \n Optional NI service interaction payload. */ + /**< \vspace{0.06in} \n Optional NI service interaction payload. */ /* Optional */ /* 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 + /**< \vspace{0.06in} \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 + /**< \vspace{0.06in} \n This specifies that the corresponding NI notification is an emergency notification. Emergency notification - can be given even without an ESLP address */ + can be given even without an Emergency SUPL Location Platform (ESLP) + address. */ }qmiLocEventNiNotifyVerifyReqIndMsgT_v02; /* Message */ /** @} @@ -2030,14 +2047,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 */ @@ -2055,7 +2072,7 @@ typedef struct { /* Time Server Info */ uint8_t timeServerInfo_valid; /**< Must be set to true if timeServerInfo is being passed */ qmiLocTimeServerListStructT_v02 timeServerInfo; - /**< \n Contains information about the time servers recommended by the + /**< \vspace{0.06in} \n Contains information about the time servers recommended by the location service for NTP time. */ }qmiLocEventInjectTimeReqIndMsgT_v02; /* Message */ /** @@ -2087,7 +2104,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 */ /** @@ -2103,13 +2120,13 @@ typedef struct { /* Mandatory */ /* Allowed Sizes */ qmiLocPredictedOrbitsAllowedSizesStructT_v02 allowedSizes; - /**< \n Maximum part and file size allowed to be injected in the engine. */ + /**< \vspace{0.06in} \n Maximum part and file size allowed to be injected in the engine. */ /* Optional */ /* Server List */ uint8_t serverList_valid; /**< Must be set to true if serverList is being passed */ qmiLocPredictedOrbitsServerListStructT_v02 serverList; - /**< \n List of servers that can be used by the client to download + /**< \vspace{0.06in} \n List of servers that can be used by the client to download predicted orbits data. */ }qmiLocEventInjectPredictedOrbitsReqIndMsgT_v02; /* Message */ /** @@ -2186,7 +2203,7 @@ typedef struct { /* Mandatory */ /* Engine State */ qmiLocEngineStateEnumT_v02 engineState; - /**< Location engine state. + /**< Location engine state. Valid values: \n - 0x00000001 -- ON \n @@ -2219,7 +2236,7 @@ typedef struct { /* Mandatory */ /* Session State */ qmiLocFixSessionStateEnumT_v02 sessionState; - /**< LOC fix session state. + /**< LOC fix session state. Valid values: \n - 0x00000001 -- STARTED \n @@ -2262,7 +2279,7 @@ 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 @@ -2290,9 +2307,9 @@ 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: \vspace{-0.06in} \n - + samplingFrequency = samplesPerBatch * batchesPerSecond \vspace{-0.06in} \n - + samplesPerBatch must be a nonzero positive value. */ @@ -2300,7 +2317,7 @@ typedef struct { /**< 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). \vspace{-0.06in} \n - + batchesPerSecond must be a nonzero positive value. */ }qmiLocSensorControlConfigSamplingSpecStructT_v02; /* Type */ @@ -2314,7 +2331,7 @@ typedef struct { typedef struct { uint8_t injectEnable; - /**< Whether the GNSS location engine is ready to accept data from this + /**< Indicates whether the GNSS location engine is ready to accept data from this sensor. Valid values: \begin{itemize1} @@ -2338,7 +2355,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 { @@ -2346,32 +2363,32 @@ 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 - sensor data. + /**< \vspace{0.06in} \n Indicates whether the GNSS location engine is ready + to accept accelerometer sensor data. */ /* Optional */ /* 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 - data. + /**< \vspace{0.06in} \n Indicates whether the GNSS location engine is ready + to accept gyroscope sensor data. */ /* Optional */ /* 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 - temperature data. + /**< \vspace{0.06in} \n Indicates whether the GNSS location engine is ready + to accept accelerometer temperature data. */ /* Optional */ /* Gyroscope Temperature Accept Ready */ uint8_t gyroTemperatureReady_valid; /**< Must be set to true if gyroTemperatureReady is being passed */ qmiLocSensorReadyStatusStructT_v02 gyroTemperatureReady; - /**< \n Whether the GNSS location engine is ready to accept gyroscope - temperature data. + /**< \vspace{0.06in} \n Indicates whether the GNSS location engine is ready + to accept gyroscope temperature data. */ }qmiLocEventSensorStreamingReadyStatusIndMsgT_v02; /* Message */ /** @@ -2381,16 +2398,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 */ /** @@ -2407,7 +2424,7 @@ typedef struct { /* Mandatory */ /* Enable/Disable SPI Requests */ uint8_t enable; - /**< Whether the client is to start or stop sending an SPI status stream. + /**< Indicates whether the client is to start or stop sending an SPI status stream. \begin{itemize1} \item 0x01 (TRUE) -- Client is to start sending an SPI status stream \item 0x00 (FALSE) -- Client is to stop sending an SPI status stream @@ -2424,6 +2441,7 @@ typedef enum { QMILOCWWANTYPEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_WWAN_TYPE_INTERNET_V02 = 0, /**< Bring up the WWAN type used for an Internet connection. */ eQMI_LOC_WWAN_TYPE_AGNSS_V02 = 1, /**< Bring up the WWAN type used for AGNSS connections. */ + eQMI_LOC_WWAN_TYPE_AGNSS_EMERGENCY_V02 = 2, /**< Bring up the WWAN type used for AGNSS Emergency connections. */ QMILOCWWANTYPEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocWWANTypeEnumT_v02; /** @@ -2446,7 +2464,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 { @@ -2469,12 +2487,11 @@ typedef struct { /* WWAN Type */ qmiLocWWANTypeEnumT_v02 wwanType; /**< Identifies the WWAN type for this request. - - Valid values: \begin{itemize1} - \item 0x00000000 -- WWAN_TYPE_ INTERNET - \item 0x00000001 -- WWAN_TYPE_ AGNSS - \vspace{-0.18in} \end{itemize1} - */ + Valid values: \n + - eQMI_LOC_WWAN_TYPE_INTERNET (0) -- Bring up the WWAN type used for an Internet connection. + - eQMI_LOC_WWAN_TYPE_AGNSS (1) -- Bring up the WWAN type used for AGNSS connections. + - eQMI_LOC_WWAN_TYPE_AGNSS_EMERGENCY (2) -- Bring up the WWAN type used for AGNSS Emergency connections. + */ }qmiLocEventLocationServerConnectionReqIndMsgT_v02; /* Message */ /** @} @@ -2505,7 +2522,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 */ @@ -2529,7 +2546,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. */ @@ -2552,7 +2569,7 @@ 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 @@ -2721,7 +2738,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 */ @@ -2739,7 +2756,7 @@ typedef struct { /* Geofence Position */ uint8_t geofencePosition_valid; /**< Must be set to true if geofencePosition is being passed */ qmiLocGeofencePositionStructT_v02 geofencePosition; - /**< \n Position of the client when it breached the Geofence. + /**< \vspace{0.06in} \n Position of the client when it breached the Geofence. This TLV is included if the client configures the Geofence to report position. The position is reported at the same confidence level that was specified in the @@ -2752,17 +2769,17 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Recommends how pedometer reports should be - sent to the location engine */ +/** Indication Message; Recommends how pedometer reports are to be + sent to the location engine. */ typedef struct { /* Mandatory */ /* Request Pedometer Data */ uint8_t requestPedometerData; - /**< \n Whether GNSS location engine is requesting the client to + /**< Indicates whether the 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 @@ -2773,19 +2790,19 @@ typedef struct { /* Reset Step Count */ uint8_t resetStepCount_valid; /**< Must be set to true if resetStepCount is being passed */ uint8_t resetStepCount; - /**< Whether location engine desires the step count to be reset. + /**< Indicates whether the location engine is to reset the step count. \begin{itemize1} - \item 0x01 (TRUE) -- Pedometer step count should be reset. - \item 0x00 (FALSE) -- Pedometer step count should not be reset. + \item 0x01 (TRUE) -- Pedometer step count is to be reset. + \item 0x00 (FALSE) -- Pedometer step count is not to be reset. \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Step Count Threshold */ 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 - then the location engine desires a pedometer report at every step event. + /**< 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, + the location engine wants a pedometer report at every step event. */ }qmiLocEventPedometerControlIndMsgT_v02; /* Message */ /** @@ -2795,19 +2812,19 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Recommends how motion data reports should be - sent to the location engine */ +/** Indication Message; Recommends how motion data reports are to be + sent to the location engine. */ typedef struct { /* Mandatory */ /* Request Motion Data */ uint8_t requestMotionData; - /**< \n Whether GNSS location engine is requesting the client to - send motion data. + /**< Indicates whether the 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} */ @@ -2852,7 +2869,7 @@ 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 @@ -2869,7 +2886,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 */ @@ -2881,7 +2898,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. */ @@ -2895,7 +2912,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 @@ -2930,7 +2947,7 @@ 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 @@ -2961,10 +2978,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. @@ -2987,7 +3004,7 @@ typedef struct { /* ID of the Application that Sent the Position Request */ uint8_t applicationId_valid; /**< Must be set to true if applicationId is being passed */ qmiLocApplicationIdStructT_v02 applicationId; - /**< \n Application provider, name, and version.*/ + /**< \vspace{0.06in} \n Application provider, name, and version.*/ }qmiLocGetFixCriteriaIndMsgT_v02; /* Message */ /** @} @@ -2998,9 +3015,9 @@ typedef struct { */ typedef enum { QMILOCNIUSERRESPENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_NI_LCS_NOTIFY_VERIFY_ACCEPT_V02 = 1, /**< User accepted notify verify request. */ - eQMI_LOC_NI_LCS_NOTIFY_VERIFY_DENY_V02 = 2, /**< User denied notify verify request. */ - eQMI_LOC_NI_LCS_NOTIFY_VERIFY_NORESP_V02 = 3, /**< User did not respond to notify verify request. */ + eQMI_LOC_NI_LCS_NOTIFY_VERIFY_ACCEPT_V02 = 1, /**< User accepted the Notify/Verify request. */ + eQMI_LOC_NI_LCS_NOTIFY_VERIFY_DENY_V02 = 2, /**< User denied the Notify/Verify request. */ + eQMI_LOC_NI_LCS_NOTIFY_VERIFY_NORESP_V02 = 3, /**< User did not respond to the Notify/Verify request. */ QMILOCNIUSERRESPENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiUserRespEnumT_v02; /** @@ -3017,7 +3034,7 @@ 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 @@ -3029,7 +3046,7 @@ 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_ VERIF @@ -3044,37 +3061,37 @@ typedef struct { /* Network Initiated Vx Request */ uint8_t NiVxPayload_valid; /**< Must be set to true if NiVxPayload is being passed */ qmiLocNiVxNotifyVerifyStructT_v02 NiVxPayload; - /**< \n Optional NI VX request payload. */ + /**< \vspace{0.06in} \n Optional NI VX request payload. */ /* Optional */ /* Network Initiated SUPL Request */ uint8_t NiSuplPayload_valid; /**< Must be set to true if NiSuplPayload is being passed */ qmiLocNiSuplNotifyVerifyStructT_v02 NiSuplPayload; - /**< \n Optional NI SUPL request payload. */ + /**< \vspace{0.06in} \n Optional NI SUPL request payload. */ /* Optional */ /* Network Initiated UMTS Control Plane Request */ uint8_t NiUmtsCpPayload_valid; /**< Must be set to true if NiUmtsCpPayload is being passed */ qmiLocNiUmtsCpNotifyVerifyStructT_v02 NiUmtsCpPayload; - /**< \n Optional NI UMTS-CP request payload. */ + /**< \vspace{0.06in} \n Optional NI UMTS-CP request payload. */ /* Optional */ /* Network Initiated Service Interaction Request */ uint8_t NiVxServiceInteractionPayload_valid; /**< Must be set to true if NiVxServiceInteractionPayload is being passed */ qmiLocNiVxServiceInteractionStructT_v02 NiVxServiceInteractionPayload; - /**< \n Optional NI service interaction payload. */ + /**< \vspace{0.06in} \n Optional NI service interaction payload. */ /* Optional */ /* Network Initiated SUPL Version 2 Extension */ uint8_t NiSuplVer2ExtPayload_valid; /**< Must be set to true if NiSuplVer2ExtPayload is being passed */ qmiLocNiSuplVer2ExtStructT_v02 NiSuplVer2ExtPayload; - /**< \n Optional SUPL Version 2 Extension payload. */ + /**< \vspace{0.06in} \n Optional SUPL Version 2 Extension payload. */ /* Optional */ /* SUPL Emergency Notification */ uint8_t suplEmergencyNotification_valid; /**< Must be set to true if suplEmergencyNotification is being passed */ qmiLocEmergencyNotificationStructT_v02 suplEmergencyNotification; - /**< SUPL Emergency notification payload. Emergency notification + /**< \vspace{0.06in} \n SUPL emergency notification payload. Emergency notification can be given even without an ESLP address */ }qmiLocNiUserRespReqMsgT_v02; /* Message */ /** @@ -3091,7 +3108,7 @@ 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 @@ -3148,15 +3165,15 @@ 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 @@ -3215,7 +3232,7 @@ 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 @@ -3258,12 +3275,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 */ /** @@ -3279,7 +3296,7 @@ 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 @@ -3332,7 +3349,7 @@ 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 @@ -3394,7 +3411,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; @@ -3408,7 +3425,7 @@ 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 @@ -3425,8 +3442,8 @@ typedef struct { */ 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 @@ -3437,7 +3454,7 @@ typedef struct { */ qmiLocAltSrcUncertaintyCoverageEnumT_v02 coverage; - /**< Specifies the region of uncertainty. + /**< Specifies the region of uncertainty. Valid values: \begin{itemize1} \item 0x00000000 -- UNCERTAINTY_ NOT_SPECIFIED @@ -3587,7 +3604,7 @@ 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 @@ -3602,7 +3619,7 @@ typedef struct { /* Altitude Source Info */ uint8_t altSourceInfo_valid; /**< Must be set to true if altSourceInfo is being passed */ qmiLocAltitudeSrcInfoStructT_v02 altSourceInfo; - /**< \n Specifies information regarding the altitude source. */ + /**< \vspace{0.06in} \n Specifies information regarding the altitude source. */ /* Optional */ /* UTC Timestamp */ @@ -3634,11 +3651,11 @@ typedef struct { \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 */ /** @@ -3695,14 +3712,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 */ /** @@ -3750,7 +3767,7 @@ 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 @@ -3767,7 +3784,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 @@ -3789,7 +3806,7 @@ typedef struct { /* Mandatory */ /* SBAS Config */ uint8_t sbasConfig; - /**< Whether SBAS configuration is enabled. + /**< Indicates whether SBAS configuration is enabled. \begin{itemize1} \item 0x01 (TRUE) -- SBAS configuration is enabled \item 0x00 (FALSE) -- SBAS configuration is disabled @@ -3808,7 +3825,7 @@ 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 @@ -3840,7 +3857,7 @@ 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 @@ -3857,7 +3874,7 @@ typedef struct { /* SBAS Config */ uint8_t sbasConfig_valid; /**< Must be set to true if sbasConfig is being passed */ uint8_t sbasConfig; - /**< Whether SBAS configuration is enabled. + /**< Indicates whether SBAS configuration is enabled. \begin{itemize1} \item 0x01 (TRUE) -- SBAS configuration is enabled \item 0x00 (FALSE) -- SBAS configuration is disabled @@ -3893,7 +3910,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 */ /** @@ -3909,7 +3926,7 @@ 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 @@ -3941,7 +3958,7 @@ 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 @@ -3958,7 +3975,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 @@ -3968,7 +3985,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 */ /** @@ -3984,7 +4001,7 @@ typedef struct { /* Mandatory */ /* Enable Low Power Mode */ uint8_t lowPowerMode; - /**< Whether to enable Low Power mode:\n + /**< Indicates whether to enable Low Power mode:\n - 0x01 (TRUE) -- Enable LPM \n - 0x00 (FALSE) -- Disable LPM */ }qmiLocSetLowPowerModeReqMsgT_v02; /* Message */ @@ -4001,7 +4018,7 @@ 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 @@ -4033,7 +4050,7 @@ 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 @@ -4050,7 +4067,7 @@ typedef struct { /* Enable/Disable LPM */ uint8_t lowPowerMode_valid; /**< Must be set to true if lowPowerMode is being passed */ uint8_t lowPowerMode; - /**< Whether to enable Low Power mode:\n + /**< Indicates whether to enable Low Power mode:\n - 0x01 (TRUE) -- Enable LPM \n - 0x00 (FALSE) -- Disable LPM */ }qmiLocGetLowPowerModeIndMsgT_v02; /* Message */ @@ -4082,7 +4099,7 @@ typedef struct { /* Mandatory */ /* Server Type */ qmiLocServerTypeEnumT_v02 serverType; - /**< Type of server. + /**< Type of server. Valid values: \n - 0x00000001 -- CDMA_PDE \n @@ -4095,13 +4112,13 @@ typedef struct { /* IPV4 Address */ uint8_t ipv4Addr_valid; /**< Must be set to true if ipv4Addr is being passed */ qmiLocIpV4AddrStructType_v02 ipv4Addr; - /**< \n IPV4 address and port. */ + /**< \vspace{0.06in} \n IPV4 address and port. */ /* Optional */ /* IPV6 Address */ uint8_t ipv6Addr_valid; /**< Must be set to true if ipv6Addr is being passed */ qmiLocIpV6AddrStructType_v02 ipv6Addr; - /**< \n IPV6 address and port. */ + /**< \vspace{0.06in} \n IPV6 address and port. */ /* Optional */ /* Uniform Resource Locator */ @@ -4153,7 +4170,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 @@ -4168,7 +4185,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 @@ -4189,7 +4206,7 @@ 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 @@ -4205,7 +4222,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 @@ -4218,13 +4235,13 @@ typedef struct { /* IPV4 Address */ uint8_t ipv4Addr_valid; /**< Must be set to true if ipv4Addr is being passed */ qmiLocIpV4AddrStructType_v02 ipv4Addr; - /**< \n IPV4 address and port. */ + /**< \vspace{0.06in} \n IPV4 address and port. */ /* Optional */ /* IPV6 Address */ uint8_t ipv6Addr_valid; /**< Must be set to true if ipv6Addr is being passed */ qmiLocIpV6AddrStructType_v02 ipv6Addr; - /**< \n IPV6 address and port. */ + /**< \vspace{0.06in} \n IPV6 address and port. */ /* Optional */ /* Uniform Resource Locator */ @@ -4232,7 +4249,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} */ @@ -4295,7 +4312,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 @@ -4318,7 +4335,7 @@ typedef struct { is to be deleted. \n Valid values: \n - 0x01 -- DELETE_EPHEMERIS \n - - 0x02 -- DELETE_ALMANAC + - 0x02 -- DELETE_ALMANAC */ }qmiLocDeleteSvInfoStructT_v02; /* Type */ /** @@ -4328,19 +4345,19 @@ 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 { /* Mandatory */ /* Delete All */ uint8_t deleteAllFlag; - /**< Whether all assistance data is to be deleted. + /**< Indicates 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 @@ -4351,14 +4368,14 @@ 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. + /**< \vspace{0.06in} \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 @@ -4431,14 +4448,14 @@ 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 @@ -4464,7 +4481,7 @@ typedef struct { /* Mandatory */ /* Enable XTRA-T */ uint8_t xtraTSessionControl; - /**< Whether to enable XTRA-T:\n + /**< Indicates whether to enable XTRA-T:\n - 0x01 (TRUE) -- Enable XTRA-T \n - 0x00 (FALSE) -- Disable XTRA-T */ }qmiLocSetXtraTSessionControlReqMsgT_v02; /* Message */ @@ -4481,7 +4498,7 @@ 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 @@ -4514,7 +4531,7 @@ 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 @@ -4531,7 +4548,7 @@ typedef struct { /* Enable/Disable XTRA-T */ uint8_t xtraTSessionControl_valid; /**< Must be set to true if xtraTSessionControl is being passed */ uint8_t xtraTSessionControl; - /**< Whether to enable XTRA-T:\n + /**< Indicates whether to enable XTRA-T:\n - 0x01 (TRUE) -- Enable XTRA-T \n - 0x00 (FALSE) -- Disable XTRA-T */ }qmiLocGetXtraTSessionControlIndMsgT_v02; /* Message */ @@ -4545,8 +4562,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 */ /** @@ -4585,7 +4602,7 @@ typedef struct { double lon; /**< WiFi position longitude. \n - - Type: Floating point \n + - Type: Floating point \n - Units: Degrees */ uint16_t hepe; @@ -4596,10 +4613,10 @@ 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 @@ -4627,7 +4644,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 */ @@ -4640,7 +4657,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 @@ -4664,26 +4681,26 @@ typedef struct { /* WiFi Fix Time */ uint8_t wifiFixTime_valid; /**< Must be set to true if wifiFixTime is being passed */ qmiLocWifiFixTimeStructT_v02 wifiFixTime; - /**< \n Time of WiFi position fix. */ + /**< \vspace{0.06in} \n Time of WiFi position fix. */ /* Optional */ /* WiFi Position */ uint8_t wifiFixPosition_valid; /**< Must be set to true if wifiFixPosition is being passed */ qmiLocWifiFixPosStructT_v02 wifiFixPosition; - /**< \n WiFi position fix. */ + /**< \vspace{0.06in} \n WiFi position fix. */ /* Optional */ /* WiFi Access Point Information */ uint8_t apInfo_valid; /**< Must be set to true if apInfo is being passed */ uint32_t apInfo_len; /**< Must be set to # of elements in apInfo */ qmiLocWifiApInfoStructT_v02 apInfo[QMI_LOC_WIFI_MAX_REPORTED_APS_PER_MSG_V02]; - /**< \n AP scan list. */ + /**< \vspace{0.06in} \n AP scan list. */ /* Optional */ /* 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 @@ -4707,7 +4724,7 @@ 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 @@ -4746,7 +4763,7 @@ typedef struct { /* Mandatory */ /* Availablility of WiFi */ qmiLocWifiStatusEnumT_v02 wifiStatus; - /**< WiFi status information. + /**< WiFi status information. Valid values: \begin{itemize1} \item 0x00000001 -- WIFI_STATUS_ AVAILABLE @@ -4767,7 +4784,7 @@ 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 @@ -4800,7 +4817,7 @@ 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 @@ -4817,55 +4834,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. - - QMI_LOC_EVENT_MASK_NI_NOTIFY_VERIFY_REQ (0x00000008) -- The control point must enable this mask to receive NI notify verify request - event indications. + 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. - 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.). - - QMI_LOC_EVENT_MASK_TIME_SYNC_REQ (0x00000800) -- The control point must enable this mask to receive time-sync requests + 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. - - 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. + 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. The location engine sends + this event 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. + control requests from the location engine. The location engine sends + this event to control the injection of motion data. */ }qmiLocGetRegisteredEventsIndMsgT_v02; /* Message */ /** @@ -4902,7 +4919,7 @@ typedef struct { /* Mandatory */ /* Operation Mode */ qmiLocOperationModeEnumT_v02 operationMode; - /**< Preferred operation mode. + /**< Preferred operation mode. \label{operationMode} Valid values: \begin{itemize1} @@ -4930,8 +4947,8 @@ 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 @@ -4962,7 +4979,7 @@ 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 @@ -4979,7 +4996,7 @@ 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 @@ -5005,7 +5022,7 @@ typedef struct { /* Mandatory */ /* Stationary Status */ uint8_t stationary; - /**< Whether the device is stationary: + /**< Indicates whether the device is stationary: \begin{itemize1} \item 0x00 (FALSE) -- Device is not stationary \item 0x01 (TRUE) -- Device is stationary @@ -5015,7 +5032,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 */ /** @@ -5059,9 +5076,9 @@ 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 - the location engine */ + 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 + the location engine. */ QMILOCSENSORDATATIMESOURCEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocSensorDataTimeSourceEnumT_v02; /** @@ -5074,8 +5091,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; @@ -5084,12 +5101,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 */ @@ -5103,14 +5120,14 @@ 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 @@ -5132,16 +5149,15 @@ 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 - Units: Milliseconds */ float temperature; /**< Sensor temperature. \n - Type: Floating point \n - - Units: Degree Celsius \n - - Range: -50 to +100.00 Degree Celsius */ + - Units: Degrees Celsius \n + - Range: -50 to +100.00 */ }qmiLocSensorTemperatureSampleStructT_v02; /* Type */ /** @} @@ -5154,18 +5170,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_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. */ 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 - - Type: Unsigned integer \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 */ uint32_t temperatureData_len; /**< Must be set to # of elements in temperatureData */ @@ -5189,59 +5204,61 @@ 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 */ /* 3-Axis Accelerometer Data */ uint8_t threeAxisAccelData_valid; /**< Must be set to true if threeAxisAccelData is being passed */ qmiLoc3AxisSensorSampleListStructT_v02 threeAxisAccelData; - /**< \n Accelerometer sensor samples. */ + /**< \vspace{0.06in} \n Accelerometer sensor samples. */ /* Optional */ /* 3-Axis Gyroscope Data */ uint8_t threeAxisGyroData_valid; /**< Must be set to true if threeAxisGyroData is being passed */ qmiLoc3AxisSensorSampleListStructT_v02 threeAxisGyroData; - /**< \n Gyroscope sensor samples. */ + /**< \vspace{0.06in} \n Gyroscope sensor samples. */ /* Optional */ /* 3-Axis Accelerometer Data Time Source */ uint8_t threeAxisAccelDataTimeSource_valid; /**< Must be set to true if threeAxisAccelDataTimeSource is being passed */ qmiLocSensorDataTimeSourceEnumT_v02 threeAxisAccelDataTimeSource; - /**< Time source for the 3-axis accelerometer data. Location service will use + /**< Time source for the 3-axis accelerometer data. The location service uses this field to identify the time reference used in the accelerometer data - 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 - the location engine + timestamps. If not specified, the location service assumes that the + time source for the accelereometer data is unknown. \n + 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. */ /* Optional */ /* 3-Axis Gyroscope Data Time Source */ 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 - 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 - the location engine + /**< Time source for the 3-axis gyroscope data. The location service uses + this field to identify the time reference used in the gyroscope data + timestamps. If not specified, the location service assumes that the + time source for the gyroscope data is unknown. \n + 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. */ /* Optional */ /* Accelerometer Temperature Data */ uint8_t accelTemperatureData_valid; /**< Must be set to true if accelTemperatureData is being passed */ qmiLocSensorTemperatureSampleListStructT_v02 accelTemperatureData; - /**< Accelerometer temperature samples. This data is optional and does not + /**< \vspace{0.06in} \nAccelerometer temperature samples. This data is optional and does not have to be included in the message along with accelerometer data. */ /* Optional */ /* Gyroscope Temperature Data */ uint8_t gyroTemperatureData_valid; /**< Must be set to true if gyroTemperatureData is being passed */ qmiLocSensorTemperatureSampleListStructT_v02 gyroTemperatureData; - /**< Gyroscope temperature samples. This data is optional and does not + /**< \vspace{0.06in} \n Gyroscope temperature samples. This data is optional and does not have to be included in the message along with gyroscope data. */ }qmiLocInjectSensorDataReqMsgT_v02; /* Message */ /** @@ -5258,7 +5275,7 @@ 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 @@ -5282,7 +5299,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. */ @@ -5290,15 +5307,15 @@ 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. */ /* Optional */ - /* Accelerometer Samples Accepted */ + /* Accelerometer Temperature 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 + /**< 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. */ @@ -5306,7 +5323,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 + /**< 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 */ @@ -5331,7 +5348,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 */ @@ -5339,8 +5356,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 @@ -5359,7 +5376,7 @@ 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 @@ -5399,14 +5416,14 @@ 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 @@ -5446,7 +5463,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 { @@ -5475,7 +5492,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 { @@ -5522,14 +5539,14 @@ 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 @@ -5562,7 +5579,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 { @@ -5585,14 +5602,14 @@ 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 @@ -5667,10 +5684,10 @@ 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 - QMI_LOC_EVENT_LOCATION_SERVER_REQ_IND event. */ +/** 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_CONNECTION_REQ_IND event. */ typedef struct { /* Mandatory */ @@ -5705,7 +5722,7 @@ typedef struct { /* APN Profile */ uint8_t apnProfile_valid; /**< Must be set to true if apnProfile is being passed */ qmiLocApnProfilesStructT_v02 apnProfile; - /**< \n Access Point Name (APN) profile information is present only when + /**< \vspace{0.06in} \n Access Point Name (APN) profile information is present only when requestType is OPEN and statusType is SUCCESS. */ }qmiLocInformLocationServerConnStatusReqMsgT_v02; /* Message */ /** @@ -5715,10 +5732,10 @@ 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 - QMI_LOC_EVENT_LOCATION_SERVER_REQ_IND event. */ +/** 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_CONNECTION_REQ_IND event. */ typedef struct { /* Mandatory */ @@ -5774,15 +5791,15 @@ 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 + QMI_LOC_LPP_CONFIG_ENABLE_USER_PLANE must be set in the LPP configuration for this to take effect. */ /** @addtogroup loc_qmi_enums @{ */ typedef enum { QMILOCSUPLHASHALGOENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_SUPL_HASH_ALGO_SHA1_V02 = 0, /**< SHA1 Hash Algorithm for SUPL Version 2.0 or higher */ - eQMI_LOC_SUPL_HASH_ALGO_SHA256_V02 = 1, /**< SHA-256 Hash Algorithm for SUPL Version 2.0 or higher */ + eQMI_LOC_SUPL_HASH_ALGO_SHA1_V02 = 0, /**< SHA-1 hash algorithm for SUPL version 2.0 or later. */ + eQMI_LOC_SUPL_HASH_ALGO_SHA256_V02 = 1, /**< SHA-256 hash algorithm for SUPL version 2.0 or later. */ QMILOCSUPLHASHALGOENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocSuplHashAlgoEnumT_v02; /** @@ -5794,8 +5811,8 @@ typedef enum { */ typedef enum { QMILOCSUPLTLSVERSIONENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_SUPL_TLS_VERSION_1_0_V02 = 0, /**< SUPL TLS Version 1.0 */ - eQMI_LOC_SUPL_TLS_VERSION_1_1_V02 = 1, /**< SUPL TLS Version 1.1 */ + eQMI_LOC_SUPL_TLS_VERSION_1_0_V02 = 0, /**< SUPL TLS version 1.0. */ + eQMI_LOC_SUPL_TLS_VERSION_1_1_V02 = 1, /**< SUPL TLS version 1.1. */ QMILOCSUPLTLSVERSIONENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocSuplTlsVersionEnumT_v02; /** @@ -5807,8 +5824,8 @@ typedef enum { */ typedef enum { QMILOCEMERGENCYPROTOCOLENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_CP_V02 = 0, /**< use Control plane protocol during emergency while on WCDMA */ - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_UP_V02 = 1, /**< use SUPL 2.0 emergency services during emergency while on WCDMA */ + eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_CP_V02 = 0, /**< Use Control Plane protocol during an emergency while on WCDMA. */ + eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_UP_V02 = 1, /**< Use SUPL 2.0 emergency services during an emergency while on WCDMA. */ QMILOCEMERGENCYPROTOCOLENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocEmergencyProtocolEnumT_v02; /** @@ -5818,7 +5835,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 { @@ -5850,7 +5867,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 */ @@ -5871,48 +5888,48 @@ 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. + QMI_LOC_LPP_CONFIG_ENABLE_USER_PLANE must be set + in the LPP configuration for this to take effect. */ /* Optional */ /* SUPL Hash Algorithm */ 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 + /**< SUPL hash algorithm to be used. Values: \n + - eQMI_LOC_SUPL_HASH_ALGO_SHA1 (0) -- SHA-1 hash algorithm for SUPL version 2.0 or later. + - eQMI_LOC_SUPL_HASH_ALGO_SHA256 (1) -- SHA-256 hash algorithm for SUPL version 2.0 or later. */ /* Optional */ /* SUPL TLS Version */ uint8_t suplTlsVersion_valid; /**< Must be set to true if suplTlsVersion is being passed */ qmiLocSuplTlsVersionEnumT_v02 suplTlsVersion; - /**< 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. + /**< SUPL Transport Layer Security (TLS) version. This configuration is only + applicable to SUPL 2.0 or later, 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 */ /* Emergency Protocol */ 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 - will always allow only Control plane NI trigger for positioning. - For LTE, UE Can allow either SUPL or Control plane NI trigger. + /**< Configures the protocol to be used during emergency. \n + \textbf{Note:} Currently, this can only be selected on WCDMA. For GSM + and 1x, the UE only allows a control plane NI trigger for positioning. + For LTE, the UE allows either a SUPL or a control plane NI trigger. \n 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 an emergency while on WCDMA. + - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_UP (1) -- Use SUPL 2.0 emergency services during an emergency while on WCDMA. */ }qmiLocSetProtocolConfigParametersReqMsgT_v02; /* Message */ /** @@ -5924,14 +5941,14 @@ typedef uint64_t qmiLocProtocolConfigParamMaskT_v02; #define QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_VX_VERSION_V02 ((qmiLocProtocolConfigParamMaskT_v02)0x0000000000000002ull) /**< Mask for the VX version configuration parameter. */ #define QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_VERSION_V02 ((qmiLocProtocolConfigParamMaskT_v02)0x0000000000000004ull) /**< Mask for the SUPL version configuration parameter. */ #define QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_LPP_CONFIG_V02 ((qmiLocProtocolConfigParamMaskT_v02)0x0000000000000008ull) /**< Mask for the LPP configuration parameter. */ -#define QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_ASSISTED_GLONASS_PROTOCOL_V02 ((qmiLocProtocolConfigParamMaskT_v02)0x0000000000000010ull) /**< Mask for the assisted glonass configuration parameter. */ -#define QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_HASH_ALGO_V02 ((qmiLocProtocolConfigParamMaskT_v02)0x0000000000000020ull) /**< Mask for the SUPL Hash algorithm configuration parameter. */ +#define QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_ASSISTED_GLONASS_PROTOCOL_V02 ((qmiLocProtocolConfigParamMaskT_v02)0x0000000000000010ull) /**< Mask for the assisted GLONASS configuration parameter. */ +#define QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_HASH_ALGO_V02 ((qmiLocProtocolConfigParamMaskT_v02)0x0000000000000020ull) /**< Mask for the SUPL hash algorithm configuration parameter. */ #define QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_SUPL_TLS_VERSION_V02 ((qmiLocProtocolConfigParamMaskT_v02)0x0000000000000040ull) /**< Mask for the SUPL TLS version configuration parameter. */ #define QMI_LOC_PROTOCOL_CONFIG_PARAM_MASK_EMERGENCY_PROTOCOL_V02 ((qmiLocProtocolConfigParamMaskT_v02)0x0000000000000080ull) /**< Mask for the emergency protocol configuration parameter. */ /** @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 { @@ -5956,17 +5973,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 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 */ /** @@ -5976,7 +5993,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 { @@ -5986,14 +6003,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 */ /** @@ -6003,7 +6020,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 { @@ -6051,7 +6068,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 */ @@ -6075,41 +6092,41 @@ 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. + QMI_LOC_LPP_CONFIG_ENABLE_USER_PLANE must be set + in the LPP configuration for this to take effect. */ /* Optional */ /* SUPL Hash Algorithm */ 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 + /**< SUPL hash algorithm to be used. Values: \n + - eQMI_LOC_SUPL_HASH_ALGO_SHA1 (0) -- SHA-1 hash algorithm for SUPL version 2.0 or later. + - eQMI_LOC_SUPL_HASH_ALGO_SHA256 (1) -- SHA-256 hash algorithm for SUPL version 2.0 or later. */ /* Optional */ /* SUPL TLS Version */ uint8_t suplTlsVersion_valid; /**< Must be set to true if suplTlsVersion is being passed */ qmiLocSuplTlsVersionEnumT_v02 suplTlsVersion; - /**< 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. + /**< SUPL TLS version. This configuration is only + applicable to SUPL 2.0 or later, 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 */ /* Emergency Protocol */ uint8_t emergencyProtocol_valid; /**< Must be set to true if emergencyProtocol is being passed */ qmiLocEmergencyProtocolEnumT_v02 emergencyProtocol; - /**< The protocol to be used during emergency. + /**< 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 an emergency while on WCDMA. + - eQMI_LOC_EMERGENCY_PROTOCOL_WCDMA_UP (1) -- Use SUPL 2.0 emergency services during an emergency while on WCDMA. */ }qmiLocGetProtocolConfigParametersIndMsgT_v02; /* Message */ /** @@ -6144,17 +6161,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} */ @@ -6221,17 +6238,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} */ @@ -6249,7 +6266,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. */ @@ -6262,9 +6279,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 */ @@ -6274,9 +6291,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 */ @@ -6286,9 +6303,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 */ @@ -6298,9 +6315,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 */ @@ -6310,9 +6327,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 */ /** @@ -6322,7 +6339,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. */ @@ -6349,7 +6366,7 @@ 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 is sent only if the status is not SUCCESS. Identifies the parameters that were not set successfully. Valid bitmasks: \begin{itemize1} @@ -6419,9 +6436,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 */ @@ -6431,7 +6448,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 */ @@ -6443,7 +6460,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 */ @@ -6455,7 +6472,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 */ @@ -6467,9 +6484,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 */ /** @@ -6501,8 +6518,8 @@ typedef uint32_t qmiLocSensorAlgorithmMaskT_v02; /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Provides fine-grained control of sensor based positioning - performance */ +/** Request Message; Provides fine-grained control of sensor based positioning + performance. */ typedef struct { /* Optional */ @@ -6512,13 +6529,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} */ @@ -6527,26 +6544,26 @@ typedef struct { /* Accelerometer Sampling Specification */ uint8_t accelSamplingSpec_valid; /**< Must be set to true if accelSamplingSpec is being passed */ qmiLocSensorControlConfigSamplingSpecStructT_v02 accelSamplingSpec; - /**< \n \vspace{0.06in} Sets the nominal rate at which the GNSS location + /**< \vspace{0.06in} \n 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 */ /* Gyroscope Sampling Specification */ uint8_t gyroSamplingSpec_valid; /**< Must be set to true if gyroSamplingSpec is being passed */ qmiLocSensorControlConfigSamplingSpecStructT_v02 gyroSamplingSpec; - /**< \n \vspace{0.06in} Sets the nominal rate at which the GNSS location + /**< \vspace{0.06in} \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 + 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 */ @@ -6564,26 +6581,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. + /**< \vspace{0.06in} \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. + /**< \vspace{0.06in} \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 */ /** @@ -6600,8 +6617,8 @@ typedef uint32_t qmiLocSensorPerformanceControlConfigFailureMaskT_v02; /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Provides fine-grained control of sensor based positioning - performance */ +/** Indication Message; Provides fine-grained control of sensor based positioning + performance. */ typedef struct { /* Mandatory */ @@ -6651,7 +6668,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 { @@ -6681,10 +6698,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} */ @@ -6693,26 +6710,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 + /**< \vspace{0.06in} \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 + /**< \vspace{0.06in} \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 */ @@ -6730,26 +6747,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. + /**< \vspace{0.06in} \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. + /**< \vspace{0.06in} \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 */ /** @@ -6774,7 +6791,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 */ /** @@ -6791,7 +6808,7 @@ 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 @@ -6820,7 +6837,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 */ /** @@ -6854,16 +6871,18 @@ 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 - in persistent memory. */ +#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. */ +#define QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_ENABLE_FASTER_TTFF_V02 ((qmiLocPositionEngineConfigParamMaskT_v02)0x00000008) /**< Denotes whether the position engine stays on to optimize + the TTFF for the subsequent position fix. */ /** @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 { @@ -6874,7 +6893,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 @@ -6899,7 +6918,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} @@ -6908,6 +6927,26 @@ typedef struct { \end{itemize1} The default value is TRUE. */ + + /* Optional */ + /* Enable Faster TTFF */ + uint8_t enableFasterTTFF_valid; /**< Must be set to true if enableFasterTTFF is being passed */ + uint8_t enableFasterTTFF; + /**< Allows the receiver to stay on after a position session in order to + collect information that will help reduce the Time To First Fix (TTFF) + when the next position request is made. The receiver will stay + on only if the engine determines that it needs to collect some + information. The receiver will stay on for the duration needed to + collect the information. + If enabled, the clients may see a delay in receiving the Engine Off + event after the position session ends. + + Valid values: \begin{itemize1} + \item 0x01 (TRUE) -- Allow the engine to stay on for reduced TTFF + \item 0x00 (FALSE) -- Do not allow the engine to stay on for reduced + TTFF + \end{itemize1} + The default value is TRUE.*/ }qmiLocSetPositionEngineConfigParametersReqMsgT_v02; /* Message */ /** @} @@ -6916,7 +6955,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 { @@ -6941,14 +6980,18 @@ typedef struct { uint8_t failedPositionEngineConfigParamMask_valid; /**< Must be set to true if failedPositionEngineConfigParamMask is being passed */ qmiLocPositionEngineConfigParamMaskT_v02 failedPositionEngineConfigParamMask; /**< Identifies the parameters that were not set successfully. - This field is sent only if the status is other than SUCCESS. + This field is sent only if the status is other than SUCCESS. - Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- INJECTED_ POSITION_CONTROL - \item 0x00000002 -- FILTER_SV_USAGE - \item 0x00000004 -- STORE_ASSIST_ DATA - \vspace{-0.18in} \end{itemize1} - */ + Valid bitmasks:\n + - QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_INJECTED_POSITION_CONTROL (0x00000001) -- Denotes whether the position engine uses the + injected position in a direct position calculation. + - QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_FILTER_SV_USAGE (0x00000002) -- Denotes whether the position engine filters the + SV usage in the fix. + - QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_STORE_ASSIST_DATA (0x00000004) -- Denotes whether the position engine stores assistance data + in persistent memory. + - QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_ENABLE_FASTER_TTFF (0x00000008) -- Denotes whether the position engine stays on to optimize + the TTFF for the subsequent position fix. + */ }qmiLocSetPositionEngineConfigParametersIndMsgT_v02; /* Message */ /** @} @@ -6957,7 +7000,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 { @@ -6966,12 +7009,16 @@ typedef struct { qmiLocPositionEngineConfigParamMaskT_v02 getPositionEngineConfigParamMask; /**< Mask denoting the configuration parameters to be retrieved. - Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- INJECTED_ POSITION_CONTROL - \item 0x00000002 -- FILTER_SV_USAGE - \item 0x00000004 -- STORE_ASSIST_ DATA - \vspace{-0.18in} \end{itemize1} - */ + Valid bitmasks: + - QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_INJECTED_POSITION_CONTROL (0x00000001) -- Denotes whether the position engine uses the + injected position in a direct position calculation. + - QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_FILTER_SV_USAGE (0x00000002) -- Denotes whether the position engine filters the + SV usage in the fix. + - QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_STORE_ASSIST_DATA (0x00000004) -- Denotes whether the position engine stores assistance data + in persistent memory. + - QMI_LOC_POSITION_ENGINE_CONFIG_PARAM_MASK_ENABLE_FASTER_TTFF (0x00000008) -- Denotes whether the position engine stays on to optimize + the TTFF for the subsequent position fix. + */ }qmiLocGetPositionEngineConfigParametersReqMsgT_v02; /* Message */ /** @} @@ -6980,7 +7027,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 { @@ -7004,7 +7051,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} @@ -7020,7 +7067,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 @@ -7042,6 +7089,26 @@ typedef struct { \end{itemize1} The default value is TRUE. */ + + /* Optional */ + /* Enable Faster TTFF */ + uint8_t enableFasterTTFF_valid; /**< Must be set to true if enableFasterTTFF is being passed */ + uint8_t enableFasterTTFF; + /**< Allows the receiver to stay on after a position session in order to + collect information that will help reduce the TTFF + when the next position request is made. The receiver will stay + on only if the engine determines that it needs to collect some + information. The receiver will stay on for the duration needed to + collect the information. + If enabled, the clients may see a delay in receiving the Engine Off + event after the position session ends. + + Valid values: \begin{itemize1} + \item 0x01 (TRUE) -- Allow the engine to stay on for reduced TTFF + \item 0x00 (FALSE) -- Do not allow the engine to stay on for reduced + TTFF + \end{itemize1} + The default value is TRUE.*/ }qmiLocGetPositionEngineConfigParametersIndMsgT_v02; /* Message */ /** @} @@ -7080,7 +7147,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. */ @@ -7155,7 +7222,7 @@ typedef struct { /* 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 @@ -7167,9 +7234,9 @@ 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} @@ -7182,9 +7249,9 @@ typedef struct { /* 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} @@ -7232,7 +7299,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 */ @@ -7401,7 +7468,7 @@ 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 @@ -7454,7 +7521,7 @@ typedef struct { /**< Specifies whether the Geofence is to be actively monitored. Valid values: \begin{itemize1} - \item 0x00000001 -- GEOFENCE_STATE_ ACTIVE + \item 0x00000001 -- GEOFENCE_STATE_ ACTIVE \item 0x00000002 -- GEOFENCE_STATE_ SUSPEND \vspace{-0.18in} \end{itemize1} */ @@ -7530,7 +7597,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 { @@ -7547,7 +7614,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 { @@ -7679,13 +7746,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 0x00000002 -- RELIABILITY_LOW \item 0x00000003 -- RELIABILITY_ MEDIUM - \item 0x00000004 -- RELIABILITY_HIGH + \item 0x00000004 -- RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1} */ /* Optional */ @@ -7765,7 +7832,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. */ @@ -7774,15 +7841,18 @@ typedef struct { uint8_t technologyMask_valid; /**< Must be set to true if technologyMask is being passed */ qmiLocPosTechMaskT_v02 technologyMask; /**< Technology used in computing this fix. - - Valid bitmasks: \begin{itemize1} - \item 0x00000001 -- SATELLITE - \item 0x00000002 -- CELLID - \item 0x00000004 -- WIFI - \item 0x00000008 -- SENSORS - \item 0x00000010 -- REFERENCE_ LOCATION - \item 0x00000020 -- INJECTED_COARSE_ POSITION - \vspace{-0.18in} \end{itemize1} */ + Valid bitmasks: \n + - QMI_LOC_POS_TECH_MASK_SATELLITE (0x00000001) -- Satellites were used to generate the fix. + - QMI_LOC_POS_TECH_MASK_CELLID (0x00000002) -- Cell towers were used to generate the fix. + - QMI_LOC_POS_TECH_MASK_WIFI (0x00000004) -- WiFi access points were used to generate the fix. + - QMI_LOC_POS_TECH_MASK_SENSORS (0x00000008) -- Sensors were used to generate the fix. + - QMI_LOC_POS_TECH_MASK_REFERENCE_LOCATION (0x00000010) -- Reference Location was used to generate the fix. + - QMI_LOC_POS_TECH_MASK_INJECTED_COARSE_POSITION (0x00000020) -- Coarse position injected into the location engine was used to + generate the fix. + - QMI_LOC_POS_TECH_MASK_AFLT (0x00000040) -- AFLT was used to generate the fix. + - QMI_LOC_POS_TECH_MASK_HYBRID (0x00000080) -- GNSS and network-provided measurements were used to + generate the fix. + */ /* Optional */ /* Dilution of Precision */ @@ -7800,26 +7870,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 the system clock (better known as the slow clock); + GNSS time is maintained irrespective of the GNSS receiver state */ /* Optional */ @@ -7833,12 +7903,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 */ @@ -7886,13 +7956,13 @@ typedef struct { /**< 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.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 + \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. */ @@ -7900,62 +7970,62 @@ typedef struct { /**< 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.1in} \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, + /**< 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.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.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 + 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 + 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 + 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 */ /** @@ -7985,7 +8055,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 @@ -8040,7 +8110,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 */ @@ -8049,7 +8119,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 */ /** @@ -8062,16 +8132,16 @@ typedef struct { typedef struct { uint32_t MCC; - /**< GSM mobile country code. Refer to ITU-T E.212 \hyperref[R2]{[R2]}. */ + /**< GSM mobile country code. Refer to ITU-T E.212 \hyperref[S6]{[S6]}. */ uint32_t MNC; - /**< GSM mobile network code. Refer to \hyperref[R2]{[R2]}. */ + /**< GSM mobile network code. Refer to \hyperref[S6]{[S6]}. */ uint32_t LAC; - /**< GSM location area code. Refer to \hyperref[R2]{[R2]}. */ + /**< GSM location area code. Refer to \hyperref[S6]{[S6]}. */ uint32_t CID; - /**< GSM cell identification. Refer to \hyperref[R2]{[R2]}. */ + /**< GSM cell identification. Refer to \hyperref[S6]{[S6]}. */ }qmiLocGSMCellIdStructT_v02; /* Type */ /** @} @@ -8080,19 +8150,19 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Injects 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; - /**< \n Identifies the GSM cell on which the device is currently camped. */ + /**< \vspace{0.06in} \n Identifies the GSM cell on which the device is currently camped. */ /* Mandatory */ /* Roaming Status */ uint8_t roamingStatus; - /**< Whether the device is roaming. + /**< Indicates whether the device is roaming. \begin{itemize1} \item 0x01 (TRUE) -- Device is roaming \item 0x00 (FALSE) -- Device is not roaming @@ -8102,8 +8172,8 @@ typedef struct { /* 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 */ + /**< Round trip delay between the MS and the BS, in units of 3.69 microseconds. + Refer to 3GPP TS 05.10 and TS 45.010. */ }qmiLocInjectGSMCellInfoReqMsgT_v02; /* Message */ /** @} @@ -8112,7 +8182,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Injects GSM cell information into the location +/** Indication Message; Injects GSM cell information into the location engine. */ typedef struct { @@ -8128,7 +8198,7 @@ typedef struct { \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000006 -- TIMEOUT - \vspace{-018in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocInjectGSMCellInfoIndMsgT_v02; /* Message */ /** @} @@ -8139,7 +8209,7 @@ typedef struct { */ 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_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; @@ -8153,13 +8223,13 @@ typedef enum { typedef struct { uint32_t mcc; - /**< WCDMA mobile country code. Refer to ITU-T E.212 \hyperref[R2]{[R2]}. */ + /**< WCDMA mobile country code. Refer to ITU-T E.212 \hyperref[S6]{[S6]}. */ uint32_t mnc; - /**< WCDMA mobile network code. Refer to \hyperref[R2]{[R2]}. */ + /**< WCDMA mobile network code. Refer to \hyperref[S6]{[S6]}. */ uint32_t cid; - /**< WCDMA Cell Identity. Refer to \hyperref[R2]{[R2]}. */ + /**< WCDMA cell identity. Refer to \hyperref[S6]{[S6]}. */ }qmiLocWCDMACellIdStructT_v02; /* Type */ /** @} @@ -8168,7 +8238,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Injects WCDMA cell information into the location +/** Request Message; Injects WCDMA cell information into the location engine. */ typedef struct { @@ -8180,23 +8250,29 @@ typedef struct { /* Mandatory */ /* Roaming Status */ qmiLocRoamingStatusEnumT_v02 roamingStatus; - /**< Whether the device is roaming. + /**< Indicates whether the device is roaming. Valid values: \begin{itemize1} - \item eQMI_LOC_PHONE_NOT_ROAMING -- Device not roaming, i.e. its camped on + \item eQMI_LOC_PHONE_NOT_ROAMING -- Device not roaming, i.e., it is camped on its home network - \item eQMI_LOC_PHONE_ROAMING -- Device is currently roaming, i.e. its camped + \item eQMI_LOC_PHONE_ROAMING -- Device is currently roaming, i.e., it is camped on a roaming network. - \vspace{0.1in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ + /* Cell Frequency */ 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 */ + /**< Frequency information of the serving cell. \n + Valid range: 0 to 16383 \n + Refer to TS 25.331 \hyperref[S7]{[S7]}. */ /* Optional */ + /* Primary Scrambling Code */ 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 */ + /**< Primary scrambling code of the serving cell. \n + Valid range: 0 to 511 \n + Refer to \hyperref[S7]{[S7]}. */ }qmiLocInjectWCDMACellInfoReqMsgT_v02; /* Message */ /** @} @@ -8205,7 +8281,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Injects WCDMA cell information into the location +/** Indication Message; Injects WCDMA cell information into the location engine. */ typedef struct { @@ -8221,7 +8297,7 @@ typedef struct { \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000006 -- TIMEOUT - \vspace{-018in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocInjectWCDMACellInfoIndMsgT_v02; /* Message */ /** @} @@ -8233,16 +8309,16 @@ typedef struct { typedef struct { uint32_t mcc; - /**< TDSCDMA mobile country code. Refer to ITU-T E.212 \hyperref[R2]{[R2]}. */ + /**< TDSCDMA mobile country code. Refer to ITU-T E.212 \hyperref[S6]{[S6]}. */ uint32_t mnc; - /**< TDSCDMA mobile network code. Refer to \hyperref[R2]{[R2]}. */ + /**< TDSCDMA mobile network code. Refer to \hyperref[S6]{[S6]}. */ uint32_t cid; - /**< TDSCDMA Cell Identity. Refer to TS 25.331. */ + /**< TDSCDMA cell identity. Refer to TS 25.331 \hyperref[S7]{[S7]}. */ uint32_t lac; - /**< TDSCDMA location area code. Refer to \hyperref[R2]{[R2]}. */ + /**< TDSCDMA location area code. Refer to \hyperref[S6]{[S6]}. */ }qmiLocTDSCDMACellIdStructT_v02; /* Type */ /** @} @@ -8251,7 +8327,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Injects TDSCDMA cell information into the location +/** Request Message; Injects TDSCDMA cell information into the location engine. */ typedef struct { @@ -8263,18 +8339,21 @@ typedef struct { /* Mandatory */ /* Roaming Status */ qmiLocRoamingStatusEnumT_v02 roamingStatus; - /**< Whether the device is roaming. + /**< Indicates whether the device is roaming. Valid values: \begin{itemize1} - \item eQMI_LOC_PHONE_NOT_ROAMING -- Device not roaming, i.e. its camped on + \item eQMI_LOC_PHONE_NOT_ROAMING -- Device not roaming, i.e., it is 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} */ + \item eQMI_LOC_PHONE_ROAMING -- Device is currently roaming, i.e., it is camped + on a roaming network + \vspace{-0.18in} \end{itemize1} */ /* Optional */ + /* Cell Frequency */ 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 */ + /**< Frequency information of the serving cell. \n + Valid range: 0 to 16383 \n + Refer to \hyperref[S7]{[S7]}. */ }qmiLocInjectTDSCDMACellInfoReqMsgT_v02; /* Message */ /** @} @@ -8283,7 +8362,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Injects TDSCDMA cell information into the location +/** Indication Message; Injects TDSCDMA cell information into the location engine. */ typedef struct { @@ -8299,7 +8378,7 @@ typedef struct { \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000006 -- TIMEOUT - \vspace{-018in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocInjectTDSCDMACellInfoIndMsgT_v02; /* Message */ /** @} @@ -8315,13 +8394,13 @@ typedef struct { /* 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]}.*/ + /**< IMSI number of the preferred RAT. Refer to \hyperref[S6]{[S6]}.*/ /* 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]}.*/ + /**< MSISDN number of the preferred RAT. Refer to \hyperref[S6]{[S6]}.*/ }qmiLocInjectSubscriberIDReqMsgT_v02; /* Message */ /** @} @@ -8345,7 +8424,7 @@ typedef struct { \item 0x00000003 -- INVALID_ PARAMETER \item 0x00000004 -- ENGINE_BUSY \item 0x00000006 -- TIMEOUT - \vspace{-018in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocInjectSubscriberIDIndMsgT_v02; /* Message */ /** @} @@ -8366,7 +8445,7 @@ typedef enum { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; Injects a network-initiated message into the location +/** Request Message; Injects a network-initiated message into the location engine. */ typedef struct { @@ -8382,7 +8461,7 @@ typedef struct { /* 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 \hyperref[S5]{[S5]}. */ }qmiLocInjectNetworkInitiatedMessageReqMsgT_v02; /* Message */ @@ -8393,7 +8472,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Injects a network-initiated message into the location +/** Indication Message; Injects a network-initiated message into the location engine. */ typedef struct { @@ -8458,43 +8537,43 @@ typedef struct { /* Mandatory */ /* Time Source */ qmiLocSensorDataTimeSourceEnumT_v02 timeSource; - /**< Time source for the pedometer. Location service will use - 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 - the location engine*/ + /**< Time source for the pedometer. The location service uses + this field to identify the time reference used in the + pedometer data time stamp. 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. */ /* Mandatory */ - /* Pedometer report timestamp */ + /* 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 + /**< Time stamp of the last step event in this report, i.e., the time stamp + of the step event that caused this report to be generated. + The time stamp is in the time reference scale that is used by the pedometer time source. \n - - Unit: Milliseconds */ + - Units: Milliseconds */ /* Mandatory */ /* Time Interval */ 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. - Unit : Milliseconds. */ + timeInterval from the timestamp field yields the time when + the step detection for the first step in this report started. \n + - Units: Milliseconds */ /* Mandatory */ /* Step Count */ uint32_t stepCount; - /**< Number for steps counted during the time interval.*/ + /**< Number of steps counted during the time interval. */ /* Optional */ /* Step Confidence */ uint8_t stepConfidence_valid; /**< Must be set to true if stepConfidence is being passed */ uint8_t stepConfidence; /**< Confidence associated with the step. This field is only applicable - for a single step report, i.e if the stepCount is one. - Range: 0 to 100. - Note: The report will be ignored if confidence is 0. */ + for a single step report, i.e., if the step count is one. \n + - Range: 0 to 100 \n + \textbf{Note:} The report is ignored if confidence is 0. */ /* Optional */ /* Step Count Uncertainty */ @@ -8506,10 +8585,9 @@ typedef struct { /* Step Rate */ uint8_t stepRate_valid; /**< Must be set to true if stepRate is being passed */ float stepRate; - /**< Current estimate for the rate of steps per second. - Units: steps/second - Range: >= 0.0 - */ + /**< Current estimate for the rate of steps per second. \n + - Units: steps/second \n + - Range: >= 0.0 */ }qmiLocPedometerReportReqMsgT_v02; /* Message */ /** @} @@ -8523,11 +8601,9 @@ typedef struct { typedef struct { /* Mandatory */ - /* Status of Pedometer report request */ + /* Status of Pedometer Report Request */ qmiLocStatusEnumT_v02 status; - /**< Status of the pedometer report request - - Valid values: \begin{itemize1} + /**< Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -8546,6 +8622,10 @@ typedef struct { /** @addtogroup loc_qmi_msg_ids @{ */ +#define QMI_LOC_GET_SUPPORTED_MSGS_REQ_V02 0x001E +#define QMI_LOC_GET_SUPPORTED_MSGS_RESP_V02 0x001E +#define QMI_LOC_GET_SUPPORTED_FIELDS_REQ_V02 0x001F +#define QMI_LOC_GET_SUPPORTED_FIELDS_RESP_V02 0x001F #define QMI_LOC_INFORM_CLIENT_REVISION_REQ_V02 0x0020 #define QMI_LOC_INFORM_CLIENT_REVISION_RESP_V02 0x0020 #define QMI_LOC_REG_EVENTS_REQ_V02 0x0021 @@ -8758,21 +8838,21 @@ typedef struct { */ /* 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 ) -/** - @} +/** + @} */ @@ -8780,4 +8860,3 @@ qmi_idl_service_object_type loc_get_service_object_internal_v02 } #endif #endif -