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 7294d33e..6e60b604 100644 --- a/loc_api/loc_api_v02/loc_api_v02_client.c +++ b/loc_api/loc_api_v02/loc_api_v02_client.c @@ -27,6 +27,12 @@ */ #include +#include +#include + +#include +#include + #include "qmi_client.h" #include "qmi_idl_lib.h" #include "qmi_cci_target_ext.h" @@ -38,10 +44,7 @@ #define LOG_TAG "LocSvc_api_v02" #endif //_ANDROID_ -#include -#include -#include -#include + #include "loc_api_v02_client.h" #include "loc_util_log.h" @@ -50,21 +53,16 @@ // timeout in ms before send_msg_sync should return #define LOC_CLIENT_ACK_TIMEOUT (5000) -// timeout in ms before a sync request should return -#define LOC_CLIENT_SYNC_REQ_TIMEOUT (5000) - #else // timeout in ms before send_msg_sync should return #define LOC_CLIENT_ACK_TIMEOUT (1000) -// timeout in ms before a sync request should return -#define LOC_CLIENT_SYNC_REQ_TIMEOUT (1000) - #endif //LOC_UTIL_TARGET_OFF_TARGET -//timeout in ms to wait for the service to come up +//timeout in ms that the service waits for qmi-fw notification #define LOC_CLIENT_SERVICE_TIMEOUT_UNIT (4000) +// total timeout for the service to come up #define LOC_CLIENT_SERVICE_TIMEOUT_TOTAL (40000) /* Table to relate eventId, size and mask value used to enable the event*/ @@ -374,7 +372,27 @@ static locClientRespIndTableStructT locClientRespIndTable[]= { //Get best available position { QMI_LOC_GET_BEST_AVAILABLE_POSITION_IND_V02, - sizeof(qmiLocGetBestAvailablePositionIndMsgT_v02)} + sizeof(qmiLocGetBestAvailablePositionIndMsgT_v02)}, + + //Inject motion data + { QMI_LOC_INJECT_MOTION_DATA_IND_V02, + sizeof(qmiLocInjectMotionDataIndMsgT_v02)}, + + //Get NI Geofence list + { QMI_LOC_GET_NI_GEOFENCE_ID_LIST_IND_V02, + sizeof(qmiLocGetNiGeofenceIdListIndMsgT_v02)}, + + //Inject GSM Cell Info + { QMI_LOC_INJECT_GSM_CELL_INFO_IND_V02, + sizeof(qmiLocInjectNetworkInitiatedMessageIndMsgT_v02)}, + + //Inject Network Initiated Message + { QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_IND_V02, + sizeof(qmiLocInjectNetworkInitiatedMessageIndMsgT_v02)}, + + //WWAN Out of Service Notification + { QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_IND_V02, + sizeof(qmiLocWWANOutOfServiceNotificationIndMsgT_v02)} }; @@ -385,7 +403,9 @@ typedef enum { eventIndType =0, respIndType = 1 } locClientIndEnumT; /** @struct locClientInternalState */ -typedef struct +typedef struct locClientCbDataStructT locClientCallbackDataType; + +struct locClientCbDataStructT { // client cookie void *pClientCookie; @@ -400,7 +420,10 @@ typedef struct // the event mask the client has registered for locClientEventMaskType eventRegMask; -}locClientCallbackDataType; + //pointer to itself for checking consistency data + locClientCallbackDataType *pMe; +}; + /*=========================================================================== * @@ -466,10 +489,12 @@ static bool isClientRegisteredForEvent( { if(eventIndId == locClientEventIndTable[idx].eventId) { - LOC_LOGV("%s:%d]: eventId %d registered mask = %llu, " - "eventMask = %llu\n", __func__, __LINE__, - eventIndId, eventRegMask, - locClientEventIndTable[idx].eventMask); + LOC_LOGV("%s:%d]: eventId %d registered mask = 0x%04x%04x, " + "eventMask = 0x%04x%04x\n", __func__, __LINE__, + eventIndId,(uint32_t)(eventRegMask>>32), + (uint32_t)(eventRegMask & 0xFFFFFFFF), + (uint32_t)(locClientEventIndTable[idx].eventMask >> 32), + (uint32_t)(locClientEventIndTable[idx].eventMask & 0xFFFFFFFF)); return(( eventRegMask & locClientEventIndTable[idx].eventMask)? @@ -826,6 +851,22 @@ static bool locClientHandleIndication( break; } + // get predicted orbits source response indication + case QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_IND_V02: + { + //locClientHandleGetPredictedOrbitsSourceInd(user_handle, msg_id, ind_buf, ind_buf_len); + status = true; + break; + } + + // get predicted orbits validity response indication + case QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_IND_V02: + { + //locClientHandleGetPredictedOrbitsDataValidityInd(user_handle, msg_id, ind_buf, ind_buf_len); + status = true; + break; + } + case QMI_LOC_INJECT_SENSOR_DATA_IND_V02 : { //locClientHandleInjectSensorDataInd(user_handle, msg_id, ind_buf, ind_buf_len); @@ -948,6 +989,12 @@ static bool locClientHandleIndication( break; } + case QMI_LOC_GET_NI_GEOFENCE_ID_LIST_IND_V02: + { + status = true; + break; + } + // for indications that only have a "status" field case QMI_LOC_NI_USER_RESPONSE_IND_V02: case QMI_LOC_INJECT_UTC_TIME_IND_V02: @@ -971,6 +1018,10 @@ static bool locClientHandleIndication( case QMI_LOC_SET_SENSOR_PROPERTIES_IND_V02: case QMI_LOC_INJECT_SUPL_CERTIFICATE_IND_V02: case QMI_LOC_DELETE_SUPL_CERTIFICATE_IND_V02: + case QMI_LOC_INJECT_MOTION_DATA_IND_V02: + case QMI_LOC_INJECT_GSM_CELL_INFO_IND_V02: + case QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_IND_V02: + case QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_IND_V02: { status = true; break; @@ -1003,13 +1054,16 @@ static void locClientErrorCb { locClientCallbackDataType* pCallbackData = (locClientCallbackDataType *)err_cb_data; + locClientErrorCbType localErrorCallback = NULL; /* copy the errorCallback function pointer from the callback * data to local variable. This is to protect against the race * condition between open/close and error callback. */ - locClientErrorCbType localErrorCallback = - pCallbackData->errorCallback; + if(NULL != pCallbackData) + { + localErrorCallback = pCallbackData->errorCallback; + } LOC_LOGD("%s:%d]: Service Error %d received, pCallbackData = %p\n", __func__, __LINE__, error, err_cb_data); @@ -1021,7 +1075,8 @@ static void locClientErrorCb if( (NULL != pCallbackData) && (NULL != localErrorCallback) && - (NULL != pCallbackData->errorCallback) ) + (NULL != pCallbackData->errorCallback) && + (pCallbackData == pCallbackData->pMe) ) { //invoke the error callback for the corresponding client localErrorCallback( @@ -1063,7 +1118,7 @@ static void locClientIndCb pCallbackData); // check callback data - if(NULL == pCallbackData) + if(NULL == pCallbackData ||(pCallbackData != pCallbackData->pMe)) { LOC_LOGE("%s:%d]: invalid callback data", __func__, __LINE__); return; @@ -1479,6 +1534,30 @@ static bool validateRequest( *pOutLen = sizeof(qmiLocGetBestAvailablePositionReqMsgT_v02); break; } + case QMI_LOC_INJECT_MOTION_DATA_REQ_V02: + { + *pOutLen = sizeof(qmiLocInjectMotionDataReqMsgT_v02); + break; + } + + case QMI_LOC_GET_NI_GEOFENCE_ID_LIST_REQ_V02: + { + *pOutLen = sizeof(qmiLocGetNiGeofenceIdListReqMsgT_v02); + break; + } + + case QMI_LOC_INJECT_GSM_CELL_INFO_REQ_V02: + { + *pOutLen = sizeof(qmiLocInjectGSMCellInfoReqMsgT_v02); + break; + } + + case QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_REQ_V02: + { + *pOutLen = sizeof(qmiLocInjectNetworkInitiatedMessageReqMsgT_v02); + break; + } + // ALL requests with no payload case QMI_LOC_GET_SERVICE_REVISION_REQ_V02: @@ -1497,6 +1576,7 @@ static bool validateRequest( case QMI_LOC_GET_EXTERNAL_POWER_CONFIG_REQ_V02: 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: { noPayloadFlag = true; break; @@ -1726,21 +1806,18 @@ locClientStatusEnumType locClientOpen ( locClientStatusEnumType status = eLOC_CLIENT_SUCCESS; locClientCallbackDataType *pCallbackData = NULL; - LOC_LOGV("%s:%d] \n", __func__, __LINE__); + // check input parameters + if( (NULL == pLocClientCallbacks) || (NULL == pLocClientHandle) + || (NULL == pLocClientCallbacks->respIndCb) || + (pLocClientCallbacks->size != sizeof(locClientCallbacksType))) + { + LOC_LOGE("%s:%d]: Invalid parameters in locClientOpen\n", + __func__, __LINE__); + return eLOC_CLIENT_FAILURE_INVALID_PARAMETER; + } do { - // check input parameters - if( (NULL == pLocClientCallbacks) || (NULL == pLocClientHandle) - || (NULL == pLocClientCallbacks->respIndCb) || - (pLocClientCallbacks->size != sizeof(locClientCallbacksType))) - { - LOC_LOGE("%s:%d]: Invalid parameters in locClientOpen\n", - __func__, __LINE__); - status = eLOC_CLIENT_FAILURE_INVALID_PARAMETER; - break; - } - // Allocate memory for the callback data pCallbackData = ( locClientCallbackDataType*)calloc( @@ -1775,7 +1852,8 @@ locClientStatusEnumType locClientOpen ( __func__, __LINE__, status); break; } - + // set the self pointer + pCallbackData->pMe = pCallbackData; // set the handle to the callback data *pLocClientHandle = (locClientHandleType)pCallbackData; @@ -1810,10 +1888,6 @@ locClientStatusEnumType locClientOpen ( // set the client cookie pCallbackData->pClientCookie = (void *)pClientCookie; - LOC_LOGD("%s:%d]: returning handle = 0x%x, user_handle=0x%x, status = %d\n", - __func__, __LINE__, *pLocClientHandle, - pCallbackData->userHandle, status); - }while(0); if(eLOC_CLIENT_SUCCESS != status) @@ -1822,6 +1896,13 @@ locClientStatusEnumType locClientOpen ( LOC_LOGE("%s:%d]: Error! status = %d\n", __func__, __LINE__,status); } + else + { + LOC_LOGD("%s:%d]: returning handle = %p, user_handle=%p, status = %d\n", + __func__, __LINE__, *pLocClientHandle, + pCallbackData->userHandle, status); + } + return(status); } @@ -1838,6 +1919,8 @@ locClientStatusEnumType locClientOpen ( locClientStatusEnumType locClientClose( locClientHandleType* pLocClientHandle) { + // convert handle to callback data + locClientCallbackDataType *pCallbackData; qmi_client_error_type rc = QMI_NO_ERR; //No error if(NULL == pLocClientHandle) @@ -1849,15 +1932,12 @@ locClientStatusEnumType locClientClose( return(eLOC_CLIENT_FAILURE_INVALID_PARAMETER); } - // convert handle to callback data - locClientCallbackDataType *pCallbackData = - (locClientCallbackDataType *)(*pLocClientHandle); - - LOC_LOGV("%s:%d]:\n", __func__, __LINE__ ); + pCallbackData = (locClientCallbackDataType *)(*pLocClientHandle); // check the input handle for sanity if(NULL == pCallbackData || - NULL == pCallbackData->userHandle) + NULL == pCallbackData->userHandle || + pCallbackData != pCallbackData->pMe ) { // invalid handle LOC_LOGE("%s:%d]: invalid handle \n", @@ -1934,7 +2014,8 @@ locClientStatusEnumType locClientSendReq( // check the input handle for sanity if(NULL == pCallbackData || - NULL == pCallbackData->userHandle ) + NULL == pCallbackData->userHandle || + pCallbackData != pCallbackData->pMe ) { // did not find the handle in the client List LOC_LOGE("%s:%d]: invalid handle \n", diff --git a/loc_api/loc_api_v02/loc_api_v02_client.h b/loc_api/loc_api_v02/loc_api_v02_client.h index 0ce7a2e8..a49f1275 100644 --- a/loc_api/loc_api_v02/loc_api_v02_client.h +++ b/loc_api/loc_api_v02/loc_api_v02_client.h @@ -32,6 +32,7 @@ #ifndef LOC_API_V02_CLIENT_H #define LOC_API_V02_CLIENT_H + #ifdef __cplusplus extern "C" { #endif @@ -42,37 +43,34 @@ extern "C" { * DATA DECLARATION * *============================================================================*/ - -#include -#include "location_service_v02.h" //QMI LOC Service data types definitions #include +#include + +#include "location_service_v02.h" //QMI LOC Service data types definitions + #include /****************************************************************************** * Constants and configuration *****************************************************************************/ -/** @addtogroup constants_macros -@{ */ - -/** Specific value of #locClientHandleType, indicating an invalid handle. */ +/** @ingroup constants_macros + Specific value of #locClientHandleType, indicating an invalid handle. */ #define LOC_CLIENT_INVALID_HANDLE_VALUE (NULL) -/** @} */ /* end_addtogroup constants_macros */ /** @addtogroup data_types @{ */ /** Location client handle used to represent a specific client. Negative values - are invalid handles. */ + are invalid handles. +*/ typedef void* locClientHandleType; -/** Data type for events and event masks. - @newpage */ +/** Data type for events and event masks. */ typedef uint64_t locClientEventMaskType; /** Location client status values. - @vertspace */ typedef enum { @@ -116,29 +114,22 @@ typedef enum /**< Failed because the service has not been initialized. */ eLOC_CLIENT_FAILURE_NOT_ENOUGH_MEMORY = 13 - /**< Failed because not rnough memory to do the operation.*/ + /**< Failed because there is not enough memory to do the operation. */ }locClientStatusEnumType; -/** Loc Client error values +/** Location client error values */ - typedef enum { eLOC_CLIENT_ERROR_SERVICE_UNAVAILABLE = 1 - /**< Service is no longer available, the client should - close the existing connection and reopen the connection - upon getting this error. - */ + /**< Service is no longer available. Upon getting this error, the client + must close the existing connection and reopen the connection. */ + }locClientErrorEnumType; -/** @} */ /* end_addtogroup data_types */ - -/** @addtogroup send_request -@{ */ - -/** @brief Request messages the client can send to the location engine. +/** Request messages the client can send to the location engine. The following requests do not have any data associated, so they do not have a payload structure defined: @@ -159,6 +150,7 @@ typedef enum - GetExternalPowerConfig - GetSensorControlConfig - GetSensorPerformanceControlConfiguration + - WWANOutOfServiceNotification */ typedef union { @@ -310,9 +302,11 @@ typedef union QMI_LOC_DELETE_ASSIST_DATA_REQ_V02. */ const qmiLocSetXtraTSessionControlReqMsgT_v02* pSetXtraTSessionControlReq; - /**< Sets XTRA-T session control in the engine. If the request is accepted by - the service, the client receives the following indication containing a - response: QMI_LOC_SET_XTRA_T_SESSION_CONTROL_IND_V02. + /**< Sets XTRA-T session control in the engine. + + If the request is accepted by the service, the client receives the + following indication containing a response: + QMI_LOC_SET_XTRA_T_SESSION_CONTROL_IND_V02. To send this request, set the reqId field in locClientSendReq() to QMI_LOC_SET_XTRA_T_SESSION_CONTROL_REQ_V02. */ @@ -407,7 +401,7 @@ typedef union response indication for this request. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02.*/ + QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02. */ const qmiLocSetProtocolConfigParametersReqMsgT_v02* pSetProtocolConfigParametersReq; @@ -429,10 +423,9 @@ typedef union QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_IND_V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02. - @newpage */ + QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02. */ - const qmiLocSetSensorControlConfigReqMsgT_v02* + const qmiLocSetSensorControlConfigReqMsgT_v02* pSetSensorControlConfigReq; /**< Sets the sensor control configuration parameters in the engine. @@ -441,8 +434,7 @@ typedef union QMI_LOC_SET_SENSOR_CONTROL_CONFIG_IND_V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_SET_SENSOR_CONTROL_CONFIG_REQ_V02. - @newpage */ + QMI_LOC_SET_SENSOR_CONTROL_CONFIG_REQ_V02. */ const qmiLocSetSensorPerformanceControlConfigReqMsgT_v02* pSetSensorPerformanceControlConfigReq; @@ -453,8 +445,7 @@ typedef union QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02. - @newpage */ + QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02. */ const qmiLocGetSensorPropertiesReqMsgT_v02* pGetSensorPropertiesReq; /**< Retrieves the sensor properties from the engine. @@ -464,8 +455,7 @@ typedef union QMI_LOC_GET_SENSOR_PROPERTIES_IND_V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_GET_SENSOR_PROPERTIES_REQ_V02. - @newpage */ + QMI_LOC_GET_SENSOR_PROPERTIES_REQ_V02. */ const qmiLocSetSensorPropertiesReqMsgT_v02* pSetSensorPropertiesReq; /**< Sets the sensor properties in the engine. @@ -475,8 +465,7 @@ typedef union QMI_LOC_SET_SENSOR_PROPERTIES_IND_V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_SET_SENSOR_PROPERTIES_REQ_V02. - @newpage */ + QMI_LOC_SET_SENSOR_PROPERTIES_REQ_V02. */ const qmiLocInjectSuplCertificateReqMsgT_v02* pInjectSuplCertificateReq; /**< Injects a SUPL certificate into the engine. @@ -486,8 +475,7 @@ typedef union QMI_LOC_INJECT_SUPL_CERTIFICATE_IND_V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_INJECT_SUPL_CERTIFICATE_REQ_V02. - @newpage */ + QMI_LOC_INJECT_SUPL_CERTIFICATE_REQ_V02. */ const qmiLocDeleteSuplCertificateReqMsgT_v02* pDeleteSuplCertificateReq; /**< Deletes a SUPL certificate from the engine. @@ -497,78 +485,69 @@ typedef union QMI_LOC_DELETE_SUPL_CERTIFICATE_IND_V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_DELETE_SUPL_CERTIFICATE_REQ_V02. - @newpage */ + QMI_LOC_DELETE_SUPL_CERTIFICATE_REQ_V02. */ const qmiLocSetPositionEngineConfigParametersReqMsgT_v02* pSetPositionEngineConfigParametersReq; - /**< Sets Position Engine configuration. + /**< Sets position engine configuration. If the request is accepted by the service, the client receives the following indication containing a response: QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_IND _V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02. - @newpage */ + QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02. */ const qmiLocGetPositionEngineConfigParametersReqMsgT_v02* pGetPositionEngineConfigParametersReq; - /**< Gets Position Engine configuration. + /**< Gets position engine configuration. If the request is accepted by the service, the client receives the following indication containing a response: QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02. - @newpage */ + QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02. */ const qmiLocAddCircularGeofenceReqMsgT_v02* pAddCircularGeofenceReq; - /**< Adds a Circular Geofence. + /**< Adds a circular geofence. If the request is accepted by the service, the client receives the following indication containing a response: QMI_LOC_ADD_CIRCULAR_GEOFENCE_IND_V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_ADD_CIRCULAR_GEOFENCE_REQ_V02 - @newpage */ + QMI_LOC_ADD_CIRCULAR_GEOFENCE_REQ_V02 */ const qmiLocDeleteGeofenceReqMsgT_v02* pDeleteGeofenceReq; - /**< Deletes a Geofence. + /**< Deletes a geofence. If the request is accepted by the service, the client receives the following indication containing a response: QMI_LOC_DELETE_GEOFENCE_IND_V02. To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_DELETE_GEOFENCE_REQ_V02 - @newpage */ + QMI_LOC_DELETE_GEOFENCE_REQ_V02 */ const qmiLocQueryGeofenceReqMsgT_v02* pQueryGeofenceReq; - /**< Queries a Geofence. + /**< Queries a geofence. If the request is accepted by the service, the client receives the following indication containing a response: QMI_LOC_QUERY_GEOFENCE_IND_V02 To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_QUERY_GEOFENCE_REQ_V02 - - @newpage */ + QMI_LOC_QUERY_GEOFENCE_REQ_V02. */ const qmiLocEditGeofenceReqMsgT_v02* pEditGeofenceReq; - /**< Edits Geofence Parameters. + /**< Edits geofence parameters. If the request is accepted by the service, the client receives the following indication containing a response: QMI_LOC_EDIT_GEOFENCE_IND_V02 To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_EDIT_GEOFENCE_REQ_V02 - - @newpage */ + QMI_LOC_EDIT_GEOFENCE_REQ_V02. */ const qmiLocGetBestAvailablePositionReqMsgT_v02* pGetBestAvailablePositionReq; @@ -579,14 +558,52 @@ typedef union QMI_LOC_GET_BEST_AVAILABLE_POSITION_IND_V02 To send this request, set the reqId field in locClientSendReq() to - QMI_LOC_GET_BEST_AVAILABLE_POSITION_REQ_V02 + QMI_LOC_GET_BEST_AVAILABLE_POSITION_REQ_V02. @newpagetable */ - @newpage */ + const qmiLocInjectMotionDataReqMsgT_v02* pInjectMotionDataReq; + /**< Inject motion data in the location engine + If the request is accepted by the service, the client receives the + following indication containing a response: + QMI_LOC_INJECT_MOTION_DATA_IND_V02 + + To send this request, set the reqId field in locClientSendReq() to + QMI_LOC_INJECT_MOTION_DATA_REQ_V02 */ + + const qmiLocGetNiGeofenceIdListReqMsgT_v02* pGetNiGeofenceIdListReq; + /**< Get the list of Network Initiated Geofences from the location engine. + + If the request is accepted by the service, the client receives the + following indication containing a response: + QMI_LOC_GET_NI_GEOFENCE_ID_LIST_IND_V02 + + To send this request, set the reqId field in locClientSendReq() to + QMI_LOC_GET_NI_GEOFENCE_ID_LIST_REQ_V02 */ + + const qmiLocInjectGSMCellInfoReqMsgT_v02 *pInjectGSMCellInfoReq; + /**< Inject GSM Cell Information into the location engine. + If the request is accepted by the service, the client receives the + following indication containing a response: + QMI_LOC_INJECT_GSM_CELL_INFO_IND_V02 + + To send this request, set the reqId field in locClientSendReq() to + QMI_LOC_INJECT_GSM_CELL_INFO_REQ_V02 */ + + const qmiLocInjectNetworkInitiatedMessageReqMsgT_v02 + *pInjectNetworkInitiatedMessageReq; + /**< Inject Network Initiated Message into the location engine. + If the request is accepted by the service, the client receives the + following indication containing a response: + QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_IND_V02 + + To send this request, set the reqId field in locClientSendReq() to + QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_REQ_V02 */ + + const void *pWWANOutOfServiceNotificationReq; }locClientReqUnionType; -/** @brief Event indications that are sent by the service. +/** Event indications that are sent by the service. */ typedef union { @@ -612,21 +629,22 @@ typedef union QMI_LOC_EVENT_GNSS_INFO_IND_V02. */ const qmiLocEventNmeaIndMsgT_v02* pNmeaReportEvent; - /**< Contains an NMEA report sentence. The entire NMEA report consisting - of multiple sentences is sent at a 1Hz rate. - This event is generated after QMI_LOC_START_REQ_V02 is sent. + /**< Contains an NMEA report sentence. + + The entire NMEA report consisting of multiple sentences is sent at a + 1 Hz rate. This event is generated after QMI_LOC_START_REQ_V02 is sent. The eventIndId field in the event indication callback is set to QMI_LOC_EVENT_NMEA_IND_V02. */ const qmiLocEventNiNotifyVerifyReqIndMsgT_v02* pNiNotifyVerifyReqEvent; - /**< Notifies a location client when the network triggers a positioning request - to the mobile. + /**< Notifies a location client when the network triggers a positioning + request to the mobile. Upon getting this event, the location client displays the - network-initiated fix request in a dialog and prompts the user to accept - or deny the request. The client responds to this request with the message - QMI_LOC_NI_USER_RESPONSE_REQ_V02. + network-initiated fix request in a dialog and prompts the user to + accept or deny the request. The client responds to this request with + the message QMI_LOC_NI_USER_RESPONSE_REQ_V02. The eventIndId field in the event indication callback is set to QMI_LOC_EVENT_NI_NOTIFY_VERIFY_REQ_IND_V02. */ @@ -708,54 +726,51 @@ typedef union QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02 message. The eventIndId field in the event indication callback is set to - QMI_LOC_EVENT_LOCATION_SERVER_CONNECTION_REQ_IND_V02. - @newpage */ + QMI_LOC_EVENT_LOCATION_SERVER_CONNECTION_REQ_IND_V02. */ const qmiLocEventNiGeofenceNotificationIndMsgT_v02* pNiGeofenceNotificationEvent; /**< Sent by the engine to notify the client about changes to a - Network Initiated Geofence. + network-initiated geofence. The eventIndId field in the event indication callback is set to - QMI_LOC_EVENT_NI_GEOFENCE_NOTIFICATION_IND_V02. - @newpage */ + QMI_LOC_EVENT_NI_GEOFENCE_NOTIFICATION_IND_V02. */ const qmiLocEventGeofenceGenAlertIndMsgT_v02* pGeofenceGenAlertEvent; /**< Sent by the engine to notify the client about updates that may - affect a Geofence operation. + affect a geofence operation. The eventIndId field in the event indication callback is set to - QMI_LOC_EVENT_GEOFENCE_GEN_ALERT_IND_V02. - @newpage */ + QMI_LOC_EVENT_GEOFENCE_GEN_ALERT_IND_V02. */ const qmiLocEventGeofenceBreachIndMsgT_v02* pGeofenceBreachEvent; - /**< Sent by the engine to notify the client about a Geofence Breach - Event. + /**< Sent by the engine to notify the client about a geofence breach + event. The eventIndId field in the event indication callback is set to - QMI_LOC_EVENT_GEOFENCE_BREACH_NOTIFICATION_IND_V02. - @newpage */ + QMI_LOC_EVENT_GEOFENCE_BREACH_NOTIFICATION_IND_V02. @newpagetable */ }locClientEventIndUnionType; -/** @brief Response indications that are sent by the service. */ +/** Response indications that are sent by the service. +*/ typedef union { const qmiLocGetServiceRevisionIndMsgT_v02* pGetServiceRevisionInd; - /**< Response to the request, QMI_LOC_GET_SERVICE_REVISION_REQ_V02. + /**< Response to the QMI_LOC_GET_SERVICE_REVISION_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_SERVICE_REVISION_IND_V02. */ const qmiLocGetFixCriteriaIndMsgT_v02* pGetFixCriteriaInd; - /**< Response to the request, QMI_LOC_GET_FIX_CRITERIA_REQ_V02. + /**< Response to the QMI_LOC_GET_FIX_CRITERIA_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_FIX_CRITERIA_IND_V02. */ const qmiLocNiUserRespIndMsgT_v02* pNiUserRespInd; - /**< Response to the request, QMI_LOC_NI_USER_RESPONSE_REQ_V02. + /**< Response to the QMI_LOC_NI_USER_RESPONSE_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_NI_USER_RESPONSE_IND_V02. */ @@ -773,332 +788,351 @@ typedef union const qmiLocGetPredictedOrbitsDataSourceIndMsgT_v02* pGetPredictedOrbitsDataSourceInd; - /**< Response to the request, - QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_REQ_V02. + /**< Response to the QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_REQ_V02 + request. The respIndId field in the response indication callback is set to QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_IND_V02. */ const qmiLocGetPredictedOrbitsDataValidityIndMsgT_v02* pGetPredictedOrbitsDataValidityInd; - /**< Response to the request, - QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_REQ_V02. + /**< Response to the QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_REQ_V02 + request. The respIndId field in the response indication callback is set to QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_IND_V02. */ const qmiLocInjectUtcTimeIndMsgT_v02* pInjectUtcTimeInd; - /**< Response to the request, QMI_LOC_INJECT_UTC_TIME_REQ_V02. + /**< Response to the QMI_LOC_INJECT_UTC_TIME_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_INJECT_UTC_TIME_IND_V02. */ const qmiLocInjectPositionIndMsgT_v02* pInjectPositionInd; - /**< Response to the request, QMI_LOC_INJECT_POSITION_REQ_V02. + /**< Response to the QMI_LOC_INJECT_POSITION_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_INJECT_POSITION_IND_V02. */ const qmiLocSetEngineLockIndMsgT_v02* pSetEngineLockInd; - /**< Response to the request, QMI_LOC_SET_ENGINE_LOCK_REQ_V02. + /**< Response to the QMI_LOC_SET_ENGINE_LOCK_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_ENGINE_LOCK_IND_V02. */ const qmiLocGetEngineLockIndMsgT_v02* pGetEngineLockInd; - /**< Response to the request, QMI_LOC_GET_ENGINE_LOCK_REQ_V02. + /**< Response to the QMI_LOC_GET_ENGINE_LOCK_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_ENGINE_LOCK_IND_V02. */ const qmiLocSetSbasConfigIndMsgT_v02* pSetSbasConfigInd; - /**< Response to the request, QMI_LOC_SET_SBAS_CONFIG_REQ_V02. + /**< Response to the QMI_LOC_SET_SBAS_CONFIG_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_SBAS_CONFIG_IND_V02. */ const qmiLocGetSbasConfigIndMsgT_v02* pGetSbasConfigInd; - /**< Response to the request, QMI_LOC_GET_SBAS_CONFIG_REQ_V02. + /**< Response to the QMI_LOC_GET_SBAS_CONFIG_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_SBAS_CONFIG_IND_V02. */ const qmiLocSetNmeaTypesIndMsgT_v02* pSetNmeaTypesInd; - /**< Response to the request, QMI_LOC_SET_NMEA_TYPES_REQ_V02. + /**< Response to the QMI_LOC_SET_NMEA_TYPES_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_NMEA_TYPES_IND_V02. */ const qmiLocGetNmeaTypesIndMsgT_v02* pGetNmeaTypesInd; - /**< Response to the request, QMI_LOC_GET_NMEA_TYPES_REQ_V02. + /**< Response to the QMI_LOC_GET_NMEA_TYPES_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_NMEA_TYPES_IND_V02. */ const qmiLocSetLowPowerModeIndMsgT_v02* pSetLowPowerModeInd; - /**< Response to the request, QMI_LOC_SET_LOW_POWER_MODE_REQ_V02. + /**< Response to the QMI_LOC_SET_LOW_POWER_MODE_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_LOW_POWER_MODE_IND_V02. */ const qmiLocGetLowPowerModeIndMsgT_v02* pGetLowPowerModeInd; - /**< Response to the request, QMI_LOC_GET_LOW_POWER_MODE_REQ_V02. + /**< Response to the QMI_LOC_GET_LOW_POWER_MODE_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_LOW_POWER_MODE_IND_V02. */ const qmiLocSetServerIndMsgT_v02* pSetServerInd; - /**< Response to the request, QMI_LOC_SET_SERVER_REQ_V02. + /**< Response to the QMI_LOC_SET_SERVER_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_SERVER_IND_V02. */ const qmiLocGetServerIndMsgT_v02* pGetServerInd; - /**< Response to the request, QMI_LOC_GET_SERVER_REQ_V02. + /**< Response to the QMI_LOC_GET_SERVER_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_SERVER_IND_V02. */ const qmiLocDeleteAssistDataIndMsgT_v02* pDeleteAssistDataInd; - /**< Response to the request, QMI_LOC_DELETE_ASSIST_DATA_REQ_V02. + /**< Response to the QMI_LOC_DELETE_ASSIST_DATA_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_DELETE_ASSIST_DATA_IND_V02. */ const qmiLocSetXtraTSessionControlIndMsgT_v02* pSetXtraTSessionControlInd; - /**< Response to the request, QMI_LOC_SET_XTRA_T_SESSION_CONTROL_REQ_V02. + /**< Response to the QMI_LOC_SET_XTRA_T_SESSION_CONTROL_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_XTRA_T_SESSION_CONTROL_IND_V02. */ const qmiLocGetXtraTSessionControlIndMsgT_v02* pGetXtraTSessionControlInd; - /**< Response to the request, QMI_LOC_GET_XTRA_T_SESSION_CONTROL_REQ_V02. + /**< Response to the QMI_LOC_GET_XTRA_T_SESSION_CONTROL_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_XTRA_T_SESSION_CONTROL_IND_V02. */ const qmiLocInjectWifiPositionIndMsgT_v02* pInjectWifiPositionInd; - /**< Response to the request, QMI_LOC_INJECT_WIFI_POSITION_REQ_V02. + /**< Response to the QMI_LOC_INJECT_WIFI_POSITION_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_INJECT_WIFI_POSITION_IND_V02. */ const qmiLocNotifyWifiStatusIndMsgT_v02* pNotifyWifiStatusInd; - /**< Response to the request, QMI_LOC_NOTIFY_WIFI_STATUS_REQ_V02. + /**< Response to the QMI_LOC_NOTIFY_WIFI_STATUS_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_NOTIFY_WIFI_STATUS_IND_V02. */ const qmiLocGetRegisteredEventsIndMsgT_v02* pGetRegisteredEventsInd; - /**< Response to the request, QMI_LOC_GET_REGISTERED_EVENTS_REQ_V02. + /**< Response to the QMI_LOC_GET_REGISTERED_EVENTS_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_REGISTERED_EVENTS_IND_V02. */ const qmiLocSetOperationModeIndMsgT_v02* pSetOperationModeInd; - /**< Response to the request, QMI_LOC_SET_OPERATION_MODE_REQ_V02. + /**< Response to the QMI_LOC_SET_OPERATION_MODE_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_OPERATION_MODE_IND_V02. */ const qmiLocGetOperationModeIndMsgT_v02* pGetOperationModeInd; - /**< Response to the request, QMI_LOC_GET_OPERATION_MODE_REQ_V02. + /**< Response to the QMI_LOC_GET_OPERATION_MODE_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_OPERATION_MODE_IND_V02. */ const qmiLocSetSpiStatusIndMsgT_v02* pSetSpiStatusInd; - /**< Response to the request, QMI_LOC_SET_SPI_STATUS_REQ_V02. + /**< Response to the QMI_LOC_SET_SPI_STATUS_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_SPI_STATUS_IND_V02. */ const qmiLocInjectSensorDataIndMsgT_v02* pInjectSensorDataInd; - /**< Response to the request, QMI_LOC_INJECT_SENSOR_DATA_REQ_V02. + /**< Response to the QMI_LOC_INJECT_SENSOR_DATA_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_INJECT_SENSOR_DATA_IND_V02. */ const qmiLocInjectTimeSyncDataIndMsgT_v02* pInjectTimeSyncDataInd; - /**< Response to the request, QMI_LOC_INJECT_TIME_SYNC_DATA_REQ_V02. + /**< Response to the QMI_LOC_INJECT_TIME_SYNC_DATA_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_INJECT_TIME_SYNC_DATA_IND_V02. */ const qmiLocSetCradleMountConfigIndMsgT_v02* pSetCradleMountConfigInd; - /**< Response to the request, QMI_LOC_SET_CRADLE_MOUNT_CONFIG_IND_V02. + /**< Response to the QMI_LOC_SET_CRADLE_MOUNT_CONFIG_IND_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_CRADLE_MOUNT_CONFIG_REQ_V02. */ const qmiLocGetCradleMountConfigIndMsgT_v02* pGetCradleMountConfigInd; - /**< Response to the request, QMI_LOC_GET_CRADLE_MOUNT_CONFIG_REQ_V02. + /**< Response to the QMI_LOC_GET_CRADLE_MOUNT_CONFIG_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_CRADLE_MOUNT_CONFIG_IND_V02. */ const qmiLocSetExternalPowerConfigIndMsgT_v02* pSetExternalPowerConfigInd; - /**< Response to the request, QMI_LOC_SET_EXTERNAL_POWER_CONFIG_REQ_V02. + /**< Response to the QMI_LOC_SET_EXTERNAL_POWER_CONFIG_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_EXTERNAL_POWER_CONFIG_IND_V02. */ const qmiLocGetExternalPowerConfigIndMsgT_v02* pGetExternalPowerConfigInd; - /**< Response to the request, QMI_LOC_GET_EXTERNAL_POWER_CONFIG_REQ_V02. + /**< Response to the QMI_LOC_GET_EXTERNAL_POWER_CONFIG_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_EXTERNAL_POWER_CONFIG_IND_V02. */ const qmiLocInformLocationServerConnStatusIndMsgT_v02* pInformLocationServerConnStatusInd; - /**< Response to the request, - QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02. + /**< Response to the QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02 + request. The respIndId field in the response indication callback is set to QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_IND_V02.*/ const qmiLocSetProtocolConfigParametersIndMsgT_v02* pSetProtocolConfigParametersInd; - /**< Response to the request, - QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02. + /**< Response to the QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_IND_V02. */ const qmiLocGetProtocolConfigParametersIndMsgT_v02* pGetProtocolConfigParametersInd; - /**< Response to the request, - QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02. + /**< Response to the QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02 request. The respIndId field in the response indication callback is set to - QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_IND_V02. - @newpage */ + QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_IND_V02. */ const qmiLocSetSensorControlConfigIndMsgT_v02* pSetSensorControlConfigInd; - /**< Response to the request, - QMI_LOC_SET_SENSOR_CONTROL_CONFIG_REQ_V02. + /**< Response to the QMI_LOC_SET_SENSOR_CONTROL_CONFIG_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_SENSOR_CONTROL_CONFIG_IND_V02. - @newpage */ + */ const qmiLocGetSensorControlConfigIndMsgT_v02* pGetSensorControlConfigInd; - /**< Response to the request, - QMI_LOC_GET_SENSOR_CONTROL_CONFIG_REQ_V02. + /**< Response to the QMI_LOC_GET_SENSOR_CONTROL_CONFIG_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_SENSOR_CONTROL_CONFIG_IND_V02. - @newpage */ + */ const qmiLocSetSensorPropertiesIndMsgT_v02* pSetSensorPropertiesInd; - /**< Response to the request, - QMI_LOC_SET_SENSOR_PROPERTIES_REQ_V02. + /**< Response to the QMI_LOC_SET_SENSOR_PROPERTIES_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_SET_SENSOR_PROPERTIES_IND_V02. - @newpage */ + */ const qmiLocGetSensorPropertiesIndMsgT_v02* pGetSensorPropertiesInd; - /**< Response to the request, - QMI_LOC_GET_SENSOR_PROPERTIES_REQ_V02. + /**< Response to the QMI_LOC_GET_SENSOR_PROPERTIES_REQ_V02 request. The respIndId field in the response indication callback is set to QMI_LOC_GET_SENSOR_PROPERTIES_IND_V02. - @newpage */ + */ const qmiLocSetSensorPerformanceControlConfigIndMsgT_v02* pSetSensorPerformanceControlConfigInd; - /**< Response to the request, - QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02. + /**< Response to the + QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02 request. The respIndId field in the response indication callback is set to - QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02. - @newpage */ + QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02. */ const qmiLocGetSensorPerformanceControlConfigIndMsgT_v02* pGetSensorPerformanceControlConfigInd; - /**< Response to the request, - QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02. + /**< Response to the + QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02 request. The respIndId field in the response indication callback is set to - QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02. - @newpage */ + QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02. */ const qmiLocInjectSuplCertificateIndMsgT_v02* pInjectSuplCertificateInd; - /**< Response to the request, - QMI_LOC_INJECT_SUPL_CERTIFICATE_REQ_V02 + /**< Response to the QMI_LOC_INJECT_SUPL_CERTIFICATE_REQ_V02 request. + The respIndId field in the response indication callback is set to - QMI_LOC_INJECT_SUPL_CERTIFICATE_IND_V02. - @newpage */ + QMI_LOC_INJECT_SUPL_CERTIFICATE_IND_V02. */ const qmiLocDeleteSuplCertificateIndMsgT_v02* pDeleteSuplCertificateInd; - /**< Response to the request, - QMI_LOC_DELETE_SUPL_CERTIFICATE_REQ_V02. + /**< Response to the QMI_LOC_DELETE_SUPL_CERTIFICATE_REQ_V02 request. + The respIndId field in the response indication callback is set to - QMI_LOC_DELETE_SUPL_CERTIFICATE_IND_V02. - @newpage */ + QMI_LOC_DELETE_SUPL_CERTIFICATE_IND_V02. */ const qmiLocSetPositionEngineConfigParametersIndMsgT_v02* pSetPositionEngineConfigParametersInd; - /**< Response to the request, - QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02 + /**< Response to the QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02 + request. + The respIndId field in the response indication callback is set to - QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02. - @newpage */ + QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02. */ const qmiLocGetPositionEngineConfigParametersIndMsgT_v02* pGetPositionEngineConfigParametersInd; - /**< Response to the request, - QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02 - The respIndId field in the response indication callback is set to - QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02. - @newpage */ + /**< Response to the QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02 + request. + + The respIndId field in the response indication callback is set to + QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02. */ const qmiLocAddCircularGeofenceIndMsgT_v02* pAddCircularGeofenceInd; - /**< Response to the request, - QMI_LOC_ADD_CIRCULAR_GEOFENCE_REQ_V02 + /**< Response to the QMI_LOC_ADD_CIRCULAR_GEOFENCE_REQ_V02 request. + The respIndId field in the response indication callback is set to - QMI_LOC_ADD_CIRCULAR_GEOFENCE_IND_V02 - @newpage */ + QMI_LOC_ADD_CIRCULAR_GEOFENCE_IND_V02. */ const qmiLocDeleteGeofenceIndMsgT_v02* pDeleteGeofenceInd; - /**< Response to the request, - QMI_LOC_DELETE_GEOFENCE_REQ_V02 + /**< Response to the QMI_LOC_DELETE_GEOFENCE_REQ_V02 request. + The respIndId field in the response indication callback is set to - QMI_LOC_DELETE_GEOFENCE_IND_V02 - @newpage */ + QMI_LOC_DELETE_GEOFENCE_IND_V02. */ const qmiLocQueryGeofenceIndMsgT_v02* pQueryGeofenceInd; - /**< Response to the request, - QMI_LOC_QUERY_GEOFENCE_REQ_V02 - The respIndId field in the response indication callback is set to - QMI_LOC_QUERY_GEOFENCE_IND_V02 - @newpage */ + /**< Response to the QMI_LOC_QUERY_GEOFENCE_REQ_V02 request. - const qmiLocEditGeofenceIndMsgT_v02* pEditGeofenceInd; - /**< Response to the request, - QMI_LOC_EDIT_GEOFENCE_REQ_V02 - The respIndId field in the response indication callback is set to - QMI_LOC_EDIT_GEOFENCE_IND_V02 - @newpage */ + The respIndId field in the response indication callback is set to + QMI_LOC_QUERY_GEOFENCE_IND_V02. */ - const qmiLocGetBestAvailablePositionIndMsgT_v02* + const qmiLocEditGeofenceIndMsgT_v02* pEditGeofenceInd; + /**< Response to the QMI_LOC_EDIT_GEOFENCE_REQ_V02 request. + + The respIndId field in the response indication callback is set to + QMI_LOC_EDIT_GEOFENCE_IND_V02. */ + + const qmiLocGetBestAvailablePositionIndMsgT_v02* pGetBestAvailablePositionInd; - /**< Response to the request, - QMI_LOC_GET_BEST_AVAILABLE_POSITION_REQ_V02 + /**< Response to the QMI_LOC_GET_BEST_AVAILABLE_POSITION_REQ_V02 request. + The respIndId field in the response indication callback is set to - QMI_LOC_GET_BEST_AVAILABLE_POSITION_IND_V02 - @newpage */ + QMI_LOC_GET_BEST_AVAILABLE_POSITION_IND_V02. */ + + const qmiLocInjectMotionDataIndMsgT_v02* pInjectMotionDataInd; + /**< Response to the QMI_LOC_INJECT_MOTION_DATA_REQ_V02 request. + + The respIndId field in the response indication callback is set to + QMI_LOC_INJECT_MOTION_DATA_IND_V02. */ + + const qmiLocGetNiGeofenceIdListIndMsgT_v02* pGetNiGeofenceIdListInd; + /**< Response to the QMI_LOC_GET_NI_GEOFENCE_ID_LIST_REQ_V02 request. + + The respIndId field in the response indication callback is set to + QMI_LOC_GET_NI_GEOFENCE_ID_LIST_IND_V02. */ + + const qmiLocInjectGSMCellInfoIndMsgT_v02* pInjectGSMCellInfoInd; + /**< Response to the QMI_LOC_INJECT_GSM_CELL_INFO_REQ_V02 request. + + The respIndId field in the response indication callback is set to + QMI_LOC_INJECT_GSM_CELL_INFO_IND_V02. */ + + const qmiLocInjectNetworkInitiatedMessageIndMsgT_v02* + pInjectNetworkInitiatedMessageInd; + + /**< Response to the QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_REQ_V02 + request. + + The respIndId field in the response indication callback is set to + QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_IND_V02. */ + + const qmiLocWWANOutOfServiceNotificationIndMsgT_v02* + pWWANOutOfServiceNotificationInd; + + /**< Response to the QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_REQ_V02 + request. + The respIndId field in the response indication callback is set to + QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_IND_V02. */ }locClientRespIndUnionType; -/** @} */ /* end_addtogroup send_request */ +/** @} */ /* end_addtogroup data_types */ -/** @addtogroup data_types +/** @addtogroup callback_functions @{ */ - -/** Location event indication callback function type. The Location service can - generate two types of indications: +/** + Location event indication callback function type. The Location service can + generate two types of indications: - Asynchronous events indications, such as time injection request and satellite reports. The client specifies the asynchronous events it is interested in @@ -1109,7 +1143,10 @@ typedef union This callback handles the asynchronous event indications. - @vertspace + @datatypes + #locClientHandleType \n + #locClientEventIndUnionType + @param handle Location client for this event. Only the client who registered for the corresponding event receives this callback. @@ -1117,6 +1154,12 @@ typedef union @param eventIndPayload Event indication payload. @param pClientCookie Pointer to the cookie the client specified during registration. + + @return + None. + + @dependencies + None. @newpage */ typedef void (*locClientEventIndCbType)( locClientHandleType handle, @@ -1125,8 +1168,9 @@ typedef void (*locClientEventIndCbType)( void *pClientCookie ); -/** Location response indication callback function type. The Location service can - generate two types of indications: +/** + Location response indication callback function type. The Location service can + generate two types of indications: - Asynchronous events indications, such as time injection request and satellite reports. The client specifies the asynchronous events it is interested in @@ -1137,7 +1181,10 @@ typedef void (*locClientEventIndCbType)( This callback handles the response indications. - @vertspace + @datatypes + #locClientHandleType \n + #locClientRespIndUnionType + @param handle Location client who sent the request for which this response indication is generated. @param respIndId ID of the response. It is the same value as the ID @@ -1146,7 +1193,11 @@ typedef void (*locClientEventIndCbType)( @param pClientCookie Pointer to the cookie the client specified during registration. - @newpage + @return + None. + + @dependencies + None. @newpage */ typedef void (*locClientRespIndCbType)( locClientHandleType handle, @@ -1155,84 +1206,84 @@ typedef void (*locClientRespIndCbType)( void *pClientCookie ); -/** Location error callback function type. This function will be - called to inform the client that the service is no longer - available. When the client receives this callback it must - close the existing connection and reopen the client connection. +/** + Location error callback function type. This function is called to inform + the client that the service is no longer available. When the client + receives this callback, it must close the existing connection and reopen + the client connection. + @datatypes + #locClientHandleType \n + #locClientErrorEnumType - @vertspace @param handle Location client who sent the request for which this error indication is generated. @param errorId Error ID. - @param errorCbdata Payload associated with the error indication. + @param pClientCookie Payload associated with the error indication. - @newpage + @return + None. + + @dependencies + None. */ typedef void (*locClientErrorCbType)( locClientHandleType handle, locClientErrorEnumType errorId, void* pClientCookie ); +/** @} */ /* end_addtogroup callback_functions */ -/** Callback functions to be registered during locClientOpen +/** @ingroup data_types + Callback functions to be registered during locClientOpen(). */ - typedef struct { - uint32_t size; - /**< Size of the structure */ - locClientEventIndCbType eventIndCb; - /**< Event Indication callback */ - locClientRespIndCbType respIndCb; - /**< Response Indication callback */ - locClientErrorCbType errorCb; - /**< Error Indication callback */ + uint32_t size; /**< Size of the structure. */ + locClientEventIndCbType eventIndCb; /**< Event indication callback. */ + locClientRespIndCbType respIndCb; /**< Response indication callback. */ + locClientErrorCbType errorCb; /**< Error indication callback. + @newpagetable */ }locClientCallbacksType; -/** @} */ /* end_addtogroup data_types */ /*=========================================================================== * * FUNCTION DECLARATION * *==========================================================================*/ - -/** @addtogroup open_client +/** @addtogroup operation_functions @{ */ /*========================================================================== locClientOpen */ -/** - @latexonly\label{hdr:locClientOpenFunction}@endlatexonly Connects a location - client to the location engine. If the connection is successful, this function - returns a handle that the location client uses for future location operations. +/** @xreflabel{hdr:locClientOpenFunction} + Connects a location client to the location engine. If the connection is + successful, this function returns a handle that the location client uses for + future location operations. - @datatype - #locClientStatusEnumType\n - #locClientEventMaskType\n - #locClientCallbacksType *\n - #locClientHandleType *\n - #void * + @datatypes + #locClientStatusEnumType \n + #locClientEventMaskType \n + #locClientCallbacksType \n + #locClientHandleType - @vertspace @param[in] eventRegMask Mask of asynchronous events the client is interested in receiving. @param[in] pLocClientCallbacks Pointer to structure containing the callbacks. @param[out] pLocClientHandle Pointer to the handle to be used by the client for any subsequent requests. - @param[in] pLocClientCookie Pointer to a "cookie" to be returned to the + @param[in] pLocClientCookie Pointer to a cookie to be returned to the client along with the callbacks. @return One of the following error codes: - eLOC_CLIENT_SUCCESS -- If the connection is opened. - - Non-zero error code (see \ref locClientStatusEnumType) -- On failure. + - Non-zero error code (see #locClientStatusEnumType) -- On failure. @dependencies - None. - @newpage + None. @newpage */ extern locClientStatusEnumType locClientOpen ( locClientEventMaskType eventRegMask, @@ -1241,22 +1292,17 @@ extern locClientStatusEnumType locClientOpen ( const void* pLocClientCookie ); -/** @} */ /* end_addtogroup open_client */ -/** @addtogroup close_client -@{ */ /*========================================================================== locClientClose */ -/** - @latexonly\label{hdr:locClientCloseFunction}@endlatexonly Disconnects a client - from the location engine and sets the handle to +/** @xreflabel{hdr:locClientCloseFunction} + Disconnects a client from the location engine and sets the handle to LOC_CLIENT_INVALID_HANDLE_VALUE. - @datatype - #locClientStatusEnumType\n + @datatypes + #locClientStatusEnumType \n #locClientHandleType - @vertspace @param[in] pLocClientHandle Pointer to the handle returned by the locClientOpen() function. @@ -1266,38 +1312,32 @@ extern locClientStatusEnumType locClientOpen ( - Non-zero error code (see \ref locClientStatusEnumType) -- On failure. @dependencies - None. - @newpage + None. @newpage */ extern locClientStatusEnumType locClientClose ( locClientHandleType* pLocClientHandle ); -/** @} */ /* end_addtogroup close_client */ - -/** @addtogroup send_request -@{ */ /*============================================================================= locClientSendReq */ -/** - @latexonly\label{hdr:locClientSendReqFunction}@endlatexonly Sends a message to - the location engine. If this function is successful, the client expects an - indication (except start, stop, event registration, and sensor injection - messages) through the registered callback in the locClientOpen() function. +/** @xreflabel{hdr:locClientSendReqFunction} + Sends a message to the location engine. If this function is successful, the + client expects an indication (except start, stop, event registration, and + sensor injection messages) through the registered callback in the + locClientOpen() function. The indication contains the status of the request. If the status is a success, the indication also contains the payload associated with response. - @datatype - #locClientStatusEnumType\n - #locClientHandleType\n + @datatypes + #locClientStatusEnumType \n + #locClientHandleType \n #locClientReqUnionType - @vertspace @param[in] handle Handle returned by the locClientOpen() function. @param[in] reqId QMI_LOC service message ID of the request. - @param[in] pReqPayload Payload of the request. This can be NULL if the request - has no payload. + @param[in] reqPayload Payload of the request. This can be NULL if the + request has no payload. @return One of the following error codes: @@ -1305,11 +1345,7 @@ extern locClientStatusEnumType locClientClose ( - Non-zero error code (see \ref locClientStatusEnumType) -- On failure. @dependencies - None. - - @structure - locClientReqUnionType - @newpage + None. @newpage */ extern locClientStatusEnumType locClientSendReq( locClientHandleType handle, @@ -1317,72 +1353,46 @@ extern locClientStatusEnumType locClientSendReq( locClientReqUnionType reqPayload ); -/** @} */ /* end_addtogroup send_request */ -/** @addtogroup get_size_event -@{ */ /*============================================================================= locClientGetSizeByEventIndId */ -/** - Gets the size of the event indication structure from a specified ID. +/** Gets the size of the event indication structure from a specified ID. - @datatype - #locClientGetSizeByEventIndId - - @vertspace @param[in] eventIndId Event indicator ID. @param[out] pEventIndSize Pointer to the size of the structure. @return - true -- The event ID was found.\n - false -- Otherwise. + TRUE -- The event ID was found. \n + FALSE -- Otherwise. @dependencies - None. - - @structure - locClientEventIndUnionType - @newpage + None. @newpage */ extern bool locClientGetSizeByEventIndId( uint32_t eventIndId, size_t *pEventIndSize); -/** @} */ /* end_addtogroup get_size_event */ -/** @addtogroup get_size_response -@{ */ /*============================================================================= locClientGetSizeByRespIndId */ +/** Gets the size of the response indication structure from a specified ID. -/** - Gets the size of the response indication structure from a specified ID. - - @datatype - #locClientGetSizeByRespIndId - - @vertspace @param[in] respIndId Response indicator ID. @param[out] pRespIndSize Pointer to the size of the structure. @return - true -- The response ID was found.\n - false -- Otherwise. + TRUE -- The response ID was found. \n + FALSE -- Otherwise. @dependencies None. - - @structure - locClientRespIndUnionType - @newpage */ extern bool locClientGetSizeByRespIndId( uint32_t respIndId, size_t *pRespIndSize); /*=============================================================================*/ - -/** @} */ /* end_addtogroup get_size_response */ +/** @} */ /* end_addtogroup operation_functions */ #ifdef __cplusplus } diff --git a/loc_api/loc_api_v02/location_service_v02.c b/loc_api/loc_api_v02/location_service_v02.c index e1bf6f55..f1e1b6db 100644 --- a/loc_api/loc_api_v02/location_service_v02.c +++ b/loc_api/loc_api_v02/location_service_v02.c @@ -33,7 +33,14 @@ GENERAL DESCRIPTION This is the file which defines the loc service Data structures. -*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/ + *====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/ +/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* + *THIS IS AN AUTO GENERATED FILE. DO NOT ALTER IN ANY WAY + *====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/ + +/* This file was generated with Tool version 5.5 + It was generated on: Thu Sep 20 2012 + From IDL File: location_service_v02.idl */ #include "stdint.h" #include "qmi_idl_lib_internal.h" @@ -320,6 +327,19 @@ static const uint8_t qmiLocNiVxServiceInteractionStructT_data_v02[] = { QMI_IDL_FLAG_END_VALUE }; +static const uint8_t qmiLocNiSuplVer2ExtStructT_data_v02[] = { + QMI_IDL_GENERIC_2_BYTE, + QMI_IDL_OFFSET8(qmiLocNiSuplVer2ExtStructT_v02, supportedNetworksMask), + + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocNiSuplVer2ExtStructT_v02, triggerType), + + QMI_IDL_GENERIC_2_BYTE, + QMI_IDL_OFFSET8(qmiLocNiSuplVer2ExtStructT_v02, gnssType), + + 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), @@ -336,7 +356,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), - 15, 0, + 16, 0, QMI_IDL_FLAG_END_VALUE }; @@ -355,7 +375,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), - 15, 0, + 16, 0, QMI_IDL_FLAG_END_VALUE }; @@ -375,7 +395,7 @@ static const uint8_t qmiLocSensorReadyStatusStructT_data_v02[] = { QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSensorReadyStatusStructT_v02, dataFrequency), - 19, 0, + 20, 0, QMI_IDL_FLAG_END_VALUE }; @@ -537,7 +557,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), - 28, 0, + 29, 0, QMI_IDL_FLAG_END_VALUE }; @@ -565,19 +585,6 @@ static const uint8_t qmiLocCircularGeofenceArgsStructT_data_v02[] = { QMI_IDL_FLAG_END_VALUE }; -static const uint8_t qmiLocNiSuplVer2ExtStructT_data_v02[] = { - QMI_IDL_GENERIC_2_BYTE, - QMI_IDL_OFFSET8(qmiLocNiSuplVer2ExtStructT_v02, supportedNetworksMask), - - QMI_IDL_GENERIC_4_BYTE, - QMI_IDL_OFFSET8(qmiLocNiSuplVer2ExtStructT_v02, triggerType), - - QMI_IDL_GENERIC_2_BYTE, - QMI_IDL_OFFSET8(qmiLocNiSuplVer2ExtStructT_v02, gnssType), - - QMI_IDL_FLAG_END_VALUE -}; - static const uint8_t qmiLocMotionDataStructT_data_v02[] = { QMI_IDL_GENERIC_4_BYTE, QMI_IDL_OFFSET8(qmiLocMotionDataStructT_v02, motion_state), @@ -597,6 +604,22 @@ static const uint8_t qmiLocMotionDataStructT_data_v02[] = { QMI_IDL_FLAG_END_VALUE }; +static const uint8_t qmiLocGSMCellIdStructT_data_v02[] = { + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocGSMCellIdStructT_v02, MCC), + + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocGSMCellIdStructT_v02, MNC), + + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocGSMCellIdStructT_v02, LAC), + + QMI_IDL_GENERIC_4_BYTE, + QMI_IDL_OFFSET8(qmiLocGSMCellIdStructT_v02, CID), + + QMI_IDL_FLAG_END_VALUE +}; + /*Message Definitions*/ static const uint8_t qmiLocGenRespMsgT_data_v02[] = { QMI_IDL_TLV_FLAGS_LAST_TLV | 0x02, @@ -869,7 +892,7 @@ static const uint8_t qmiLocEventNiNotifyVerifyReqIndMsgT_data_v02[] = { 0x14, QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_AGGREGATE, QMI_IDL_OFFSET16ARRAY(qmiLocEventNiNotifyVerifyReqIndMsgT_v02, NiSuplVer2ExtInd), - 32, 0 + 15, 0 }; static const uint8_t qmiLocEventInjectTimeReqIndMsgT_data_v02[] = { @@ -877,20 +900,20 @@ static const uint8_t qmiLocEventInjectTimeReqIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventInjectTimeReqIndMsgT_v02, timeServerInfo), - 16, 0 + 17, 0 }; static const uint8_t qmiLocEventInjectPredictedOrbitsReqIndMsgT_data_v02[] = { 0x01, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventInjectPredictedOrbitsReqIndMsgT_v02, allowedSizes), - 17, 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), - 18, 0 + 19, 0 }; static const uint8_t qmiLocEventInjectPositionReqIndMsgT_data_v02[] = { @@ -944,13 +967,13 @@ static const uint8_t qmiLocEventSensorStreamingReadyStatusIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventSensorStreamingReadyStatusIndMsgT_v02, accelReady), - 20, 0, + 21, 0, QMI_IDL_TLV_FLAGS_LAST_TLV | 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), - 20, 0 + 21, 0 }; static const uint8_t qmiLocEventTimeSyncReqIndMsgT_data_v02[] = { @@ -1008,7 +1031,7 @@ static const uint8_t qmiLocEventGeofenceBreachIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocEventGeofenceBreachIndMsgT_v02, geofencePosition), - 21, 0 + 22, 0 }; /* @@ -1115,7 +1138,7 @@ static const uint8_t qmiLocNiUserRespReqMsgT_data_v02[] = { 0x14, QMI_IDL_FLAGS_OFFSET_IS_16 | QMI_IDL_AGGREGATE, QMI_IDL_OFFSET16ARRAY(qmiLocNiUserRespReqMsgT_v02, NiSuplVer2ExtPayload), - 32, 0 + 15, 0 }; static const uint8_t qmiLocNiUserRespIndMsgT_data_v02[] = { @@ -1175,13 +1198,13 @@ static const uint8_t qmiLocGetPredictedOrbitsDataSourceIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetPredictedOrbitsDataSourceIndMsgT_v02, allowedSizes), - 17, 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), - 18, 0 + 19, 0 }; /* @@ -1199,7 +1222,7 @@ static const uint8_t qmiLocGetPredictedOrbitsDataValidityIndMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetPredictedOrbitsDataValidityIndMsgT_v02, validityInfo), - 22, 0 + 23, 0 }; static const uint8_t qmiLocInjectUtcTimeReqMsgT_data_v02[] = { @@ -1273,7 +1296,7 @@ static const uint8_t qmiLocInjectPositionReqMsgT_data_v02[] = { 0x1A, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectPositionReqMsgT_v02, altSourceInfo), - 23, 0, + 24, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectPositionReqMsgT_v02, timestampUtc) - QMI_IDL_OFFSET8(qmiLocInjectPositionReqMsgT_v02, timestampUtc_valid)), 0x1B, @@ -1493,7 +1516,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), - 24, 0, + 25, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET16RELATIVE(qmiLocDeleteAssistDataReqMsgT_v02, deleteGnssDataMask) - QMI_IDL_OFFSET16RELATIVE(qmiLocDeleteAssistDataReqMsgT_v02, deleteGnssDataMask_valid)), 0x11, @@ -1551,13 +1574,13 @@ static const uint8_t qmiLocInjectWifiPositionReqMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, wifiFixTime), - 25, 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), - 26, 0, + 27, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, apInfo) - QMI_IDL_OFFSET8(qmiLocInjectWifiPositionReqMsgT_v02, apInfo_valid)), 0x12, @@ -1565,7 +1588,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), - 27, 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, @@ -1664,13 +1687,13 @@ static const uint8_t qmiLocInjectSensorDataReqMsgT_data_v02[] = { 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInjectSensorDataReqMsgT_v02, threeAxisAccelData), - 29, 0, + 30, 0, QMI_IDL_TLV_FLAGS_LAST_TLV | 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), - 29, 0 + 30, 0 }; static const uint8_t qmiLocInjectSensorDataIndMsgT_data_v02[] = { @@ -1799,7 +1822,7 @@ static const uint8_t qmiLocInformLocationServerConnStatusReqMsgT_data_v02[] = { 0x10, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocInformLocationServerConnStatusReqMsgT_v02, apnProfile), - 30, 0 + 31, 0 }; static const uint8_t qmiLocInformLocationServerConnStatusIndMsgT_data_v02[] = { @@ -1998,13 +2021,13 @@ static const uint8_t qmiLocSetSensorPerformanceControlConfigReqMsgT_data_v02[] = 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, accelSamplingSpec), - 19, 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), - 19, 0, + 20, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, algorithmConfig) - QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, algorithmConfig_valid)), 0x13, @@ -2015,13 +2038,13 @@ static const uint8_t qmiLocSetSensorPerformanceControlConfigReqMsgT_data_v02[] = 0x14, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocSetSensorPerformanceControlConfigReqMsgT_v02, accelSamplingSpecHigh), - 19, 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), - 19, 0 + 20, 0 }; static const uint8_t qmiLocSetSensorPerformanceControlConfigIndMsgT_data_v02[] = { @@ -2055,13 +2078,13 @@ static const uint8_t qmiLocGetSensorPerformanceControlConfigIndMsgT_data_v02[] = 0x11, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, accelSamplingSpec), - 19, 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), - 19, 0, + 20, 0, QMI_IDL_TLV_FLAGS_OPTIONAL | (QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, algorithmConfig) - QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, algorithmConfig_valid)), 0x13, @@ -2072,13 +2095,13 @@ static const uint8_t qmiLocGetSensorPerformanceControlConfigIndMsgT_data_v02[] = 0x14, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocGetSensorPerformanceControlConfigIndMsgT_v02, accelSamplingSpecHigh), - 19, 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), - 19, 0 + 20, 0 }; static const uint8_t qmiLocInjectSuplCertificateReqMsgT_data_v02[] = { @@ -2175,7 +2198,7 @@ static const uint8_t qmiLocAddCircularGeofenceReqMsgT_data_v02[] = { 0x02, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocAddCircularGeofenceReqMsgT_v02, circularGeofenceArgs), - 31, 0, + 32, 0, 0x03, QMI_IDL_GENERIC_1_BYTE, @@ -2277,7 +2300,7 @@ static const uint8_t qmiLocQueryGeofenceIndMsgT_data_v02[] = { 0x14, QMI_IDL_AGGREGATE, QMI_IDL_OFFSET8(qmiLocQueryGeofenceIndMsgT_v02, circularGeofenceArgs), - 31, 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, @@ -2530,6 +2553,53 @@ static const uint8_t qmiLocGetNiGeofenceIdListIndMsgT_data_v02[] = { QMI_IDL_OFFSET8(qmiLocGetNiGeofenceIdListIndMsgT_v02, niGeofenceIdList) - QMI_IDL_OFFSET8(qmiLocGetNiGeofenceIdListIndMsgT_v02, niGeofenceIdList_len) }; +static const uint8_t qmiLocInjectGSMCellInfoReqMsgT_data_v02[] = { + 0x01, + QMI_IDL_AGGREGATE, + QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoReqMsgT_v02, gsmCellId), + 34, 0, + + QMI_IDL_TLV_FLAGS_LAST_TLV | 0x02, + QMI_IDL_GENERIC_1_BYTE, + QMI_IDL_OFFSET8(qmiLocInjectGSMCellInfoReqMsgT_v02, roamingStatus) +}; + +static const uint8_t qmiLocInjectGSMCellInfoIndMsgT_data_v02[] = { + QMI_IDL_TLV_FLAGS_LAST_TLV | 0x01, + QMI_IDL_GENERIC_4_BYTE, + 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) +}; + /* Type Table */ static const qmi_idl_type_table_entry loc_type_table_v02[] = { {sizeof(qmiLocApplicationIdStructT_v02), qmiLocApplicationIdStructT_data_v02}, @@ -2547,6 +2617,7 @@ static const qmi_idl_type_table_entry loc_type_table_v02[] = { {sizeof(qmiLocNiUmtsCpCodedStringStructT_v02), qmiLocNiUmtsCpCodedStringStructT_data_v02}, {sizeof(qmiLocNiUmtsCpNotifyVerifyStructT_v02), qmiLocNiUmtsCpNotifyVerifyStructT_data_v02}, {sizeof(qmiLocNiVxServiceInteractionStructT_v02), qmiLocNiVxServiceInteractionStructT_data_v02}, + {sizeof(qmiLocNiSuplVer2ExtStructT_v02), qmiLocNiSuplVer2ExtStructT_data_v02}, {sizeof(qmiLocAssistanceServerUrlStructT_v02), qmiLocAssistanceServerUrlStructT_data_v02}, {sizeof(qmiLocTimeServerListStructT_v02), qmiLocTimeServerListStructT_data_v02}, {sizeof(qmiLocPredictedOrbitsAllowedSizesStructT_v02), qmiLocPredictedOrbitsAllowedSizesStructT_data_v02}, @@ -2564,8 +2635,8 @@ static const qmi_idl_type_table_entry loc_type_table_v02[] = { {sizeof(qmiLoc3AxisSensorSampleListStructT_v02), qmiLoc3AxisSensorSampleListStructT_data_v02}, {sizeof(qmiLocApnProfilesStructT_v02), qmiLocApnProfilesStructT_data_v02}, {sizeof(qmiLocCircularGeofenceArgsStructT_v02), qmiLocCircularGeofenceArgsStructT_data_v02}, - {sizeof(qmiLocNiSuplVer2ExtStructT_v02), qmiLocNiSuplVer2ExtStructT_data_v02}, - {sizeof(qmiLocMotionDataStructT_v02), qmiLocMotionDataStructT_data_v02} + {sizeof(qmiLocMotionDataStructT_v02), qmiLocMotionDataStructT_data_v02}, + {sizeof(qmiLocGSMCellIdStructT_v02), qmiLocGSMCellIdStructT_data_v02} }; /* Message Table */ @@ -2697,7 +2768,13 @@ static const qmi_idl_message_table_entry loc_message_table_v02[] = { {sizeof(qmiLocInjectMotionDataReqMsgT_v02), qmiLocInjectMotionDataReqMsgT_data_v02}, {sizeof(qmiLocInjectMotionDataIndMsgT_v02), qmiLocInjectMotionDataIndMsgT_data_v02}, {sizeof(qmiLocGetNiGeofenceIdListReqMsgT_v02), qmiLocGetNiGeofenceIdListReqMsgT_data_v02}, - {sizeof(qmiLocGetNiGeofenceIdListIndMsgT_v02), qmiLocGetNiGeofenceIdListIndMsgT_data_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} }; /* Predefine the Type Table Object */ @@ -2775,7 +2852,10 @@ static const qmi_idl_service_message_table_entry loc_service_command_messages_v0 {QMI_LOC_EDIT_GEOFENCE_REQ_V02, TYPE16(0, 120), 25}, {QMI_LOC_GET_BEST_AVAILABLE_POSITION_REQ_V02, TYPE16(0, 122), 7}, {QMI_LOC_INJECT_MOTION_DATA_REQ_V02, TYPE16(0, 124), 19}, - {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_REQ_V02, TYPE16(0, 126), 7} + {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_REQ_V02, TYPE16(0, 126), 7}, + {QMI_LOC_INJECT_GSM_CELL_INFO_REQ_V02, TYPE16(0, 128), 23}, + {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_REQ_V02, TYPE16(0, 130), 1036}, + {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_REQ_V02, TYPE16(0, 132), 0} }; static const qmi_idl_service_message_table_entry loc_service_response_messages_v02[] = { @@ -2835,7 +2915,10 @@ static const qmi_idl_service_message_table_entry loc_service_response_messages_v {QMI_LOC_EDIT_GEOFENCE_RESP_V02, TYPE16(0, 0), 7}, {QMI_LOC_GET_BEST_AVAILABLE_POSITION_RESP_V02, TYPE16(0, 0), 7}, {QMI_LOC_INJECT_MOTION_DATA_RESP_V02, TYPE16(0, 0), 7}, - {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_RESP_V02, TYPE16(0, 0), 7} + {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_RESP_V02, TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_GSM_CELL_INFO_RESP_V02, TYPE16(0, 0), 7}, + {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_RESP_V02, TYPE16(0, 0), 7}, + {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_RESP_V02, TYPE16(0, 0), 7} }; static const qmi_idl_service_message_table_entry loc_service_indication_messages_v02[] = { @@ -2908,7 +2991,10 @@ static const qmi_idl_service_message_table_entry loc_service_indication_messages {QMI_LOC_EDIT_GEOFENCE_IND_V02, TYPE16(0, 121), 28}, {QMI_LOC_GET_BEST_AVAILABLE_POSITION_IND_V02, TYPE16(0, 123), 391}, {QMI_LOC_INJECT_MOTION_DATA_IND_V02, TYPE16(0, 125), 7}, - {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_IND_V02, TYPE16(0, 127), 82} + {QMI_LOC_GET_NI_GEOFENCE_ID_LIST_IND_V02, TYPE16(0, 127), 82}, + {QMI_LOC_INJECT_GSM_CELL_INFO_IND_V02, TYPE16(0, 129), 7}, + {QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_IND_V02, TYPE16(0, 131), 7}, + {QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_IND_V02, TYPE16(0, 132), 0} }; /*Service Object*/ @@ -2922,7 +3008,7 @@ struct qmi_idl_service_object loc_qmi_idl_service_object_v02 = { sizeof(loc_service_indication_messages_v02)/sizeof(qmi_idl_service_message_table_entry) }, { loc_service_command_messages_v02, loc_service_response_messages_v02, loc_service_indication_messages_v02}, &loc_qmi_idl_type_table_object_v02, - 0x0D, + 0x0F, NULL }; diff --git a/loc_api/loc_api_v02/location_service_v02.h b/loc_api/loc_api_v02/location_service_v02.h index d2da6915..f5db0b99 100644 --- a/loc_api/loc_api_v02/location_service_v02.h +++ b/loc_api/loc_api_v02/location_service_v02.h @@ -58,6 +58,13 @@ elements in the array will be accessed. */ +/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* + *THIS IS AN AUTO GENERATED FILE. DO NOT ALTER IN ANY WAY + *====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/ + +/* This file was generated with Tool version 5.5 + It was generated on: Thu Sep 20 2012 + From IDL File: location_service_v02.idl */ /** @defgroup loc_qmi_consts Constant values defined in the IDL */ /** @defgroup loc_qmi_msg_ids Constant values for QMI message IDs */ @@ -82,11 +89,11 @@ extern "C" { /** 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 0x0D +#define LOC_V02_IDL_MINOR_VERS 0x0F /** Major Version Number of the qmi_idl_compiler used to generate this file */ #define LOC_V02_IDL_TOOL_VERS 0x05 /** Maximum Defined Message ID */ -#define LOC_V02_MAX_MESSAGE_ID 0x0069; +#define LOC_V02_MAX_MESSAGE_ID 0x006C; /** @} */ @@ -181,9 +188,12 @@ extern "C" { /** Maximum length of the SUPL certificate. */ #define QMI_LOC_MAX_SUPL_CERT_LENGTH_V02 2000 -/** Maximum length of the Network Initiated Geofence ID +/** Maximum length of the network-initiated Geofence ID list */ #define QMI_LOC_MAX_NI_GEOFENCE_ID_LIST_LENGTH_V02 16 + +/** Maximum length of the injected network initiated message. */ +#define QMI_LOC_MAX_INJECTED_NETWORK_INITIATED_MESSAGE_LENGTH_V02 1024 /** @} */ @@ -214,7 +224,7 @@ typedef struct { /* Mandatory */ /* Revision */ uint32_t revision; - /**< Revision that the control point is using. */ + /**< Revision that the control point is using. */ }qmiLocInformClientRevisionReqMsgT_v02; /* Message */ /** @} @@ -295,7 +305,7 @@ typedef struct { \end{itemize1} \vspace{0.05in} 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 */ /** @} @@ -306,9 +316,8 @@ typedef struct { */ typedef enum { QMILOCFIXRECURRENCEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_RECURRENCE_PERIODIC_V02 = 1, /**< Request periodic position fixes. - Request a single position fix. */ - eQMI_LOC_RECURRENCE_SINGLE_V02 = 2, + eQMI_LOC_RECURRENCE_PERIODIC_V02 = 1, /**< Request periodic position fixes. */ + eQMI_LOC_RECURRENCE_SINGLE_V02 = 2, /**< Request a single position fix. */ QMILOCFIXRECURRENCEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocFixRecurrenceEnumT_v02; /** @@ -321,9 +330,8 @@ typedef enum { typedef enum { QMILOCACCURACYLEVELENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_ACCURACY_LOW_V02 = 1, /**< Low accuracy. */ - eQMI_LOC_ACCURACY_MED_V02 = 2, /**< Medium accuracy. - High accuracy. */ - eQMI_LOC_ACCURACY_HIGH_V02 = 3, + eQMI_LOC_ACCURACY_MED_V02 = 2, /**< Medium accuracy. */ + eQMI_LOC_ACCURACY_HIGH_V02 = 3, /**< High accuracy. */ QMILOCACCURACYLEVELENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocAccuracyLevelEnumT_v02; /** @@ -335,9 +343,8 @@ typedef enum { */ typedef enum { QMILOCINTERMEDIATEREPORTSTATEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_INTERMEDIATE_REPORTS_ON_V02 = 1, /**< Intermediate reports are turned on. - Intermediate reports are turned off. */ - eQMI_LOC_INTERMEDIATE_REPORTS_OFF_V02 = 2, + eQMI_LOC_INTERMEDIATE_REPORTS_ON_V02 = 1, /**< Intermediate reports are turned on. */ + eQMI_LOC_INTERMEDIATE_REPORTS_OFF_V02 = 2, /**< Intermediate reports are turned off. */ QMILOCINTERMEDIATEREPORTSTATEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocIntermediateReportStateEnumT_v02; /** @@ -350,20 +357,20 @@ typedef enum { typedef struct { char applicationProvider[QMI_LOC_MAX_APP_ID_PROVIDER_LENGTH_V02 + 1]; - /**< Application provider. */ + /**< Application provider. */ char applicationName[QMI_LOC_MAX_APP_ID_NAME_LENGTH_V02 + 1]; - /**< Application name. */ + /**< Application name. */ uint8_t applicationVersion_valid; - /**< Specifies whether the application version string contains a valid value: - \begin{itemize1} + /**< Specifies whether the application version string contains + a valid value: \begin{itemize1} \item 0x00 (FALSE) -- Application version string is invalid \item 0x01 (TRUE) -- Application version string is valid - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ char applicationVersion[QMI_LOC_MAX_APP_ID_VERSION_LENGTH_V02 + 1]; - /**< Application version. */ + /**< Application version. */ }qmiLocApplicationIdStructT_v02; /* Type */ /** @} @@ -372,8 +379,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; The control point sends this message when it wants to - initiate a GPS session. */ +/** Request Message; Used by the control point to initiate a GPS session. */ typedef struct { /* Mandatory */ @@ -383,7 +389,7 @@ typedef struct { 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 - */ + */ /* Optional */ /* Recurrence Type */ @@ -395,7 +401,7 @@ typedef struct { Valid values: \n - 0x00000001 -- Request periodic fixes \n - 0x00000002 -- Request a single fix - */ + */ /* Optional */ /* Horizontal Accuracy */ @@ -404,14 +410,13 @@ typedef struct { /**< Specifies the horizontal accuracy level required by the control point. If not specified, accuracy defaults to LOW. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- LOW: Client requires low horizontal accuracy \item 0x00000002 -- MED: Client requires medium horizontal accuracy \item 0x00000003 -- HIGH: Client requires high horizontal accuracy \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Enable/Disable Intermediate Reports */ @@ -426,15 +431,14 @@ typedef struct { report is set to IN_PROGRESS in order for the control point to identify intermediate reports. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- ON: Client is interested in receiving intermediate reports \item 0x00000002 -- OFF: Client is not interested in receiving intermediate reports \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Minimum Interval Between Position Reports */ @@ -444,13 +448,13 @@ typedef struct { position reports. \n - Units: Milliseconds \n - Default: 1000 ms - */ + */ /* Optional */ /* ID of the Application that Sent this Request */ uint8_t applicationId_valid; /**< Must be set to true if applicationId is being passed */ qmiLocApplicationIdStructT_v02 applicationId; - /**< \n Application provider, name, and version. */ + /**< \n Application provider, name, and version.*/ }qmiLocStartReqMsgT_v02; /* Message */ /** @} @@ -459,8 +463,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Request Message; The control point sends this message when it wants to - stop a GPS session. */ +/** Request Message; Used by the control point to stop a GPS session. */ typedef struct { /* Mandatory */ @@ -468,7 +471,7 @@ typedef struct { uint8_t sessionId; /**< ID of the session that was specified in the Start request (QMI_LOC_START_REQ).\n - - Range: 0 to 255 */ + - Range: 0 to 255 */ }qmiLocStopReqMsgT_v02; /* Message */ /** @} @@ -495,9 +498,8 @@ typedef enum { eQMI_LOC_SESS_STATUS_TIMEOUT_V02 = 3, /**< Fix request failed because the session timed out. */ eQMI_LOC_SESS_STATUS_USER_END_V02 = 4, /**< Fix request failed because the session was ended by the user. */ eQMI_LOC_SESS_STATUS_BAD_PARAMETER_V02 = 5, /**< Fix request failed due to bad parameters in the request. */ - eQMI_LOC_SESS_STATUS_PHONE_OFFLINE_V02 = 6, /**< Fix request failed because the phone is offline. - Fix request failed because the engine is locked. */ - eQMI_LOC_SESS_STATUS_ENGINE_LOCKED_V02 = 7, + eQMI_LOC_SESS_STATUS_PHONE_OFFLINE_V02 = 6, /**< Fix request failed because the phone is offline. */ + eQMI_LOC_SESS_STATUS_ENGINE_LOCKED_V02 = 7, /**< Fix request failed because the engine is locked. */ QMILOCSESSIONSTATUSENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocSessionStatusEnumT_v02; /** @@ -511,11 +513,11 @@ typedef struct { uint16_t gpsWeek; /**< Current GPS week as calculated from midnight, Jan. 6, 1980. \n - - Units: Weeks */ + - Units: Weeks */ uint32_t gpsTimeOfWeekMs; /**< Amount of time into the current GPS week. \n - - Units: Milliseconds */ + - Units: Milliseconds */ }qmiLocGPSTimeStructT_v02; /* Type */ /** @} @@ -531,19 +533,19 @@ typedef struct { \begin{itemize1} \item Range: 1 (highest accuracy) to 50 (lowest accuracy) \item PDOP = square root of (HDOP^2 + VDOP^2) - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ float HDOP; /**< Horizontal dilution of precision. \begin{itemize1} \item Range: 1 (highest accuracy) to 50 (lowest accuracy) - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ float VDOP; /**< Vertical dilution of precision. \begin{itemize1} \item Range: 1 (highest accuracy) to 50 (lowest accuracy) - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocDOPStructT_v02; /* Type */ /** @} @@ -566,11 +568,10 @@ typedef struct { /**< Specifies which sensors were used in calculating the position in the position report. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- SENSOR_USED_ACCEL \item 0x00000002 -- SENSOR_USED_GYRO - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ qmiLocSensorAidedMaskT_v02 aidingIndicatorMask; /**< Specifies which results were aided by sensors. @@ -579,7 +580,7 @@ typedef struct { - 0x00000001 -- AIDED_HEADING \n - 0x00000002 -- AIDED_SPEED \n - 0x00000004 -- AIDED_POSITION \n - - 0x00000008 -- AIDED_VELOCITY */ + - 0x00000008 -- AIDED_VELOCITY */ }qmiLocSensorUsageIndicatorStructT_v02; /* Type */ /** @} @@ -606,9 +607,8 @@ typedef enum { eQMI_LOC_TIME_SRC_GLO_TOW_DECODE_V02 = 9, /**< Time is set after decoding GLO satellites */ eQMI_LOC_TIME_SRC_TIME_TRANSFORM_V02 = 10, /**< Time is set after transforming the GPS to GLO time */ 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 - Source of the time is unknown */ - eQMI_LOC_TIME_SRC_UNKNOWN_V02 = 13, + 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 */ QMILOCTIMESOURCEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocTimeSourceEnumT_v02; /** @@ -623,9 +623,8 @@ typedef enum { eQMI_LOC_RELIABILITY_NOT_SET_V02 = 0, /**< Location reliability is not set */ eQMI_LOC_RELIABILITY_VERY_LOW_V02 = 1, /**< Location reliability is very low; use it at your own risk */ eQMI_LOC_RELIABILITY_LOW_V02 = 2, /**< Location reliability is low; little or no cross-checking is possible */ - eQMI_LOC_RELIABILITY_MEDIUM_V02 = 3, /**< Location reliability is medium; limited cross-check passed - Location reliability is high; strong cross-check passed */ - eQMI_LOC_RELIABILITY_HIGH_V02 = 4, + eQMI_LOC_RELIABILITY_MEDIUM_V02 = 3, /**< Location reliability is medium; limited cross-check passed */ + eQMI_LOC_RELIABILITY_HIGH_V02 = 4, /**< Location reliability is high; strong cross-check passed */ QMILOCRELIABILITYENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocReliabilityEnumT_v02; /** @@ -635,8 +634,7 @@ typedef enum { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; This message is used to send the position report to the - control point. */ +/** Indication Message; Sends the position report to the control point. */ typedef struct { /* Mandatory */ @@ -644,8 +642,7 @@ typedef struct { qmiLocSessionStatusEnumT_v02 sessionStatus; /**< Session status. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SESS_STATUS_SUCCESS \item 0x00000001 -- SESS_STATUS_IN_PROGRESS \item 0x00000002 -- SESS_STATUS_GENERAL_FAILURE @@ -655,14 +652,14 @@ typedef struct { \item 0x00000006 -- SESS_STATUS_PHONE_OFFLINE \item 0x00000007 -- SESS_STATUS_ENGINE_LOCKED \vspace{-0.18in} \end{itemize1} - */ + */ /* Mandatory */ /* Session ID */ uint8_t sessionId; /**< ID of the session that was specified in the Start request QMI_LOC_START_REQ. \n - - Range: 0 to 255 */ + - Range: 0 to 255 */ /* Optional */ /* Latitude */ @@ -675,7 +672,7 @@ typedef struct { \item Range: -90.0 to 90.0 \begin{itemize1} \item Positive values indicate northern latitude \item Negative values indicate southern latitude - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ /* Optional */ /* Longitude */ @@ -688,28 +685,28 @@ typedef struct { \item Range: -180.0 to 180.0 \begin{itemize1} \item Positive values indicate eastern longitude \item Negative values indicate western longitude - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ /* Optional */ /* Circular Horizontal Position Uncertainty */ uint8_t horUncCircular_valid; /**< Must be set to true if horUncCircular is being passed */ float horUncCircular; /**< Horizontal position uncertainty (circular).\n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Horizontal Elliptical Uncertainty (Semi-Minor Axis) */ uint8_t horUncEllipseSemiMinor_valid; /**< Must be set to true if horUncEllipseSemiMinor is being passed */ float horUncEllipseSemiMinor; /**< Semi-minor axis of horizontal elliptical uncertainty.\n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Horizontal Elliptical Uncertainty (Semi-Major Axis) */ uint8_t horUncEllipseSemiMajor_valid; /**< Must be set to true if horUncEllipseSemiMajor is being passed */ float horUncEllipseSemiMajor; /**< Semi-major axis of horizontal elliptical uncertainty.\n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Elliptical Horizontal Uncertainty Azimuth */ @@ -717,7 +714,7 @@ typedef struct { float horUncEllipseOrientAzimuth; /**< Elliptical horizontal uncertainty azimuth of orientation.\n - Units: Decimal degrees \n - - Range: 0 to 180 */ + - Range: 0 to 180 */ /* Optional */ /* Horizontal Confidence */ @@ -725,36 +722,35 @@ typedef struct { uint8_t horConfidence; /**< Horizontal uncertainty confidence.\n - Units: Percent \n - - Range: 0 to 99 */ + - Range: 0 to 99 */ /* Optional */ /* Horizontal Reliability */ uint8_t horReliability_valid; /**< Must be set to true if horReliability is being passed */ qmiLocReliabilityEnumT_v02 horReliability; /**< Specifies the reliability of the horizontal position. \n - Valid values: - \begin{itemize1} + 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 \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Horizontal Speed */ uint8_t speedHorizontal_valid; /**< Must be set to true if speedHorizontal is being passed */ float speedHorizontal; /**< Horizontal speed.\n - - Units: Meters/second */ + - Units: Meters/second */ /* Optional */ /* Speed Uncertainty */ uint8_t speedUnc_valid; /**< Must be set to true if speedUnc is being passed */ float speedUnc; /**< 3-D Speed uncertainty.\n - - Units: Meters/second */ + - Units: Meters/second */ /* Optional */ /* Altitude With Respect to Ellipsoid */ @@ -762,21 +758,21 @@ typedef struct { float altitudeWrtEllipsoid; /**< Altitude with respect to the WGS84 ellipsoid.\n - Units: Meters \n - - Range: -500 to 15883 */ + - Range: -500 to 15883 */ /* Optional */ /* Altitude With Respect to Sea Level */ uint8_t altitudeWrtMeanSeaLevel_valid; /**< Must be set to true if altitudeWrtMeanSeaLevel is being passed */ float altitudeWrtMeanSeaLevel; /**< Altitude with respect to mean sea level.\n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Vertical Uncertainty */ uint8_t vertUnc_valid; /**< Must be set to true if vertUnc is being passed */ float vertUnc; /**< Vertical uncertainty.\n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Vertical Confidence */ @@ -784,28 +780,27 @@ typedef struct { uint8_t vertConfidence; /**< Vertical uncertainty confidence.\n - Units: Percent \n - - Range: 0 to 99 */ + - Range: 0 to 99 */ /* Optional */ /* 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. \n - Valid values: - \begin{itemize1} + 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 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1}*/ /* Optional */ /* Vertical Speed */ uint8_t speedVertical_valid; /**< Must be set to true if speedVertical is being passed */ float speedVertical; /**< Vertical speed.\n - - Units: Meters/second */ + - Units: Meters/second */ /* Optional */ /* Heading */ @@ -813,7 +808,7 @@ typedef struct { float heading; /**< Heading.\n - Units: Degrees \n - - Range: 0 to 359.999 */ + - Range: 0 to 359.999 */ /* Optional */ /* Heading Uncertainty */ @@ -821,7 +816,7 @@ typedef struct { float headingUnc; /**< Heading uncertainty.\n - Units: Degrees \n - - Range: 0 to 359.999 */ + - Range: 0 to 359.999 */ /* Optional */ /* Magnetic Deviation */ @@ -829,7 +824,7 @@ typedef struct { float magneticDeviation; /**< 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. */ + north is east of true north. */ /* Optional */ /* Technology Used */ @@ -837,26 +832,27 @@ typedef struct { qmiLocPosTechMaskT_v02 technologyMask; /**< Technology used in computing this fix. - Valid bitmasks: \n - - 0x00000001 -- SATELLITE \n - - 0x00000002 -- CELLID \n - - 0x00000004 -- WIFI \n - - 0x00000008 -- SENSORS \n - - 0x00000010 -- REFERENCE_LOCATION \n - - 0x00000020 -- INJECTED_COARSE_POSITION */ + 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} */ /* 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. */ + /**< \n Dilution of precision associated with this position. */ /* Optional */ /* UTC Timestamp */ uint8_t timestampUtc_valid; /**< Must be set to true if timestampUtc is being passed */ uint64_t timestampUtc; /**< UTC timestamp. \n - - Units: Milliseconds since Jan. 1, 1970 */ + - Units: Milliseconds since Jan. 1, 1970 */ /* Optional */ /* Leap Seconds */ @@ -865,21 +861,21 @@ typedef struct { /**< Leap second information. If leapSeconds is not available, timestampUtc is calculated based on a hard-coded value for leap seconds. \n - - Units: Seconds */ + - 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 - milliseconds into the current week. */ + milliseconds into the current week. */ /* Optional */ /* Time Uncertainty */ uint8_t timeUnc_valid; /**< Must be set to true if timeUnc is being passed */ float timeUnc; /**< Time uncertainty. \n - - Units: Milliseconds */ + - Units: Milliseconds */ /* Optional */ /* Time Source */ @@ -887,32 +883,31 @@ typedef struct { qmiLocTimeSourceEnumT_v02 timeSrc; /**< Time source. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- TIME_SRC_INVALID \item 0x00000001 -- TIME_SRC_NETWORK_TIME_TRANSFER \item 0x00000002 -- TIME_SRC_NETWORK_TIME_TAGGING - \item 0x00000003 -- TIME_SRC_EXTERNAL_ INPUT + \item 0x00000003 -- TIME_SRC_EXTERNAL_INPUT \item 0x00000004 -- TIME_SRC_TOW_DECODE \item 0x00000005 -- TIME_SRC_TOW_CONFIRMED \item 0x00000006 -- TIME_SRC_TOW_AND_WEEK_CONFIRMED \item 0x00000007 -- TIME_SRC_NAV_SOLUTION \item 0x00000008 -- TIME_SRC_SOLVE_FOR_TIME - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* 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 - position report. */ + position report. */ /* Optional */ /* Fix Count for This Session */ uint8_t fixId_valid; /**< Must be set to true if fixId is being passed */ uint32_t fixId; /**< Fix count for the session. Starts with 0 and increments by one - for each successive position report for a particular session. */ + for each successive position report for a particular session. */ /* Optional */ /* SVs Used to Calculate the Fix */ @@ -927,7 +922,7 @@ typedef struct { \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} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ }qmiLocEventPositionReportIndMsgT_v02; /* Message */ /** @} @@ -941,9 +936,8 @@ typedef enum { eQMI_LOC_SV_SYSTEM_GPS_V02 = 1, /**< GPS satellite. */ eQMI_LOC_SV_SYSTEM_GALILEO_V02 = 2, /**< GALILEO satellite. */ eQMI_LOC_SV_SYSTEM_SBAS_V02 = 3, /**< SBAS satellite. */ - eQMI_LOC_SV_SYSTEM_COMPASS_V02 = 4, /**< COMPASS satellite. - GLONASS satellite. */ - eQMI_LOC_SV_SYSTEM_GLONASS_V02 = 5, + eQMI_LOC_SV_SYSTEM_COMPASS_V02 = 4, /**< COMPASS satellite. */ + eQMI_LOC_SV_SYSTEM_GLONASS_V02 = 5, /**< GLONASS satellite. */ QMILOCSVSYSTEMENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocSvSystemEnumT_v02; /** @@ -956,9 +950,8 @@ typedef enum { typedef enum { QMILOCSVSTATUSENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_SV_STATUS_IDLE_V02 = 1, /**< SV is not being actively processed. */ - eQMI_LOC_SV_STATUS_SEARCH_V02 = 2, /**< The system is searching for this SV. - SV is being tracked. */ - eQMI_LOC_SV_STATUS_TRACK_V02 = 3, + eQMI_LOC_SV_STATUS_SEARCH_V02 = 2, /**< The system is searching for this SV. */ + eQMI_LOC_SV_STATUS_TRACK_V02 = 3, /**< SV is being tracked. */ QMILOCSVSTATUSENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocSvStatusEnumT_v02; /** @@ -985,8 +978,7 @@ typedef struct { qmiLocSvInfoValidMaskT_v02 validMask; /**< Bitmask indicating which of the fields in this TLV are valid. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- VALID_SYSTEM \item 0x00000002 -- VALID_GNSS_SVID \item 0x00000004 -- VALID_HEALTH_STATUS @@ -995,19 +987,18 @@ typedef struct { \item 0x00000020 -- VALID_ELEVATION \item 0x00000040 -- VALID_AZIMUTH \item 0x00000080 -- VALID_SNR - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ qmiLocSvSystemEnumT_v02 system; /**< Indicates to which constellation this SV belongs. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- eQMI_LOC_SV_SYSTEM_GPS \item 0x00000002 -- eQMI_LOC_SV_SYSTEM_GALILEO \item 0x00000003 -- eQMI_LOC_SV_SYSTEM_SBAS \item 0x00000004 -- eQMI_LOC_SV_SYSTEM_COMPASS \item 0x00000005 -- eQMI_LOC_SV_SYSTEM_GLONASS - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ uint16_t gnssSvId; /**< GNSS SV ID. @@ -1018,13 +1009,13 @@ typedef struct { \item For SBAS: 120 to 151 \end{itemize1} \end{itemize1} - The GPS and GLONASS SVs can be disambiguated using the system field. */ + The GPS and GLONASS SVs can be disambiguated using the system field. */ uint8_t healthStatus; /**< Health status. \begin{itemize1} \item Range: 0 to 1; 0 = unhealthy, \newline 1 = healthy - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1}*/ qmiLocSvStatusEnumT_v02 svStatus; /**< SV processing status. \n @@ -1032,28 +1023,28 @@ typedef struct { - 0x00000001 -- SV_STATUS_IDLE \n - 0x00000002 -- SV_STATUS_SEARCH \n - 0x00000003 -- SV_STATUS_TRACK - */ + */ qmiLocSvInfoMaskT_v02 svInfoMask; /**< Whether almanac and ephemeris information is available. \n Valid bitmasks: \n - 0x01 -- SVINFO_HAS_EPHEMERIS \n - 0x02 -- SVINFO_HAS_ALMANAC - */ + */ float elevation; /**< SV elevation angle.\n - Units: Degrees \n - - Range: 0 to 90 */ + - Range: 0 to 90 */ float azimuth; /**< SV azimuth angle.\n - Units: Degrees \n - - Range: 0 to 360 */ + - Range: 0 to 360 */ float snr; /**< SV signal-to-noise ratio. \n - - Units: dB-Hz */ + - Units: dB-Hz */ }qmiLocSvInfoStructT_v02; /* Type */ /** @} @@ -1062,25 +1053,24 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used to send a satellite report to the control point. */ +/** Indication Message; Sends a satellite report to the control point. */ typedef struct { /* Mandatory */ /* Altitude Source */ uint8_t altitudeAssumed; - /**< Whether altitude is assumed or calculated: - \begin{itemize1} + /**< 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 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1}*/ /* Optional */ /* Satellite Info */ 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. */ + /**< \n SV information list. */ }qmiLocEventGnssSvInfoIndMsgT_v02; /* Message */ /** @} @@ -1089,7 +1079,7 @@ typedef struct { /** @addtogroup loc_qmi_messages @{ */ -/** Indication Message; Used to send NMEA sentences to the control point. */ +/** Indication Message; Sends NMEA sentences to the control point */ typedef struct { /* Mandatory */ @@ -1099,7 +1089,7 @@ typedef struct { \begin{itemize1} \item Type: NULL-terminated string \item Maximum string length (including NULL terminator): 201 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1}*/ }qmiLocEventNmeaIndMsgT_v02; /* Message */ /** @} @@ -1113,9 +1103,8 @@ typedef enum { eQMI_LOC_NI_USER_NO_NOTIFY_NO_VERIFY_V02 = 1, /**< No notification and no verification required. */ eQMI_LOC_NI_USER_NOTIFY_ONLY_V02 = 2, /**< Notify only; no verification required. */ eQMI_LOC_NI_USER_NOTIFY_VERIFY_ALLOW_NO_RESP_V02 = 3, /**< Notify and verify, but no response required. */ - eQMI_LOC_NI_USER_NOTIFY_VERIFY_NOT_ALLOW_NO_RESP_V02 = 4, /**< Notify and verify, and require a response. - Notify and Verify, and require a response. */ - eQMI_LOC_NI_USER_NOTIFY_VERIFY_PRIVACY_OVERRIDE_V02 = 5, + eQMI_LOC_NI_USER_NOTIFY_VERIFY_NOT_ALLOW_NO_RESP_V02 = 4, /**< Notify and verify, and require a response. */ + eQMI_LOC_NI_USER_NOTIFY_VERIFY_PRIVACY_OVERRIDE_V02 = 5, /**< Notify and Verify, and require a response. */ QMILOCNINOTIFYVERIFYENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiNotifyVerifyEnumT_v02; /** @@ -1129,9 +1118,8 @@ typedef enum { QMILOCNIVXPOSMODEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_NI_VX_MS_ASSISTED_ONLY_V02 = 1, /**< MS-assisted only allowed. */ eQMI_LOC_NI_VX_MS_BASED_ONLY_V02 = 2, /**< MS-based only allowed. */ - eQMI_LOC_NI_VX_MS_ASSISTED_PREFERRED_MS_BASED_ALLOWED_V02 = 3, /**< MS-assisted preferred, but MS-based allowed. - MS-based preferred, but MS-assisted allowed. */ - eQMI_LOC_NI_VX_MS_BASED_PREFERRED_MS_ASSISTED_ALLOWED_V02 = 4, + eQMI_LOC_NI_VX_MS_ASSISTED_PREFERRED_MS_BASED_ALLOWED_V02 = 3, /**< MS-assisted preferred, but MS-based allowed. */ + eQMI_LOC_NI_VX_MS_BASED_PREFERRED_MS_ASSISTED_ALLOWED_V02 = 4, /**< MS-based preferred, but MS-assisted allowed. */ QMILOCNIVXPOSMODEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiVxPosModeEnumT_v02; /** @@ -1151,9 +1139,8 @@ typedef enum { eQMI_LOC_NI_VX_SHIFT_JIS_V02 = 5, /**< Encoding is SHIFT JIS. */ eQMI_LOC_NI_VX_KOREAN_V02 = 6, /**< Encoding is KOREAN. */ eQMI_LOC_NI_VX_LATIN_HEBREW_V02 = 7, /**< Encoding is LATIN HEBREW. */ - eQMI_LOC_NI_VX_LATIN_V02 = 8, /**< Encoding is LATIN. - Encoding is GSM. */ - eQMI_LOC_NI_VX_GSM_V02 = 9, + eQMI_LOC_NI_VX_LATIN_V02 = 8, /**< Encoding is LATIN. */ + eQMI_LOC_NI_VX_GSM_V02 = 9, /**< Encoding is GSM. */ QMILOCNIVXREQUESTORIDENCODINGSCHEMEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiVxRequestorIdEncodingSchemeEnumT_v02; /** @@ -1168,37 +1155,35 @@ typedef struct { uint8_t posQosIncl; /**< Whether quality of service is included:\n - 0x01 (TRUE) -- QoS is included \n - - 0x00 (FALSE) -- QoS is not included */ + - 0x00 (FALSE) -- QoS is not included */ uint8_t posQos; /**< Position QoS timeout. \n - Units: Seconds \n - - Range: 0 to 255 */ + - Range: 0 to 255 */ uint32_t numFixes; - /**< Number of fixes allowed. */ + /**< Number of fixes allowed. */ uint32_t timeBetweenFixes; /**< Time between fixes.\n - - Units: Seconds */ + - Units: Seconds */ qmiLocNiVxPosModeEnumT_v02 posMode; /**< Position mode. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- NI_VX_MS_ASSISTED_ONLY \item 0x00000002 -- NI_VX_MS_BASED_ONLY \item 0x00000003 -- NI_VX_MS_ASSISTED_PREFERRED_MS_BASED_ALLOWED \item 0x00000004 -- NI_VX_MS_BASED_PREFERRED_MS_ASSISTED_ALLOWED \vspace{-0.18in} \end{itemize1} - */ + */ qmiLocNiVxRequestorIdEncodingSchemeEnumT_v02 encodingScheme; /**< VX encoding scheme. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- NI_VX_OCTET \item 0x00000001 -- NI_VX_EXN_PROTOCOL_MSG \item 0x00000002 -- NI_VX_ASCII @@ -1210,18 +1195,18 @@ typedef struct { \item 0x00000008 -- NI_VX_LATIN \item 0x00000009 -- NI_VX_GSM \vspace{-0.18in} \end{itemize1} - */ + */ uint32_t requestorId_len; /**< Must be set to # of elements in requestorId */ uint8_t requestorId[QMI_LOC_NI_MAX_REQUESTOR_ID_LENGTH_V02]; /**< Requestor ID. \n - Type: Array of bytes \n - Maximum array length: 200 - */ + */ uint16_t userRespTimerInSeconds; /**< Time to wait for the user to respond. \n - - Units: Seconds */ + - Units: Seconds */ }qmiLocNiVxNotifyVerifyStructT_v02; /* Type */ /** @} @@ -1240,9 +1225,8 @@ typedef enum { eQMI_LOC_NI_SUPL_POSMETHOD_AFLT_V02 = 6, /**< Advanced forward link trilateration. */ eQMI_LOC_NI_SUPL_POSMETHOD_ECID_V02 = 7, /**< Exclusive chip ID. */ eQMI_LOC_NI_SUPL_POSMETHOD_EOTD_V02 = 8, /**< Enhnaced observed time difference. */ - eQMI_LOC_NI_SUPL_POSMETHOD_OTDOA_V02 = 9, /**< Observed time delay of arrival. - No position. */ - eQMI_LOC_NI_SUPL_POSMETHOD_NO_POSITION_V02 = 10, + eQMI_LOC_NI_SUPL_POSMETHOD_OTDOA_V02 = 9, /**< Observed time delay of arrival. */ + eQMI_LOC_NI_SUPL_POSMETHOD_NO_POSITION_V02 = 10, /**< No position. */ QMILOCNISUPLPOSMETHODENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiSuplPosMethodEnumT_v02; /** @@ -1271,9 +1255,8 @@ typedef enum { eQMI_LOC_NI_SS_POLISH_V02 = 26, /**< Language is Polish. */ eQMI_LOC_NI_SS_LANGUAGE_UNSPEC_V02 = 27, /**< Language is unspecified. */ eQMI_LOC_NI_SUPL_UTF8_V02 = 28, /**< Encoding is UTF 8. */ - eQMI_LOC_NI_SUPL_UCS2_V02 = 29, /**< Encoding is UCS 2. - Encoding is GSM default. */ - eQMI_LOC_NI_SUPL_GSM_DEFAULT_V02 = 30, + eQMI_LOC_NI_SUPL_UCS2_V02 = 29, /**< Encoding is UCS 2. */ + eQMI_LOC_NI_SUPL_GSM_DEFAULT_V02 = 30, /**< Encoding is GSM default. */ QMILOCNIDATACODINGSCHEMEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiDataCodingSchemeEnumT_v02; /** @@ -1292,9 +1275,8 @@ typedef enum { eQMI_LOC_NI_SUPL_FORMAT_SIP_URL_V02 = 4, /**< SUPL SIP URL format. */ eQMI_LOC_NI_SUPL_FORMAT_MIN_V02 = 5, /**< SUPL MIN format. */ eQMI_LOC_NI_SUPL_FORMAT_MDN_V02 = 6, /**< SUPL MDN format. */ - eQMI_LOC_NI_SUPL_FORMAT_IMSPUBLIC_IDENTITY_V02 = 7, /**< SUPL IMS public identity - SUPL unknown format. */ - eQMI_LOC_NI_SUPL_FORMAT_OSS_UNKNOWN_V02 = 2147483647, + eQMI_LOC_NI_SUPL_FORMAT_IMSPUBLIC_IDENTITY_V02 = 7, /**< SUPL IMS public identity */ + eQMI_LOC_NI_SUPL_FORMAT_OSS_UNKNOWN_V02 = 2147483647, /**< SUPL unknown format. */ QMILOCNISUPLFORMATENUMTYPE_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiSuplFormatEnumType_v02; /** @@ -1309,8 +1291,7 @@ typedef struct { qmiLocNiSuplFormatEnumType_v02 formatType; /**< Format of the formatted string. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- FORMAT_LOGICAL_NAME \item 0x00000001 -- FORMAT_EMAIL_ADDRESS \item 0x00000002 -- FORMAT_MSISDN @@ -1321,14 +1302,14 @@ typedef struct { \item 0x00000007 -- FORMAT_IMSPUBLIC_IDENTITY \item 0x7FFFFFFF -- FORMAT_OSS_UNKNOWN \vspace{-0.18in} \end{itemize1} - */ + */ uint32_t formattedString_len; /**< Must be set to # of elements in formattedString */ uint8_t formattedString[QMI_LOC_NI_MAX_CLIENT_NAME_LENGTH_V02]; /**< Formatted string. \n - Type: Byte array \n - Maximum string length: 64 - */ + */ }qmiLocNiSuplFormattedStringStructT_v02; /* Type */ /** @} @@ -1351,24 +1332,24 @@ typedef struct { - 0x01 -- QOP_HORZ_ACC_VALID \n - 0x02 -- QOP_VER_ACC_VALID \n - 0x04 -- QOP_MAXAGE_VALID \n - - 0x08 -- QOP_DELAY_VALID */ + - 0x08 -- QOP_DELAY_VALID*/ uint8_t horizontalAccuracy; /**< Horizontal accuracy. \n - - Units: Meters */ + - Units: Meters */ uint8_t verticalAccuracy; /**< Vertical accuracy. \n - - Units: Meters */ + - Units: Meters */ uint16_t maxLocAge; /**< Maximum age of the location if the engine sends a previously computed position. \n - - Units: Seconds */ + - Units: Seconds */ uint8_t delay; /**< Delay the server is willing to tolerate for the fix. \n - - Units: Seconds */ + - Units: Seconds */ }qmiLocNiSuplQopStructT_v02; /* Type */ /** @} @@ -1384,10 +1365,10 @@ typedef uint8_t qmiLocServerAddrTypeMaskT_v02; typedef struct { uint32_t addr; - /**< IPV4 address. */ + /**< IPV4 address. */ uint16_t port; - /**< IPV4 port. */ + /**< IPV4 port. */ }qmiLocIpV4AddrStructType_v02; /* Type */ /** @} @@ -1401,10 +1382,10 @@ typedef struct { uint16_t addr[QMI_LOC_IPV6_ADDR_LENGTH_V02]; /**< IPV6 address. \n - Type: Array of unsigned integers \n - - Maximum length of the array: 8 */ + - Maximum length of the array: 8 */ uint32_t port; - /**< IPV6 port. */ + /**< IPV6 port. */ }qmiLocIpV6AddrStructType_v02; /* Type */ /** @} @@ -1422,13 +1403,13 @@ typedef struct { - 0x01 -- IPV4 \n - 0x02 -- IPV6 \n - 0x04 -- URL - */ + */ qmiLocIpV4AddrStructType_v02 ipv4Addr; - /**< IPV4 address and port. */ + /**< IPV4 address and port. */ qmiLocIpV6AddrStructType_v02 ipv6Addr; - /**< IPV6 address and port. */ + /**< IPV6 address and port. */ char urlAddr[QMI_LOC_MAX_SERVER_ADDR_LENGTH_V02 + 1]; /**< URL. @@ -1436,7 +1417,7 @@ typedef struct { \item Type: NULL-terminated string \item Maximum string length (including NULL terminator): 256 \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocNiSuplServerInfoStructT_v02; /* Type */ /** @} @@ -1486,8 +1467,7 @@ typedef struct { qmiLocNiSuplNotifyVerifyValidMaskT_v02 valid_flags; /**< Indicates which of the following fields are present in this value. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- SUPL_SERVER_INFO \item 0x00000002 -- SUPL_SESSION_ID \item 0x00000004 -- SUPL_HASH @@ -1498,27 +1478,26 @@ typedef struct { \item 0x00000080 -- SUPL_QOP \item 0x00000100 -- SUPL_USER_RESP_TIMER \vspace{-0.18in} \end{itemize1} - */ + */ qmiLocNiSuplServerInfoStructT_v02 suplServerInfo; - /**< SUPL server information. */ + /**< 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 - - Maximum length of the array: 4 */ + - 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 - Type: Array of unsigned integers \n - - Length of the array: 8 */ + - Length of the array: 8 */ qmiLocNiSuplPosMethodEnumT_v02 posMethod; /**< GPS mode to be used for the fix. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- AGPS_SETASSISTED \item 0x00000002 -- AGPS_SETBASED \item 0x00000003 -- AGPS_SETASSISTED_PREF @@ -1530,14 +1509,13 @@ typedef struct { \item 0x00000009 -- OTDOA \item 0x0000000A -- NO_POSITION \vspace{-0.18in} \end{itemize1} - */ + */ qmiLocNiDataCodingSchemeEnumT_v02 dataCodingScheme; /**< Data coding scheme applies to both the requestor ID and the client name. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x0000000C -- NI_SS_GERMAN \item 0x0000000D -- NI_SS_ENGLISH \item 0x0000000E -- NI_SS_ITALIAN @@ -1558,22 +1536,22 @@ typedef struct { \item 0x0000001D -- NI_SUPL_UCS2 \item 0x0000001E -- NI_SUPL_GSM_DEFAULT \vspace{-0.18in} \end{itemize1} - */ + */ qmiLocNiSuplFormattedStringStructT_v02 requestorId; /**< Requestor ID. The encoding scheme for requestor_id is specified in - the dataCodingScheme field. */ + the dataCodingScheme field. */ qmiLocNiSuplFormattedStringStructT_v02 clientName; /**< Client name. The encoding scheme for client_name is specified in - the dataCodingScheme field. */ + the dataCodingScheme field. */ qmiLocNiSuplQopStructT_v02 suplQop; - /**< SUPL QoP. */ + /**< SUPL QoP. */ uint16_t userResponseTimer; /**< Time to wait for the user to respond. \n - - Units: Seconds */ + - Units: Seconds*/ }qmiLocNiSuplNotifyVerifyStructT_v02; /* Type */ /** @} @@ -1585,9 +1563,8 @@ typedef struct { typedef enum { QMILOCNILOCATIONTYPEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_NI_LOCATIONTYPE_CURRENT_LOCATION_V02 = 1, /**< Current location. */ - eQMI_LOC_NI_LOCATIONTYPE_CURRENT_OR_LAST_KNOWN_LOCATION_V02 = 2, /**< Last known location; may be current location. - Initial location. */ - eQMI_LOC_NI_LOCATIONTYPE_INITIAL_LOCATION_V02 = 3, + eQMI_LOC_NI_LOCATIONTYPE_CURRENT_OR_LAST_KNOWN_LOCATION_V02 = 2, /**< Last known location; may be current location. */ + eQMI_LOC_NI_LOCATIONTYPE_INITIAL_LOCATION_V02 = 3, /**< Initial location. */ QMILOCNILOCATIONTYPEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiLocationTypeEnumT_v02; /** @@ -1602,8 +1579,7 @@ typedef struct { qmiLocNiDataCodingSchemeEnumT_v02 dataCodingScheme; /**< Identifies the coding scheme of the coded string. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x0000000C -- NI_SS_GERMAN \item 0x0000000D -- NI_SS_ENGLISH \item 0x0000000E -- NI_SS_ITALIAN @@ -1625,13 +1601,13 @@ typedef struct { \item 0x0000001E -- NI_SUPL_GSM_DEFAULT \vspace{-0.18in} \end{itemize1} - */ + */ uint32_t codedString_len; /**< Must be set to # of elements in codedString */ uint8_t codedString[QMI_LOC_NI_CODEWORD_MAX_LENGTH_V02]; /**< Coded string. \n - Type: Array of bytes \n - - Maximum string length: 20 */ + - Maximum string length: 20 */ }qmiLocNiUmtsCpCodedStringStructT_v02; /* Type */ /** @} @@ -1682,8 +1658,7 @@ typedef struct { qmiLocNiUmtsCpNotifyVerifyValidMaskT_v02 valid_flags; /**< Fields that are valid in this value. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x0001 -- INVOKE_ID_MASK \item 0x0002 -- DATA_CODING_SCHEME_MASK \item 0x0004 -- NOTIFICATION_TEXT_MASK @@ -1694,17 +1669,16 @@ typedef struct { \item 0x0080 -- SERVICE_TYPE_MASK \item 0x0100 -- USER_RESP_TIMER_MASK \vspace{-0.18in} \end{itemize1} - */ + */ uint8_t invokeId; - /**< Supplementary Services invoke ID. */ + /**< Supplementary Services invoke ID. */ qmiLocNiDataCodingSchemeEnumT_v02 dataCodingScheme; /**< Type of data encoding scheme for the text. Applies to both the notification text and the client address. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x0000000C -- NI_SS_GERMAN \item 0x0000000D -- NI_SS_ENGLISH \item 0x0000000E -- NI_SS_ITALIAN @@ -1725,46 +1699,45 @@ typedef struct { \item 0x0000001D -- NI_SUPL_UCS2 \item 0x0000001E -- NI_SUPL_GSM_DEFAULT \vspace{-0.18in} \end{itemize1} - */ + */ uint32_t notificationText_len; /**< Must be set to # of elements in notificationText */ 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 - - Maximum array length: 64 */ + - 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 - - Maximum array length: 20 */ + - Maximum array length: 20 */ qmiLocNiLocationTypeEnumT_v02 locationType; /**< Location type. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- CURRENT_LOCATION \item 0x00000002 -- CURRENT_OR_LAST_KNOWN_LOCATION \item 0x00000004 -- INITIAL_LOCATION \vspace{-0.18in} \end{itemize1} - */ + */ qmiLocNiUmtsCpCodedStringStructT_v02 requestorId; /**< Requestor ID; the encoding method is specified in the - qmiLocNiUmtsCpCodedStringStructT.dataCodingScheme field. */ + qmiLocNiUmtsCpCodedStringStructT.dataCodingScheme field. */ qmiLocNiUmtsCpCodedStringStructT_v02 codewordString; /**< Codeword string; the encoding method is specified in the - qmiLocNiUmtsCpCodedStringStructT.dataCodingScheme field. */ + qmiLocNiUmtsCpCodedStringStructT.dataCodingScheme field. */ uint8_t lcsServiceTypeId; - /**< Service type ID. */ + /**< Service type ID. */ uint16_t userResponseTimer; /**< Time to wait for the user to respond. \n - - Units: Seconds */ + - Units: Seconds */ }qmiLocNiUmtsCpNotifyVerifyStructT_v02; /* Type */ /** @} @@ -1788,16 +1761,15 @@ typedef enum { typedef struct { qmiLocNiVxNotifyVerifyStructT_v02 niVxReq; - /**< Ongoing NI session request; this information is currently not filled. */ + /**< Ongoing NI session request; this information is currently not filled. */ qmiLocNiServiceInteractionEnumT_v02 serviceInteractionType; /**< Service interaction type specified in qmiLocNiServiceInteractionEnumT. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- ONGOING_NI_INCOMING_MO \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocNiVxServiceInteractionStructT_v02; /* Type */ /** @} @@ -1832,10 +1804,9 @@ typedef enum { 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 - triggered session. - The SUPL INIT message indicates a request for an area event triggered session. */ - eQMI_LOC_SUPL_VER_2_EXT_TRIGGER_TYPE_AREA_EVENT_V02 = 1, + 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; /** @@ -1859,8 +1830,7 @@ typedef struct { part of the Location ID or Multiple Location IDs parameter in the SUPL_POS_INIT message (see \hyperref[S4]{[S4]}). - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x0001 -- SUPPORTED_NETWORK_WLAN \item 0x0002 -- SUPPORTED_NETWORK_GSM \item 0x0004 -- SUPPORTED_NETWORK_WCDMA @@ -1872,18 +1842,17 @@ typedef struct { \item 0x0100 -- SUPPORTED_NETWORK_HISTORIC \item 0x0200 -- SUPPORTED_NETWORK_NONSVRV \vspace{-0.18in} \end{itemize1} - */ + */ qmiLocNiSuplVer2ExtTriggerTypeEnumT_v02 triggerType; /**< Specifies the type of session trigger requested in the SUPL_POS_INIT message (see \hyperref[S4]{[S4]}). - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0xFFFFFFFF -- TRIGGER_TYPE_SINGLE_SHOT \item 0x00000000 -- TRIGGER_TYPE_PERIODIC \item 0x00000001 -- TRIGGER_TYPE_AREA_EVENT - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ qmiLocNiSuplVer2ExtGnssTypeMaskT_v02 gnssType; /**< Specifies which GNSS technologies are allowed as positioning @@ -1896,7 +1865,7 @@ typedef struct { - 0x0008 -- GNSS_SBAS \n - 0x0010 -- GNSS_QZSS \n - 0x0020 -- GNSS_MODERN_GPS - */ + */ }qmiLocNiSuplVer2ExtStructT_v02; /* Type */ /** @} @@ -1913,39 +1882,38 @@ typedef struct { qmiLocNiNotifyVerifyEnumT_v02 notificationType; /**< Type of notification/verification performed. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- NO_NOTIFY_NO_VERIFY \item 0x00000002 -- NOTIFY_ONLY \item 0x00000003 -- ALLOW_NO_RESP \item 0x00000004 -- NOT_ALLOW_NO_RESP \item 0x00000005 -- PRIVACY_OVERRIDE \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* 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. */ + /**< \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. */ + /**< \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. */ + /**< \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. */ + /**< \n Optional NI service interaction payload. */ /* Optional */ /* Network Initiated SUPL Version 2 Extension */ @@ -1953,7 +1921,7 @@ typedef struct { qmiLocNiSuplVer2ExtStructT_v02 NiSuplVer2ExtInd; /**< \n Optional NI SUPL Version 2 Extension payload. When present, this payload is to be used in conjunction with the SUPL - indication payload. */ + indication payload. */ }qmiLocEventNiNotifyVerifyReqIndMsgT_v02; /* Message */ /** @} @@ -1969,7 +1937,7 @@ typedef struct { \begin{itemize1} \item Type: NULL-terminated string \item Maximum string length (including NULL terminator): 256 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocAssistanceServerUrlStructT_v02; /* Type */ /** @} @@ -1983,7 +1951,7 @@ typedef struct { uint32_t delayThreshold; /**< The time server is to be skipped if a one-way delay to the server exceeds this threshold. \n - - Units: Milliseconds */ + - Units: Milliseconds */ uint32_t timeServerList_len; /**< Must be set to # of elements in timeServerList */ qmiLocAssistanceServerUrlStructT_v02 timeServerList[QMI_LOC_MAX_NTP_SERVERS_V02]; @@ -1991,7 +1959,7 @@ typedef struct { 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 */ + - Maximum server list items: 3 */ }qmiLocTimeServerListStructT_v02; /* Type */ /** @} @@ -2008,7 +1976,7 @@ typedef struct { 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 - location service for NTP time. */ + location service for NTP time. */ }qmiLocEventInjectTimeReqIndMsgT_v02; /* Message */ /** @} @@ -2020,10 +1988,10 @@ typedef struct { typedef struct { uint32_t maxFileSizeInBytes; - /**< Maximum allowable predicted orbits file size (in bytes). */ + /**< Maximum allowable predicted orbits file size (in bytes). */ uint32_t maxPartSize; - /**< Maximum allowable predicted orbits file chunk size (in bytes). */ + /**< Maximum allowable predicted orbits file chunk size (in bytes). */ }qmiLocPredictedOrbitsAllowedSizesStructT_v02; /* Type */ /** @} @@ -2040,7 +2008,7 @@ typedef struct { 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 - - Maximum number of servers that can be specified: 3 */ + - Maximum number of servers that can be specified: 3 */ }qmiLocPredictedOrbitsServerListStructT_v02; /* Type */ /** @} @@ -2055,14 +2023,14 @@ typedef struct { /* Mandatory */ /* Allowed Sizes */ qmiLocPredictedOrbitsAllowedSizesStructT_v02 allowedSizes; - /**< \n Maximum part and file size allowed to be injected in the engine. */ + /**< \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 - predicted orbits data. */ + predicted orbits data. */ }qmiLocEventInjectPredictedOrbitsReqIndMsgT_v02; /* Message */ /** @} @@ -2084,7 +2052,7 @@ typedef struct { \item Range: -90.0 to 90.0 \begin{itemize1} \item Positive values indicate northern latitude \item Negative values indicate southern latitude - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ /* Mandatory */ /* Longitude */ @@ -2096,13 +2064,13 @@ typedef struct { \item Range: -180.0 to 180.0 \begin{itemize1} \item Positive values indicate eastern longitude \item Negative values indicate western longitude - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ /* Mandatory */ /* Circular Horizontal Uncertainty */ float horUncCircular; /**< Horizontal position uncertainty (circular).\n - - Units: Meters */ + - Units: Meters */ /* Mandatory */ /* UTC Timestamp */ @@ -2110,7 +2078,7 @@ typedef struct { /**< UTC timestamp. \begin{itemize1} \item Units: Milliseconds since Jan. 1, 1970 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocEventInjectPositionReqIndMsgT_v02; /* Message */ /** @} @@ -2121,9 +2089,8 @@ typedef struct { */ typedef enum { QMILOCENGINESTATEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_ENGINE_STATE_ON_V02 = 1, /**< Location engine is on. - Location engine is off. */ - eQMI_LOC_ENGINE_STATE_OFF_V02 = 2, + eQMI_LOC_ENGINE_STATE_ON_V02 = 1, /**< Location engine is on. */ + eQMI_LOC_ENGINE_STATE_OFF_V02 = 2, /**< Location engine is off. */ QMILOCENGINESTATEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocEngineStateEnumT_v02; /** @@ -2144,7 +2111,7 @@ typedef struct { Valid values: \n - 0x00000001 -- ON \n - 0x00000002 -- OFF - */ + */ }qmiLocEventEngineStateIndMsgT_v02; /* Message */ /** @} @@ -2155,9 +2122,8 @@ typedef struct { */ typedef enum { QMILOCFIXSESSIONSTATEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_FIX_SESSION_STARTED_V02 = 1, /**< Location fix session has started. - Location fix session has ended. */ - eQMI_LOC_FIX_SESSION_FINISHED_V02 = 2, + eQMI_LOC_FIX_SESSION_STARTED_V02 = 1, /**< Location fix session has started. */ + eQMI_LOC_FIX_SESSION_FINISHED_V02 = 2, /**< Location fix session has ended. */ QMILOCFIXSESSIONSTATEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocFixSessionStateEnumT_v02; /** @@ -2178,7 +2144,7 @@ typedef struct { Valid values: \n - 0x00000001 -- STARTED \n - 0x00000002 -- FINISHED - */ + */ /* Optional */ /* Session ID */ @@ -2187,7 +2153,7 @@ typedef struct { /**< ID of the session that was specified in the Start request. This may not be specified for a fix session corresponding to a network-initiated request. \n - - Range: 0 to 255 */ + - Range: 0 to 255 */ }qmiLocEventFixSessionStateIndMsgT_v02; /* Message */ /** @} @@ -2199,9 +2165,8 @@ typedef struct { typedef enum { QMILOCWIFIREQUESTENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_WIFI_START_PERIODIC_HI_FREQ_FIXES_V02 = 0, /**< Start periodic fixes with high frequency. */ - eQMI_LOC_WIFI_START_PERIODIC_KEEP_WARM_V02 = 1, /**< Keep warm for low frequency fixes without data downloads. - Stop periodic fixes request. */ - eQMI_LOC_WIFI_STOP_PERIODIC_FIXES_V02 = 2, + eQMI_LOC_WIFI_START_PERIODIC_KEEP_WARM_V02 = 1, /**< Keep warm for low frequency fixes without data downloads. */ + eQMI_LOC_WIFI_STOP_PERIODIC_FIXES_V02 = 2, /**< Stop periodic fixes request. */ QMILOCWIFIREQUESTENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocWifiRequestEnumT_v02; /** @@ -2219,20 +2184,19 @@ typedef struct { qmiLocWifiRequestEnumT_v02 requestType; /**< Request type as specified in qmiWifiRequestEnumT. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- START_PERIODIC_HI_FREQ_FIXES \item 0x00000001 -- START_PERIODIC_KEEP_WARM \item 0x00000002 -- STOP_PERIODIC_FIXES \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Time Between Fixes */ uint8_t tbfInMs_valid; /**< Must be set to true if tbfInMs is being passed */ uint16_t tbfInMs; /**< Time between fixes for a periodic request.\n - - Units: Milliseconds */ + - Units: Milliseconds */ }qmiLocEventWifiReqIndMsgT_v02; /* Message */ /** @} @@ -2249,16 +2213,16 @@ typedef struct { samplingFrequency = samplesPerBatch * batchesPerSecond \n - samplesPerBatch must be a non-zero positive value. - */ + samplesPerBatch must be a nonzero positive value. + */ uint16_t batchesPerSecond; /**< Number of sensor-data batches the GNSS location engine is to receive - per second. The rate is specified in integral number of batches per + per second. The rate is specified in an integral number of batches per second (Hz). \n - batchesPerSecond must be a non-zero positive value. - */ + batchesPerSecond must be a nonzero positive value. + */ }qmiLocSensorControlConfigSamplingSpecStructT_v02; /* Type */ /** @} @@ -2273,20 +2237,19 @@ typedef struct { /**< Whether the GNSS location engine is ready to accept data from this sensor. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x01 (TRUE) -- GNSS location engine is ready to accept sensor data \item 0x00 (FALSE) -- GNSS location engine is not ready to accept sensor data \vspace{-0.18in} \end{itemize1} - */ + */ qmiLocSensorControlConfigSamplingSpecStructT_v02 dataFrequency; /**< Rate at which the GNSS engine would like the sensor to be sampled. \n The rate is specified in integral number of samples per second (Hz)\n and batches per second. - */ + */ }qmiLocSensorReadyStatusStructT_v02; /* Type */ /** @} @@ -2305,7 +2268,7 @@ typedef struct { qmiLocSensorReadyStatusStructT_v02 accelReady; /**< \n Whether the GNSS location engine is ready to accept accelerometer sensor data. - */ + */ /* Optional */ /* Gyroscope Accept Ready */ @@ -2313,7 +2276,7 @@ typedef struct { qmiLocSensorReadyStatusStructT_v02 gyroReady; /**< \n Whether the GNSS location engine is ready to accept gyroscope sensor data. - */ + */ }qmiLocEventSensorStreamingReadyStatusIndMsgT_v02; /* Message */ /** @} @@ -2332,7 +2295,7 @@ typedef struct { /**< 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. */ + This TLV must be echoed back in the Time Sync Inject request. */ }qmiLocEventTimeSyncReqIndMsgT_v02; /* Message */ /** @} @@ -2352,7 +2315,7 @@ typedef struct { \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 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1}*/ }qmiLocEventSetSpiStreamingReportIndMsgT_v02; /* Message */ /** @} @@ -2363,9 +2326,8 @@ typedef struct { */ 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. - Bring up the WWAN type used for AGNSS connections. */ - eQMI_LOC_WWAN_TYPE_AGNSS_V02 = 1, + 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. */ QMILOCWWANTYPEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocWWANTypeEnumT_v02; /** @@ -2377,9 +2339,8 @@ typedef enum { */ typedef enum { QMILOCSERVERREQUESTENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_SERVER_REQUEST_OPEN_V02 = 1, /**< Open a connection to the location server. - Close a connection to the location server. */ - eQMI_LOC_SERVER_REQUEST_CLOSE_V02 = 2, + eQMI_LOC_SERVER_REQUEST_OPEN_V02 = 1, /**< Open a connection to the location server. */ + eQMI_LOC_SERVER_REQUEST_CLOSE_V02 = 2, /**< Close a connection to the location server. */ QMILOCSERVERREQUESTENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocServerRequestEnumT_v02; /** @@ -2396,7 +2357,7 @@ typedef struct { /* Mandatory */ /* Connection Handle */ uint32_t connHandle; - /**< Identifies a connection across Open and Close request events. */ + /**< Identifies a connection across Open and Close request events. */ /* Mandatory */ /* Request Type */ @@ -2406,18 +2367,18 @@ typedef struct { Valid values: \n - 0x00000001 -- OPEN \n - 0x00000002 -- CLOSE - */ + */ /* Mandatory */ /* WWAN Type */ qmiLocWWANTypeEnumT_v02 wwanType; /**< Identifies the WWAN type for this request. \n - Valid values: - \begin{itemize1} + + Valid values: \begin{itemize1} \item 0x00000000 -- WWAN_TYPE_INTERNET \item 0x00000001 -- WWAN_TYPE_AGNSS \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocEventLocationServerConnectionReqIndMsgT_v02; /* Message */ /** @} @@ -2429,10 +2390,9 @@ typedef struct { typedef enum { QMILOCNIGEOFENCEOPERATIONENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_NI_GEOFENCE_ADDED_V02 = 1, /**< An NI Geofence was added. */ - eQMI_LOC_NI_GEOFENCE_DELETED_V02 = 2, /**< An NI Geofence was deleted. - An NI Geofence was edited. The control point can query the + eQMI_LOC_NI_GEOFENCE_DELETED_V02 = 2, /**< An NI Geofence was deleted. */ + eQMI_LOC_NI_GEOFENCE_EDITED_V02 = 3, /**< An NI Geofence was edited. The control point can query the Geofence to find the its current state. */ - eQMI_LOC_NI_GEOFENCE_EDITED_V02 = 3, QMILOCNIGEOFENCEOPERATIONENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiGeofenceOperationEnumT_v02; /** @@ -2450,19 +2410,19 @@ typedef struct { /* Geofence ID */ uint32_t geofenceId; /**< ID of the Geofence for which this - notification was generated. */ + notification was generated. */ /* Mandatory */ /* Operation Type */ qmiLocNiGeofenceOperationEnumT_v02 operationType; - /**< Operation for which this notification was generated. \n - Valid values: - \begin{itemize1} + /**< Operation for which this notification was generated. + + Valid values: \begin{itemize1} \item 0x00000001 -- NI_GEOFENCE_ADDED \item 0x00000002 -- NI_GEOFENCE_DELETED \item 0x00000003 -- NI_GEOFENCE_EDITED \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocEventNiGeofenceNotificationIndMsgT_v02; /* Message */ /** @} @@ -2478,9 +2438,8 @@ typedef enum { eQMI_LOC_GEOFENCE_GEN_ALERT_GNSS_AVAILABLE_V02 = 2, /**< GNSS is now available and GNSS postion fixes can be used to monitor Geofences. */ eQMI_LOC_GEOFENCE_GEN_ALERT_OOS_V02 = 3, /**< The engine is out of service and no cell ID coverage - information is available. - The engine has an invalid time. */ - eQMI_LOC_GEOFENCE_GEN_ALERT_TIME_INVALID_V02 = 4, + information is available. */ + eQMI_LOC_GEOFENCE_GEN_ALERT_TIME_INVALID_V02 = 4, /**< The engine has an invalid time. */ QMILOCGEOFENCEGENALERTENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocGeofenceGenAlertEnumT_v02; /** @@ -2497,15 +2456,15 @@ typedef struct { /* Mandatory */ /* Geofence General Alert */ qmiLocGeofenceGenAlertEnumT_v02 geofenceAlert; - /**< Specifies the Geofence general alert type. \n - Valid values: - \begin{itemize1} + /**< Specifies the Geofence general alert type. + + Valid values: \begin{itemize1} \item 0x00000001 -- GEOFENCE_GEN_ALERT_GNSS_UNAVAILABLE \item 0x00000002 -- GEOFENCE_GEN_ALERT_GNSS_AVAILABLE \item 0x00000003 -- GEOFENCE_GEN_ALERT_OOS \item 0x00000004 -- GEOFENCE_GEN_ALERT_TIME_INVALID \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocEventGeofenceGenAlertIndMsgT_v02; /* Message */ /** @} @@ -2516,9 +2475,8 @@ typedef struct { */ typedef enum { QMILOCGEOFENCEBREACHTYPEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_GEOFENCE_BREACH_TYPE_ENTERING_V02 = 1, /**< Denotes that a client entered the Geofence. - Denotes that a client left the Geofence. */ - eQMI_LOC_GEOFENCE_BREACH_TYPE_LEAVING_V02 = 2, + eQMI_LOC_GEOFENCE_BREACH_TYPE_ENTERING_V02 = 1, /**< Denotes that a client entered the Geofence. */ + eQMI_LOC_GEOFENCE_BREACH_TYPE_LEAVING_V02 = 2, /**< Denotes that a client left the Geofence. */ QMILOCGEOFENCEBREACHTYPEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocGeofenceBreachTypeEnumT_v02; /** @@ -2535,7 +2493,7 @@ typedef struct { /**< UTC timestamp. \begin{itemize1} \item Units: Milliseconds since Jan. 1, 1970 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Latitude */ double latitude; @@ -2546,7 +2504,7 @@ typedef struct { \item Range: -90.0 to 90.0 \begin{itemize1} \item Positive values indicate northern latitude \item Negative values indicate southern latitude - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ /* Longitude */ double longitude; @@ -2557,23 +2515,23 @@ typedef struct { \item Range: -180.0 to 180.0 \begin{itemize1} \item Positive values indicate eastern longitude \item Negative values indicate western longitude - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ /* Horizontal Elliptical Uncertainty (Semi-Minor Axis) */ float horUncEllipseSemiMinor; /**< Semi-minor axis of horizontal elliptical uncertainty.\n - - Units: Meters */ + - Units: Meters */ /* Horizontal Elliptical Uncertainty (Semi-Major Axis) */ float horUncEllipseSemiMajor; /**< Semi-major axis of horizontal elliptical uncertainty.\n - - Units: Meters */ + - Units: Meters */ /* Elliptical Horizontal Uncertainty Azimuth */ float horUncEllipseOrientAzimuth; /**< Elliptical horizontal uncertainty azimuth of orientation.\n - Units: Decimal degrees \n - - Range: 0 to 180 */ + - Range: 0 to 180 */ /* Horizontal Speed validity bit */ uint8_t speedHorizontal_valid; @@ -2583,12 +2541,12 @@ typedef struct { \item 0x01 (TRUE) -- Horizontal speed is valid \item 0x00 (FALSE) -- Horizontal speed is invalid and is to be ignored - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Horizontal Speed */ float speedHorizontal; /**< Horizontal speed.\n - - Units: Meters/second */ + - Units: Meters/second */ /* Altitude validity bit */ uint8_t altitudeWrtEllipsoid_valid; @@ -2599,13 +2557,13 @@ typedef struct { \item 0x00 (FALSE) -- Altitude field is invalid and is to be ignored \vspace{-0.18in} \end{itemize1} - */ + */ /* Altitude With Respect to Ellipsoid */ float altitudeWrtEllipsoid; /**< Altitude with respect to the WGS84 ellipsoid.\n - Units: Meters \n - - Range: -500 to 15883 */ + - Range: -500 to 15883 */ /* Vertical Uncertainty validity bit */ uint8_t vertUnc_valid; @@ -2615,12 +2573,12 @@ typedef struct { \item 0x01 (TRUE) -- Vertical Uncertainty field is valid \item 0x00 (FALSE) -- Vertical Uncertainty field is invalid and is to be ignored - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Vertical Uncertainty */ float vertUnc; /**< Vertical uncertainty.\n - - Units: Meters */ + - Units: Meters */ /* Vertical Speed validity bit */ uint8_t speedVertical_valid; @@ -2630,12 +2588,12 @@ typedef struct { \item 0x01 (TRUE) -- Vertical Speed field is valid \item 0x00 (FALSE) -- Vertical Speed field is invalid and is to be ignored - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Vertical Speed */ float speedVertical; /**< Vertical speed.\n - - Units: Meters/second */ + - Units: Meters/second */ /* heading validity bit */ uint8_t heading_valid; @@ -2645,13 +2603,13 @@ typedef struct { \item 0x01 (TRUE) -- Heading field is valid \item 0x00 (FALSE) -- Heading field is invalid and is to be ignored - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Heading */ float heading; /**< Heading.\n - Units: Degrees \n - - Range: 0 to 359.999 */ + - Range: 0 to 359.999 */ }qmiLocGeofencePositionStructT_v02; /* Type */ /** @} @@ -2668,19 +2626,18 @@ typedef struct { /* Geofence ID */ uint32_t geofenceId; /**< ID of the Geofence for which this - notification was generated. */ + notification was generated. */ /* Mandatory */ /* Geofence Breach Type */ qmiLocGeofenceBreachTypeEnumT_v02 breachType; /**< The type of breach that generated this event. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- GEOFENCE_BREACH_TYPE_ENTERING \item 0x00000002 -- GEOFENCE_BREACH_TYPE_LEAVING \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Geofence Position */ @@ -2690,7 +2647,7 @@ typedef struct { 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 - Add Circular Geofence request. */ + Add Circular Geofence request. */ }qmiLocEventGeofenceBreachIndMsgT_v02; /* Message */ /** @} @@ -2708,10 +2665,9 @@ typedef enum { eQMI_LOC_ENGINE_BUSY_V02 = 4, /**< Request failed because the engine is busy. */ eQMI_LOC_PHONE_OFFLINE_V02 = 5, /**< Request failed because the phone is offline. */ eQMI_LOC_TIMEOUT_V02 = 6, /**< Request failed because it timed out. */ - eQMI_LOC_CONFIG_NOT_SUPPORTED_V02 = 7, /**< Request failed because an undefined configuration was requested - Request failed because the engine could not allocate sufficent + eQMI_LOC_CONFIG_NOT_SUPPORTED_V02 = 7, /**< Request failed because an undefined configuration was requested */ + eQMI_LOC_INSUFFICIENT_MEMORY_V02 = 8, /**< Request failed because the engine could not allocate sufficent memory for the request. */ - eQMI_LOC_INSUFFICIENT_MEMORY_V02 = 8, QMILOCSTATUSENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocStatusEnumT_v02; /** @@ -2735,8 +2691,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Revision request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -2745,14 +2700,14 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Mandatory */ /* 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 - backward compatible. */ + backward compatible. */ /* Optional */ /* GNSS Measurement Engine Firmware Version String */ @@ -2766,7 +2721,7 @@ typedef struct { \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. */ + platforms, this optional TLV is not provided. */ /* Optional */ /* GNSS Hosted Software Version String */ @@ -2781,7 +2736,7 @@ typedef struct { \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 - is not provided. */ + is not provided. */ /* Optional */ /* GNSS Software Version String */ @@ -2791,7 +2746,7 @@ typedef struct { \begin{itemize1} \item Type: NULL-terminated string \item Maximum string length (including NULL terminator): 256 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocGetServiceRevisionIndMsgT_v02; /* Message */ /** @} @@ -2814,8 +2769,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Fix Criteria request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -2824,7 +2778,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Horizontal Accuracy */ @@ -2832,13 +2786,12 @@ typedef struct { qmiLocAccuracyLevelEnumT_v02 horizontalAccuracyLevel; /**< Horizontal accuracy level. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- LOW: Client requires low horizontal accuracy \item 0x00000002 -- MED: Client requires medium horizontal accuracy \item 0x00000003 -- HIGH: Client requires high horizontal accuracy \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Enable/Disable Intermediate Fixes */ @@ -2850,28 +2803,28 @@ typedef struct { generated at \n 1 Hz and are ON by default. If intermediate reports 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. \n - Valid values: - \begin{itemize1} + set to IN_PROGRESS for intermediate reports. + + Valid values: \begin{itemize1} \item 0x00000001 -- ON: Client is interested in receiving intermediate reports \item 0x00000002 -- OFF: Client is not interested in receiving intermediate reports \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Minimum Interval Between Fixes */ uint8_t minInterval_valid; /**< Must be set to true if minInterval is being passed */ uint32_t minInterval; /**< Time that must elapse before alerting the client. \n - - Units: Milliseconds */ + - Units: Milliseconds */ /* Optional */ /* 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. */ + /**< \n Application provider, name, and version.*/ }qmiLocGetFixCriteriaIndMsgT_v02; /* Message */ /** @} @@ -2883,9 +2836,8 @@ 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. - User did not respond to notify verify request. */ - eQMI_LOC_NI_LCS_NOTIFY_VERIFY_NORESP_V02 = 3, + 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. */ QMILOCNIUSERRESPENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocNiUserRespEnumT_v02; /** @@ -2904,58 +2856,56 @@ typedef struct { qmiLocNiUserRespEnumT_v02 userResp; /**< User accepted or denied. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- NOTIFY_VERIFY_ACCEPT \item 0x00000002 -- NOTIFY_VERIFY_DENY \item 0x00000003 -- NOTIFY_VERIFY_NORESP \vspace{-0.18in} \end{itemize1} - */ + */ /* Mandatory */ /* Notification Type */ qmiLocNiNotifyVerifyEnumT_v02 notificationType; /**< Type of notification/verification performed. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- NO_NOTIFY_NO_VERIF \item 0x00000002 -- NOTIFY_ONLY \item 0x00000003 -- ALLOW_NO_RESP \item 0x00000004 -- NOT_ALLOW_NO_RESP \item 0x00000005 -- PRIVACY_OVERRIDE \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* 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. */ + /**< \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. */ + /**< \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. */ + /**< \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. */ + /**< \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. */ + /**< \n Optional SUPL Version 2 Extension payload. */ }qmiLocNiUserRespReqMsgT_v02; /* Message */ /** @} @@ -2973,8 +2923,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the NI User Response request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -2983,7 +2932,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocNiUserRespIndMsgT_v02; /* Message */ /** @} @@ -3011,18 +2960,18 @@ typedef struct { /* Total Size */ uint32_t totalSize; /**< Total size of the predicted orbits data to be injected. \n - - Units: Bytes */ + - Units: Bytes */ /* Mandatory */ /* Total Parts */ uint16_t totalParts; /**< Total number of parts into which the predicted orbits data is - divided. */ + divided. */ /* Mandatory */ /* Part Number */ uint16_t partNum; - /**< Number of the current predicted orbits data part; starts at 1. */ + /**< Number of the current predicted orbits data part; starts at 1. */ /* Mandatory */ /* Data */ @@ -3031,7 +2980,7 @@ typedef struct { /**< Predicted orbits data. \n - Type: Array of bytes \n - Maximum length of the array: 1024 - */ + */ /* Optional */ /* Format Type */ @@ -3039,11 +2988,10 @@ typedef struct { qmiLocPredictedOrbitsDataFormatEnumT_v02 formatType; /**< Predicted orbits data format. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- PREDICTED_ORBITS_XTRA \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocInjectPredictedOrbitsDataReqMsgT_v02; /* Message */ /** @} @@ -3060,8 +3008,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Data Injection request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3070,14 +3017,14 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Part Number */ uint8_t partNum_valid; /**< Must be set to true if partNum is being passed */ uint16_t partNum; /**< Number of the predicted orbits data part for which this indication - is sent; starts at 1. */ + is sent; starts at 1. */ }qmiLocInjectPredictedOrbitsDataIndMsgT_v02; /* Message */ /** @} @@ -3100,8 +3047,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the query request for a predicted orbits data source. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3110,20 +3056,20 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Allowed Sizes */ uint8_t allowedSizes_valid; /**< Must be set to true if allowedSizes is being passed */ qmiLocPredictedOrbitsAllowedSizesStructT_v02 allowedSizes; - /**< \n Maximum part and file size allowed to be injected in the engine. */ + /**< \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 - predicted orbits data. */ + predicted orbits data. */ }qmiLocGetPredictedOrbitsDataSourceIndMsgT_v02; /* Message */ /** @} @@ -3143,12 +3089,12 @@ typedef struct { uint64_t startTimeInUTC; /**< Predicted orbits data is valid starting from this time. \n - Units: Seconds (since Jan. 1, 1970) - */ + */ uint16_t durationHours; /**< Duration from the start time for which the data is valid.\n - Units: Hours - */ + */ }qmiLocPredictedOrbitsDataValidityStructT_v02; /* Type */ /** @} @@ -3165,8 +3111,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the query request for predicted orbits data validity. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3175,7 +3120,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Validity Info */ @@ -3196,13 +3141,13 @@ typedef struct { /* UTC Time */ uint64_t timeUtc; /**< UTC time since Jan. 1, 1970.\n - - Units: Milliseconds */ + - Units: Milliseconds */ /* Mandatory */ /* Time Uncertainty */ uint32_t timeUnc; /**< Time uncertainty.\n - - Units: Milliseconds */ + - Units: Milliseconds */ }qmiLocInjectUtcTimeReqMsgT_v02; /* Message */ /** @} @@ -3219,8 +3164,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the UTC Time Injection request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3229,7 +3173,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocInjectUtcTimeIndMsgT_v02; /* Message */ /** @} @@ -3248,9 +3192,8 @@ typedef enum { eQMI_LOC_ALT_SRC_TERRESTRIAL_V02 = 5, /**< Terrestrial source. */ eQMI_LOC_ALT_SRC_TERRESTRIAL_HYBRID_V02 = 6, /**< Hybrid terrestrial source. */ eQMI_LOC_ALT_SRC_ALTITUDE_DATABASE_V02 = 7, /**< Altitude database is the source. */ - eQMI_LOC_ALT_SRC_BAROMETRIC_ALTIMETER_V02 = 8, /**< Barometric altimeter is the source. - Other sources. */ - eQMI_LOC_ALT_SRC_OTHER_V02 = 9, + eQMI_LOC_ALT_SRC_BAROMETRIC_ALTIMETER_V02 = 8, /**< Barometric altimeter is the source. */ + eQMI_LOC_ALT_SRC_OTHER_V02 = 9, /**< Other sources. */ QMILOCALTSRCENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocAltSrcEnumT_v02; /** @@ -3264,9 +3207,8 @@ typedef enum { QMILOCALTSRCLINKAGEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_ALT_SRC_LINKAGE_NOT_SPECIFIED_V02 = 0, /**< Not specified. */ eQMI_LOC_ALT_SRC_LINKAGE_FULLY_INTERDEPENDENT_V02 = 1, /**< Fully interdependent. */ - eQMI_LOC_ALT_SRC_LINKAGE_DEPENDS_ON_LAT_LONG_V02 = 2, /**< Depends on latitude and longitude. - Fully independent. */ - eQMI_LOC_ALT_SRC_LINKAGE_FULLY_INDEPENDENT_V02 = 3, + eQMI_LOC_ALT_SRC_LINKAGE_DEPENDS_ON_LAT_LONG_V02 = 2, /**< Depends on latitude and longitude. */ + eQMI_LOC_ALT_SRC_LINKAGE_FULLY_INDEPENDENT_V02 = 3, /**< Fully independent. */ QMILOCALTSRCLINKAGEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocAltSrcLinkageEnumT_v02; /** @@ -3280,11 +3222,10 @@ typedef enum { QMILOCALTSRCUNCERTAINTYCOVERAGEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_ALT_UNCERTAINTY_NOT_SPECIFIED_V02 = 0, /**< Not specified. */ eQMI_LOC_ALT_UNCERTAINTY_POINT_V02 = 1, /**< Altitude uncertainty is valid at the injected horizontal - position coordinates only. - Altitude uncertainty applies to the position of the device + 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 uncertainty region, if provided). */ - eQMI_LOC_ALT_UNCERTAINTY_FULL_V02 = 2, QMILOCALTSRCUNCERTAINTYCOVERAGEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocAltSrcUncertaintyCoverageEnumT_v02; /** @@ -3299,8 +3240,7 @@ typedef struct { qmiLocAltSrcEnumT_v02 source; /**< Specifies the source of the altitude. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- ALT_SRC_UNKNOWN \item 0x00000001 -- ALT_SRC_GPS \item 0x00000002 -- ALT_SRC_CELL_ID @@ -3312,26 +3252,24 @@ typedef struct { \item 0x00000008 -- ALT_SRC_BAROMETRIC_ALTIMETER \item 0x00000009 -- ALT_SRC_OTHER \vspace{-0.18in} \end{itemize1} - */ + */ qmiLocAltSrcLinkageEnumT_v02 linkage; /**< Specifies the dependency between the horizontal and altitude position components. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SRC_LINKAGE_NOT_SPECIFIED \item 0x00000001 -- SRC_LINKAGE_FULLY_INTERDEPENDENT \item 0x00000002 -- SRC_LINKAGE_DEPENDS_ON_LAT_LONG \item 0x00000003 -- SRC_LINKAGE_FULLY_INDEPENDENT \vspace{-0.18in} \end{itemize1} - */ + */ qmiLocAltSrcUncertaintyCoverageEnumT_v02 coverage; /**< Specifies the region of uncertainty. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- UNCERTAINTY_NOT_SPECIFIED \item 0x00000001 -- UNCERTAINTY_POINT: Altitude uncertainty is valid at the injected horizontal position coordinates @@ -3341,7 +3279,7 @@ typedef struct { horizontal position (within the horizontal uncertainty region, if provided). \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocAltitudeSrcInfoStructT_v02; /* Type */ /** @} @@ -3357,9 +3295,8 @@ typedef enum { eQMI_LOC_POSITION_SRC_ENH_CELLID_V02 = 2, /**< Position source is Enhanced Cell ID. */ eQMI_LOC_POSITION_SRC_WIFI_V02 = 3, /**< Position source is WiFi. */ eQMI_LOC_POSITION_SRC_TERRESTRIAL_V02 = 4, /**< Position source is Terrestrial. */ - eQMI_LOC_POSITION_SRC_GNSS_TERRESTRIAL_HYBRID_V02 = 5, /**< Position source is GNSS Terrestrial Hybrid. - Other sources. */ - eQMI_LOC_POSITION_SRC_OTHER_V02 = 6, + eQMI_LOC_POSITION_SRC_GNSS_TERRESTRIAL_HYBRID_V02 = 5, /**< Position source is GNSS Terrestrial Hybrid. */ + eQMI_LOC_POSITION_SRC_OTHER_V02 = 6, /**< Other sources. */ QMILOCPOSITIONSRCENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocPositionSrcEnumT_v02; /** @@ -3384,7 +3321,7 @@ typedef struct { \item Positive values indicate northern latitude \item Negative values indicate southern latitude \vspace{-0.18in} \end{itemize1} \end{itemize1} - */ + */ /* Optional */ /* Longitude */ @@ -3398,14 +3335,14 @@ typedef struct { \item Positive values indicate eastern longitude \item Negative values indicate western longitude \vspace{-0.18in} \end{itemize1} \end{itemize1} - */ + */ /* Optional */ /* Circular Horizontal Uncertainty */ uint8_t horUncCircular_valid; /**< Must be set to true if horUncCircular is being passed */ float horUncCircular; /**< Horizontal position uncertainty (circular).\n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Horizontal Confidence */ @@ -3419,7 +3356,7 @@ typedef struct { \item If 100 is received, reinterpret to 99 \end{itemize1} This field must be specified together with horizontal uncertainty. - If not specified, the default value will be 50. */ + If not specified, the default value will be 50. */ /* Optional */ /* Horizontal Reliability */ @@ -3427,15 +3364,14 @@ typedef struct { qmiLocReliabilityEnumT_v02 horReliability; /**< Specifies the reliability of the horizontal position. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- eQMI_LOC_RELIABILITY_NOT_SET \item 0x00000001 -- eQMI_LOC_RELIABILITY_VERY_LOW \item 0x00000002 -- eQMI_LOC_RELIABILITY_LOW \item 0x00000003 -- eQMI_LOC_RELIABILITY_MEDIUM \item 0x00000004 -- eQMI_LOC_RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Altitude With Respect to Ellipsoid */ @@ -3446,14 +3382,14 @@ typedef struct { \item Units: Meters \begin{itemize1} \item Positive = height \item Negative = depth - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1}*/ /* Optional */ /* Altitude With Respect to Sea Level */ uint8_t altitudeWrtMeanSeaLevel_valid; /**< Must be set to true if altitudeWrtMeanSeaLevel is being passed */ float altitudeWrtMeanSeaLevel; /**< Altitude with respect to mean sea level.\n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Vertical Uncertainty */ @@ -3461,7 +3397,7 @@ typedef struct { float vertUnc; /**< Vertical uncertainty. This is mandatory if either altitudeWrtEllipsoid or altitudeWrtMeanSeaLevel is specified.\n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Vertical Confidence */ @@ -3475,7 +3411,7 @@ typedef struct { \item If 100 is received, reinterpret to 99 \end{itemize1} This field must be specified together with the vertical uncertainty. - If not specified, the default value will be 50. */ + If not specified, the default value will be 50. */ /* Optional */ /* Vertical Reliability */ @@ -3483,43 +3419,42 @@ typedef struct { qmiLocReliabilityEnumT_v02 vertReliability; /**< Specifies the reliability of the vertical position. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- eQMI_LOC_RELIABILITY_NOT_SET \item 0x00000001 -- eQMI_LOC_RELIABILITY_VERY_LOW \item 0x00000002 -- eQMI_LOC_RELIABILITY_LOW \item 0x00000003 -- eQMI_LOC_RELIABILITY_MEDIUM \item 0x00000004 -- eQMI_LOC_RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* 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. */ + /**< \n Specifies information regarding the altitude source. */ /* Optional */ /* UTC Timestamp */ uint8_t timestampUtc_valid; /**< Must be set to true if timestampUtc is being passed */ uint64_t timestampUtc; /**< UTC timestamp. \n - - Units: Milliseconds (since Jan. 1, 1970) */ + - Units: Milliseconds (since Jan. 1, 1970) */ /* Optional */ /* Position Age */ uint8_t timestampAge_valid; /**< Must be set to true if timestampAge is being passed */ int32_t timestampAge; /**< Position age, which is an estimate of how long ago this fix was made. \n - - Units: Milliseconds */ + - Units: Milliseconds */ /* Optional */ /* Position Source */ uint8_t positionSrc_valid; /**< Must be set to true if positionSrc is being passed */ qmiLocPositionSrcEnumT_v02 positionSrc; - /**< Source from which this position was obtained. \n - Valid values: - \begin{itemize1} + /**< Source from which this position was obtained. + + Valid values: \begin{itemize1} \item 0x00000000 -- eQMI_LOC_POSITION_SRC_GNSS \item 0x00000001 -- eQMI_LOC_POSITION_SRC_CELLID \item 0x00000002 -- eQMI_LOC_POSITION_SRC_ENH_CELLID @@ -3528,12 +3463,13 @@ typedef struct { \item 0x00000005 -- eQMI_LOC_POSITION_SRC_GNSS_TERRESTRIAL_HYBRID \item 0x00000006 -- eQMI_LOC_POSITION_SRC_OTHER \end{itemize1} \vspace{0.05in} + If altitude is specified and the altitude source is not specified, the engine 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. - */ + */ }qmiLocInjectPositionReqMsgT_v02; /* Message */ /** @} @@ -3550,8 +3486,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the UTC Position Injection request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3560,7 +3495,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocInjectPositionIndMsgT_v02; /* Message */ /** @} @@ -3573,9 +3508,8 @@ typedef enum { QMILOCLOCKENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_LOCK_NONE_V02 = 1, /**< Do not lock any position sessions. */ eQMI_LOC_LOCK_MI_V02 = 2, /**< Lock mobile-initiated position sessions. */ - eQMI_LOC_LOCK_MT_V02 = 3, /**< Lock mobile-terminated position sessions. - Lock all position sessions. */ - eQMI_LOC_LOCK_ALL_V02 = 4, + eQMI_LOC_LOCK_MT_V02 = 3, /**< Lock mobile-terminated position sessions. */ + eQMI_LOC_LOCK_ALL_V02 = 4, /**< Lock all position sessions. */ QMILOCLOCKENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocLockEnumT_v02; /** @@ -3599,7 +3533,7 @@ typedef struct { - 0x00000003 -- LOCK_MT \n - 0x00000004 -- LOCK_ALL - */ + */ }qmiLocSetEngineLockReqMsgT_v02; /* Message */ /** @} @@ -3616,8 +3550,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set Engine Lock request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3626,7 +3559,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetEngineLockIndMsgT_v02; /* Message */ /** @} @@ -3649,8 +3582,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Engine Lock request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3659,7 +3591,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Lock Type */ @@ -3672,7 +3604,7 @@ typedef struct { - 0x00000002 -- LOCK_MI \n - 0x00000003 -- LOCK_MT \n - 0x00000004 -- LOCK_ALL - */ + */ }qmiLocGetEngineLockIndMsgT_v02; /* Message */ /** @} @@ -3691,7 +3623,7 @@ typedef struct { \begin{itemize1} \item 0x01 (TRUE) -- SBAS configuration is enabled \item 0x00 (FALSE) -- SBAS configuration is disabled - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1}*/ }qmiLocSetSbasConfigReqMsgT_v02; /* Message */ /** @} @@ -3708,8 +3640,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set SBAS Configuration request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3718,7 +3649,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetSbasConfigIndMsgT_v02; /* Message */ /** @} @@ -3741,8 +3672,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get SBAS Configuration request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3751,7 +3681,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* SBAS Config */ @@ -3761,7 +3691,7 @@ typedef struct { \begin{itemize1} \item 0x01 (TRUE) -- SBAS configuration is enabled \item 0x00 (FALSE) -- SBAS configuration is disabled - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1}*/ }qmiLocGetSbasConfigIndMsgT_v02; /* Message */ /** @} @@ -3794,7 +3724,7 @@ typedef struct { - 0x00000010 -- NMEA_MASK_VTG \n - 0x00000020 -- NMEA_MASK_PQXFI \n - 0x00000040 -- NMEA_MASK_PSTIS - */ + */ }qmiLocSetNmeaTypesReqMsgT_v02; /* Message */ /** @} @@ -3811,8 +3741,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of Set NMEA Types request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3821,7 +3750,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetNmeaTypesIndMsgT_v02; /* Message */ /** @} @@ -3844,8 +3773,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get NMEA Types request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3854,7 +3782,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* NMEA Sentence Types */ @@ -3871,7 +3799,7 @@ typedef struct { - 0x00000010 -- NMEA_MASK_VTG \n - 0x00000020 -- NMEA_MASK_PQXFI \n - 0x00000040 -- NMEA_MASK_PSTIS - */ + */ }qmiLocGetNmeaTypesIndMsgT_v02; /* Message */ /** @} @@ -3888,7 +3816,7 @@ typedef struct { uint8_t lowPowerMode; /**< Whether to enable Low Power mode:\n - 0x01 (TRUE) -- Enable LPM \n - - 0x00 (FALSE) -- Disable LPM */ + - 0x00 (FALSE) -- Disable LPM */ }qmiLocSetLowPowerModeReqMsgT_v02; /* Message */ /** @} @@ -3905,8 +3833,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set Low Power Mode request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3915,7 +3842,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetLowPowerModeIndMsgT_v02; /* Message */ /** @} @@ -3938,8 +3865,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get LPM request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -3948,7 +3874,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Enable/Disable LPM */ @@ -3956,7 +3882,7 @@ typedef struct { uint8_t lowPowerMode; /**< Whether to enable Low Power mode:\n - 0x01 (TRUE) -- Enable LPM \n - - 0x00 (FALSE) -- Disable LPM */ + - 0x00 (FALSE) -- Disable LPM */ }qmiLocGetLowPowerModeIndMsgT_v02; /* Message */ /** @} @@ -3969,9 +3895,8 @@ typedef enum { QMILOCSERVERTYPEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_SERVER_TYPE_CDMA_PDE_V02 = 1, /**< Server type is CDMA PDE. */ eQMI_LOC_SERVER_TYPE_CDMA_MPC_V02 = 2, /**< Server type is CDMA MPC. */ - eQMI_LOC_SERVER_TYPE_UMTS_SLP_V02 = 3, /**< Server type is UMTS SLP. - Server type is custom PDE. */ - eQMI_LOC_SERVER_TYPE_CUSTOM_PDE_V02 = 4, + eQMI_LOC_SERVER_TYPE_UMTS_SLP_V02 = 3, /**< Server type is UMTS SLP. */ + eQMI_LOC_SERVER_TYPE_CUSTOM_PDE_V02 = 4, /**< Server type is custom PDE. */ QMILOCSERVERTYPEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocServerTypeEnumT_v02; /** @@ -3994,19 +3919,19 @@ typedef struct { - 0x00000002 -- CDMA_MPC \n - 0x00000003 -- UMTS_SLP \n - 0x00000004 -- CUSTOM_PDE - */ + */ /* Optional */ /* IPV4 Address */ uint8_t ipv4Addr_valid; /**< Must be set to true if ipv4Addr is being passed */ qmiLocIpV4AddrStructType_v02 ipv4Addr; - /**< \n IPV4 address and port. */ + /**< \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. */ + /**< \n IPV6 address and port. */ /* Optional */ /* Uniform Resource Locator */ @@ -4017,7 +3942,7 @@ typedef struct { \item Type: NULL-terminated string \item Maximum string length (including NULL terminator): 256 \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetServerReqMsgT_v02; /* Message */ /** @} @@ -4034,8 +3959,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set Server request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4044,7 +3968,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetServerIndMsgT_v02; /* Message */ /** @} @@ -4066,7 +3990,7 @@ typedef struct { - 0x00000002 -- CDMA_MPC \n - 0x00000003 -- UMTS_SLP \n - 0x00000004 -- CUSTOM_PDE - */ + */ /* Optional */ /* Server Address Type */ @@ -4080,7 +4004,7 @@ typedef struct { - 0x01 -- IPV4 \n - 0x02 -- IPV6 \n - 0x04 -- URL - */ + */ }qmiLocGetServerReqMsgT_v02; /* Message */ /** @} @@ -4097,8 +4021,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Server request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4107,7 +4030,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Mandatory */ /* Server Type */ @@ -4119,19 +4042,19 @@ typedef struct { - 0x00000002 -- CDMA_MPC \n - 0x00000003 -- UMTS_SLP \n - 0x00000004 -- CUSTOM_PDE - */ + */ /* Optional */ /* IPV4 Address */ uint8_t ipv4Addr_valid; /**< Must be set to true if ipv4Addr is being passed */ qmiLocIpV4AddrStructType_v02 ipv4Addr; - /**< \n IPV4 address and port. */ + /**< \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. */ + /**< \n IPV6 address and port. */ /* Optional */ /* Uniform Resource Locator */ @@ -4142,7 +4065,7 @@ typedef struct { \item Type: NULL-terminated string \item Maximum string length (including NULL terminator): 256 \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocGetServerIndMsgT_v02; /* Message */ /** @} @@ -4206,20 +4129,19 @@ typedef struct { \item For GPS: 1 to 32 \item For SBAS: 33 to 64 \item For GLONASS: 65 to 96 - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ qmiLocSvSystemEnumT_v02 system; /**< Indicates to which constellation this SV belongs. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- eQMI_LOC_SV_SYSTEM_GPS \item 0x00000002 -- eQMI_LOC_SV_SYSTEM_GALILEO \item 0x00000003 -- eQMI_LOC_SV_SYSTEM_SBAS \item 0x00000004 -- eQMI_LOC_SV_SYSTEM_COMPASS \item 0x00000005 -- eQMI_LOC_SV_SYSTEM_GLONASS \vspace{-0.18in} \end{itemize1} - */ + */ qmiLocDeleteSvInfoMaskT_v02 deleteSvInfoMask; /**< Indicates if the ephemeris or almanac for a satellite @@ -4227,7 +4149,7 @@ typedef struct { Valid values: \n - 0x01 -- DELETE_EPHEMERIS \n - 0x02 -- DELETE_ALMANAC - */ + */ }qmiLocDeleteSvInfoStructT_v02; /* Type */ /** @} @@ -4245,15 +4167,14 @@ typedef struct { uint8_t deleteAllFlag; /**< Whether all assistance data is to be deleted. - Valid values: - \begin{itemize1} + 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 message are ignored \item 0x00 (FALSE) -- The optional fields in the message are to be used to determine which data is to be deleted - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Delete SV Info */ @@ -4261,7 +4182,7 @@ typedef struct { 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. - */ + */ /* Optional */ /* Delete GNSS Data */ @@ -4269,8 +4190,7 @@ typedef struct { qmiLocDeleteGnssDataMaskT_v02 deleteGnssDataMask; /**< Mask for the GNSS data that is to be deleted. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- DELETE_GPS_SVDIR \item 0x00000002 -- DELETE_GPS_SVSTEER \item 0x00000004 -- DELETE_GPS_TIME @@ -4291,7 +4211,7 @@ typedef struct { \item 0x00020000 -- DELETE_SV_NO_EXIST \item 0x00040000 -- DELETE_FREQ_BIAS_EST \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Delete Cell Database */ @@ -4299,8 +4219,7 @@ typedef struct { qmiLocDeleteCelldbDataMaskT_v02 deleteCellDbDataMask; /**< Mask for the cell database assistance data that is to be deleted. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- DELETE_CELLDB_POS \item 0x00000002 -- DELETE_CELLDB_LATEST_GPS_POS \item 0x00000004 -- DELETE_CELLDB_OTA_POS @@ -4312,7 +4231,7 @@ typedef struct { \item 0x00000100 -- DELETE_CELLDB_CUR_SRV_CELL \item 0x00000200 -- DELETE_CELLDB_NEIGHBOR_INFO \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Delete Clock Info */ @@ -4320,8 +4239,7 @@ typedef struct { qmiLocDeleteClockInfoMaskT_v02 deleteClockInfoMask; /**< Mask for the clock information assistance data that is to be deleted. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- DELETE_CLOCK_INFO_TIME_EST \item 0x00000002 -- DELETE_CLOCK_INFO_FREQ_EST \item 0x00000004 -- DELETE_CLOCK_INFO_WEEK_NUMBER @@ -4334,7 +4252,7 @@ typedef struct { \item 0x00000200 -- DELETE_CLOCK_INFO_GLO_RF_GRP_DELAY \item 0x00000400 -- DELETE_CLOCK_INFO_DISABLE_TT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocDeleteAssistDataReqMsgT_v02; /* Message */ /** @} @@ -4352,8 +4270,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Delete Assist Data request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4362,7 +4279,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocDeleteAssistDataIndMsgT_v02; /* Message */ /** @} @@ -4379,7 +4296,7 @@ typedef struct { uint8_t xtraTSessionControl; /**< Whether to enable XTRA-T:\n - 0x01 (TRUE) -- Enable XTRA-T \n - - 0x00 (FALSE) -- Disable XTRA-T */ + - 0x00 (FALSE) -- Disable XTRA-T */ }qmiLocSetXtraTSessionControlReqMsgT_v02; /* Message */ /** @} @@ -4396,8 +4313,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set XTRA-T Session Control request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4406,7 +4322,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetXtraTSessionControlIndMsgT_v02; /* Message */ /** @} @@ -4430,8 +4346,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get XTRA-T Session Control request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4440,7 +4355,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Enable/Disable XTRA-T */ @@ -4448,7 +4363,7 @@ typedef struct { uint8_t xtraTSessionControl; /**< Whether to enable XTRA-T:\n - 0x01 (TRUE) -- Enable XTRA-T \n - - 0x00 (FALSE) -- Disable XTRA-T */ + - 0x00 (FALSE) -- Disable XTRA-T */ }qmiLocGetXtraTSessionControlIndMsgT_v02; /* Message */ /** @} @@ -4462,7 +4377,7 @@ 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 - synchronized. */ + synchronized. */ }qmiLocWifiFixTimeStructT_v02; /* Type */ /** @} @@ -4480,9 +4395,8 @@ typedef enum { code. */ eQMI_LOC_WIFI_FIX_ERROR_SERVER_UNAVAILABLE_V02 = 4, /**< WiFi fix failed because the WiFi server was unavailable. */ eQMI_LOC_WIFI_FIX_ERROR_LOCATION_CANNOT_BE_DETERMINED_V02 = 5, /**< WiFi fix failed even though APs were found and the server could be reached. - This may be because the APs found are not in the database. - WiFi fix failed, but the cause could not be determined. */ - eQMI_LOC_WIFI_FIX_ERROR_UNKNOWN_V02 = 6, + This may be because the APs found are not in the database. */ + eQMI_LOC_WIFI_FIX_ERROR_UNKNOWN_V02 = 6, /**< WiFi fix failed, but the cause could not be determined. */ QMILOCWIFIFIXERRORCODEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocWifiFixErrorCodeEnumT_v02; /** @@ -4497,19 +4411,19 @@ typedef struct { double lat; /**< WiFi position latitude. \n - Type: Floating point \n - - Units: Degrees */ + - Units: Degrees */ double lon; /**< WiFi position longitude. \n - Type: Floating point \n - - Units: Degrees */ + - Units: Degrees */ uint16_t hepe; /**< WiFi position HEPE.\n - - Units: Meters */ + - Units: Meters */ uint8_t numApsUsed; - /**< Number of Access Points (AP) used to generate a fix. */ + /**< 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 @@ -4517,8 +4431,7 @@ typedef struct { the error code provided by the WiFi positioning system can be provided here. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- ERROR_SUCCESS \item 0x00000001 -- ERROR_WIFI_NOT_AVAILABLE \item 0x00000002 -- ERROR_NO_AP_FOUND @@ -4527,7 +4440,7 @@ typedef struct { \item 0x00000005 -- ERROR_LOCATION_CANNOT_BE_DETERMINED \item 0x00000006 -- ERROR_UNKNOWN \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocWifiFixPosStructT_v02; /* Type */ /** @} @@ -4547,14 +4460,14 @@ typedef struct { /**< Associated MAC address of the AP. \n - Type: Array of unsigned integers \n - Address length: 6 - */ + */ int32_t rssi; /**< Receive signal strength indicator.\n - - Units: dBm (offset with +100 dB) */ + - Units: dBm (offset with +100 dB) */ uint16_t channel; - /**< WiFi channel on which a beacon was received. */ + /**< WiFi channel on which a beacon was received. */ qmiLocWifiApQualifierMaskT_v02 apQualifier; /**< A bitmask of Boolean qualifiers for APs. @@ -4565,7 +4478,7 @@ typedef struct { - 0x02 -- HIDDEN_SSID \n - 0x04 -- PRIVATE \n - 0x08 -- INFRASTRUCTURE_MODE - */ + */ }qmiLocWifiApInfoStructT_v02; /* Type */ /** @} @@ -4581,20 +4494,20 @@ 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. */ + /**< \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. */ + /**< \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. */ + /**< \n AP scan list. */ /* Optional */ /* Horizontal Reliability */ @@ -4602,15 +4515,14 @@ typedef struct { qmiLocReliabilityEnumT_v02 horizontalReliability; /**< Specifies the reliability of the horizontal position. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- eQMI_LOC_RELIABILITY_NOT_SET \item 0x00000001 -- eQMI_LOC_RELIABILITY_VERY_LOW \item 0x00000002 -- eQMI_LOC_RELIABILITY_LOW \item 0x00000003 -- eQMI_LOC_RELIABILITY_MEDIUM \item 0x00000004 -- eQMI_LOC_RELIABILITY_HIGH \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocInjectWifiPositionReqMsgT_v02; /* Message */ /** @} @@ -4627,8 +4539,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Inject WiFi Position request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4637,7 +4548,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocInjectWifiPositionIndMsgT_v02; /* Message */ /** @} @@ -4648,9 +4559,8 @@ typedef struct { */ typedef enum { QMILOCWIFISTATUSENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_WIFI_STATUS_AVAILABLE_V02 = 1, /**< WiFi is available. - WiFi is not available. */ - eQMI_LOC_WIFI_STATUS_UNAVAILABLE_V02 = 2, + eQMI_LOC_WIFI_STATUS_AVAILABLE_V02 = 1, /**< WiFi is available. */ + eQMI_LOC_WIFI_STATUS_UNAVAILABLE_V02 = 2, /**< WiFi is not available. */ QMILOCWIFISTATUSENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocWifiStatusEnumT_v02; /** @@ -4668,12 +4578,11 @@ typedef struct { qmiLocWifiStatusEnumT_v02 wifiStatus; /**< WiFi status information. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- WIFI_STATUS_AVAILABLE \item 0x00000002 -- WIFI_STATUS_UNAVAILABLE \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocNotifyWifiStatusReqMsgT_v02; /* Message */ /** @} @@ -4690,8 +4599,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Notify WiFi Status request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4700,7 +4608,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocNotifyWifiStatusIndMsgT_v02; /* Message */ /** @} @@ -4724,8 +4632,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Registered Events request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4734,7 +4641,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Event Registration Mask */ @@ -4742,8 +4649,7 @@ typedef struct { qmiLocEventRegMaskT_v02 eventRegMask; /**< Event registration mask. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- POSITION_REPORT \item 0x00000002 -- GNSS_SV_INFO \item 0x00000004 -- NMEA @@ -4759,7 +4665,7 @@ typedef struct { \item 0x00001000 -- SET_SPI_STREAMING_REPORT \item 0x00002000 -- LOCATION_SERVER_CONNECTION_REQ \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocGetRegisteredEventsIndMsgT_v02; /* Message */ /** @} @@ -4774,11 +4680,10 @@ typedef enum { eQMI_LOC_OPER_MODE_MSB_V02 = 2, /**< Use the MS-based mode. */ eQMI_LOC_OPER_MODE_MSA_V02 = 3, /**< Use the MS-assisted mode. */ eQMI_LOC_OPER_MODE_STANDALONE_V02 = 4, /**< Use Standalone mode. */ - eQMI_LOC_OPER_MODE_CELL_ID_V02 = 5, /**< Use cell ID. This mode is valid only for GSM/UMTS network - Use WWAN measurements to calculate position. If this mode is - set then for 1x network AFLT will used and for LTE network - OTDOA will used. */ - eQMI_LOC_OPER_MODE_WWAN_V02 = 6, + eQMI_LOC_OPER_MODE_CELL_ID_V02 = 5, /**< Use cell ID. This mode is valid only for a GSM/UMTS network. */ + eQMI_LOC_OPER_MODE_WWAN_V02 = 6, /**< Use WWAN measurements to calculate the position. If this mode is + set, AFLT will be used for 1x networks and OTDOA will be used + for LTE networks. */ QMILOCOPERATIONMODEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocOperationModeEnumT_v02; /** @@ -4797,9 +4702,9 @@ typedef struct { /* Operation Mode */ qmiLocOperationModeEnumT_v02 operationMode; /**< Preferred operation mode. + \label{operationMode} - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- OPER_MODE_DEFAULT \item 0x00000002 -- OPER_MODE_MSB \item 0x00000003 -- OPER_MODE_MSA @@ -4807,7 +4712,7 @@ typedef struct { \item 0x00000005 -- OPER_MODE_CELL_ID \item 0x00000006 -- OPER_MODE_WWAN \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetOperationModeReqMsgT_v02; /* Message */ /** @} @@ -4826,8 +4731,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set Operation Mode request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4836,7 +4740,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetOperationModeIndMsgT_v02; /* Message */ /** @} @@ -4859,8 +4763,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Operation Mode request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4869,7 +4772,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Operation Mode */ @@ -4877,8 +4780,7 @@ typedef struct { qmiLocOperationModeEnumT_v02 operationMode; /**< Current operation mode. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- OPER_MODE_DEFAULT \item 0x00000002 -- OPER_MODE_MSB \item 0x00000003 -- OPER_MODE_MSA @@ -4886,7 +4788,7 @@ typedef struct { \item 0x00000005 -- OPER_MODE_CELL_ID \item 0x00000006 -- OPER_MODE_WWAN \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocGetOperationModeIndMsgT_v02; /* Message */ /** @} @@ -4906,14 +4808,14 @@ typedef struct { \begin{itemize1} \item 0x00 (FALSE) -- Device is not stationary \item 0x01 (TRUE) -- Device is stationary - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1}*/ /* Optional */ /* 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 - - Range: 0 to 100 */ + - Range: 0 to 100 */ }qmiLocSetSpiStatusReqMsgT_v02; /* Message */ /** @} @@ -4931,8 +4833,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the SPI Status request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -4941,7 +4842,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetSpiStatusIndMsgT_v02; /* Message */ /** @} @@ -4960,22 +4861,22 @@ typedef struct { uint16_t timeOffset; /**< Sample time offset. This time offset must be relative to the sensor time of the first sample.\n - - Units: Milliseconds */ + - Units: Milliseconds */ float xAxis; /**< Sensor x-axis sample. \n - Units Accelerometer: ( (meters)/(seconds^2) ) \n - - Units Gyroscope: ( (rads)/(seconds^2) ) */ + - Units Gyroscope: ( (rads)/(seconds) ) */ float yAxis; /**< Sensor y-axis sample. \n - Units Accelerometer: ( (meters)/(seconds^2) ) \n - - Units Gyroscope: ( (rads)/(seconds^2) ) */ + - Units Gyroscope: ( (rads)/(seconds) ) */ float zAxis; /**< Sensor z-axis sample. \n - Units Accelerometer: ( (meters)/(seconds^2) ) \n - - Units Gyroscope: ( (rads)/(seconds^2) ) */ + - Units Gyroscope: ( (rads)/(seconds) ) */ }qmiLoc3AxisSensorSampleStructT_v02; /* Type */ /** @} @@ -4989,21 +4890,21 @@ typedef struct { uint32_t timeOfFirstSample; /**< Denotes a full 32-bit time tag of the first (oldest) sample in this message. \n - - Units: Milliseconds */ + - 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. - Valid bitmasks: \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x01 -- SIGN_REVERSAL \item 0X02 -- SENSOR_TIME_IS_MODEM_TIME - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ uint32_t sensorData_len; /**< Must be set to # of elements in sensorData */ qmiLoc3AxisSensorSampleStructT_v02 sensorData[QMI_LOC_SENSOR_DATA_MAX_SAMPLES_V02]; /**< Variable length array to specify sensor samples. \n - - Maximum length of the array: 50 */ + - Maximum length of the array: 50 */ }qmiLoc3AxisSensorSampleListStructT_v02; /* Type */ /** @} @@ -5022,19 +4923,19 @@ typedef struct { 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 - request. */ + 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. */ + /**< \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. */ + /**< \n Gyroscope sensor samples. */ }qmiLocInjectSensorDataReqMsgT_v02; /* Message */ /** @} @@ -5052,8 +4953,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Inject Sensor Data request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5062,28 +4962,28 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Opaque Identifier */ uint8_t opaqueIdentifier_valid; /**< Must be set to true if opaqueIdentifier is being passed */ uint32_t opaqueIdentifier; /**< Opaque identifier that was sent in by the client echoed - so the client can relate the indication to the request. */ + so the client can relate the indication to the request. */ /* Optional */ /* 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 - were accepted. */ + were accepted. */ /* Optional */ /* 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 - accepted. */ + accepted. */ }qmiLocInjectSensorDataIndMsgT_v02; /* Message */ /** @} @@ -5099,7 +4999,7 @@ typedef struct { /* Reference Time Sync Counter */ uint32_t refCounter; /**< Must be set to the value that was sent to the control point when the - GNSS location engine requested time sync injection. */ + GNSS location engine requested time sync injection. */ /* Mandatory */ /* Sensor Receive Time */ @@ -5109,7 +5009,7 @@ typedef struct { Must be monotonically increasing, jitter @latexonly $\leq$ @endlatexonly 1 millisecond, never stopping until the process is rebooted.\n - - Units: Milliseconds */ + - Units: Milliseconds */ /* Mandatory */ /* Sensor Transmit Time */ @@ -5119,7 +5019,7 @@ typedef struct { Must be monotonically increasing, jitter @latexonly $\leq$ @endlatexonly 1 millisecond, never stopping until the process is rebooted.\n - - Units: Milliseconds */ + - Units: Milliseconds */ }qmiLocInjectTimeSyncDataReqMsgT_v02; /* Message */ /** @} @@ -5136,8 +5036,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Inject Time Sync Data request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5146,7 +5045,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocInjectTimeSyncDataIndMsgT_v02; /* Message */ /** @} @@ -5158,9 +5057,8 @@ typedef struct { typedef enum { QMILOCCRADLEMOUNTSTATEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_CRADLE_STATE_NOT_MOUNTED_V02 = 0, /**< Device is mounted on the cradle */ - eQMI_LOC_CRADLE_STATE_MOUNTED_V02 = 1, /**< Device is not mounted on the cradle - Unknown cradle mount state */ - eQMI_LOC_CRADLE_STATE_UNKNOWN_V02 = 2, + eQMI_LOC_CRADLE_STATE_MOUNTED_V02 = 1, /**< Device is not mounted on the cradle */ + eQMI_LOC_CRADLE_STATE_UNKNOWN_V02 = 2, /**< Unknown cradle mount state */ QMILOCCRADLEMOUNTSTATEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocCradleMountStateEnumT_v02; /** @@ -5185,8 +5083,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Cradle Mount Configuration request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5195,7 +5092,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Cradle Mount State */ @@ -5203,20 +5100,19 @@ typedef struct { qmiLocCradleMountStateEnumT_v02 cradleMountState; /**< Cradle Mount state set by the control point. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- CRADLE_STATE_NOT_MOUNTED \item 0x00000001 -- CRADLE_STATE_MOUNTED \item 0x00000002 -- CRADLE_STATE_UNKNOWN \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Cradle Mount Confidence */ uint8_t confidenceCradleMountState_valid; /**< Must be set to true if confidenceCradleMountState is being passed */ uint8_t confidenceCradleMountState; /**< Confidence of the Cradle Mount state expressed as a percentage.\n - - Range: 0 to 100 */ + - Range: 0 to 100 */ }qmiLocGetCradleMountConfigIndMsgT_v02; /* Message */ /** @} @@ -5234,19 +5130,18 @@ typedef struct { qmiLocCradleMountStateEnumT_v02 cradleMountState; /**< Cradle Mount state set by the control point. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- CRADLE_STATE_NOT_MOUNTED \item 0x00000001 -- CRADLE_STATE_MOUNTED \item 0x00000002 -- CRADLE_STATE_UNKNOWN - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Cradle Mount Confidence */ uint8_t confidenceCradleMountState_valid; /**< Must be set to true if confidenceCradleMountState is being passed */ uint8_t confidenceCradleMountState; /**< Confidence in the Cradle Mount state expressed as a percentage.\n - - Range: 0 to 100 */ + - Range: 0 to 100 */ }qmiLocSetCradleMountConfigReqMsgT_v02; /* Message */ /** @} @@ -5264,8 +5159,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set Cradle Mount Configuration request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5274,7 +5168,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetCradleMountConfigIndMsgT_v02; /* Message */ /** @} @@ -5286,9 +5180,8 @@ typedef struct { typedef enum { QMILOCEXTERNALPOWERCONFIGENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_EXTERNAL_POWER_NOT_CONNECTED_V02 = 0, /**< Device is not connected to an external power source. */ - eQMI_LOC_EXTERNAL_POWER_CONNECTED_V02 = 1, /**< Device is connected to an external power source. - Unknown external power state. */ - eQMI_LOC_EXTERNAL_POWER_UNKNOWN_V02 = 2, + eQMI_LOC_EXTERNAL_POWER_CONNECTED_V02 = 1, /**< Device is connected to an external power source. */ + eQMI_LOC_EXTERNAL_POWER_UNKNOWN_V02 = 2, /**< Unknown external power state. */ QMILOCEXTERNALPOWERCONFIGENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocExternalPowerConfigEnumT_v02; /** @@ -5313,8 +5206,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get External Power Configuration request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5323,7 +5215,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* External Power State */ @@ -5331,13 +5223,12 @@ typedef struct { qmiLocExternalPowerConfigEnumT_v02 externalPowerState; /**< Power state; injected by the control point. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- EXTERNAL_POWER_NOT_CONNECTED \item 0x00000001 -- EXTERNAL_POWER_CONNECTED \item 0x00000002 -- EXTERNAL_POWER_UNKNOWN \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocGetExternalPowerConfigIndMsgT_v02; /* Message */ /** @} @@ -5355,13 +5246,12 @@ typedef struct { qmiLocExternalPowerConfigEnumT_v02 externalPowerState; /**< Power state; injected by the control point. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- EXTERNAL_POWER_NOT_CONNECTED \item 0x00000001 -- EXTERNAL_POWER_CONNECTED \item 0x00000002 -- EXTERNAL_POWER_UNKNOWN \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetExternalPowerConfigReqMsgT_v02; /* Message */ /** @} @@ -5379,8 +5269,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set External Power Configuration request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5389,7 +5278,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetExternalPowerConfigIndMsgT_v02; /* Message */ /** @} @@ -5402,9 +5291,8 @@ typedef enum { QMILOCSERVERPDNENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ eQMI_LOC_APN_PROFILE_PDN_TYPE_IPV4_V02 = 0x01, /**< IPV4 PDN type. */ eQMI_LOC_APN_PROFILE_PDN_TYPE_IPV6_V02 = 0x02, /**< IPV6 PDN type. */ - eQMI_LOC_APN_PROFILE_PDN_TYPE_IPV4V6_V02 = 0x03, /**< IPV4V6 PDN type. - PPP PDN type. */ - eQMI_LOC_APN_PROFILE_PDN_TYPE_PPP_V02 = 0x04, + eQMI_LOC_APN_PROFILE_PDN_TYPE_IPV4V6_V02 = 0x03, /**< IPV4V6 PDN type. */ + eQMI_LOC_APN_PROFILE_PDN_TYPE_PPP_V02 = 0x04, /**< PPP PDN type. */ QMILOCSERVERPDNENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocServerPDNEnumT_v02; /** @@ -5417,14 +5305,14 @@ typedef enum { typedef struct { qmiLocServerPDNEnumT_v02 pdnType; - /**< PDN type of the Access Point Name (APN) profile. + /**< PDN type of the APN profile. Valid values: \n - 0x00000001 -- PDN_TYPE_IPV4 \n - 0x00000002 -- PDN_TYPE_IPV6 \n - 0x00000003 -- PDN_TYPE_IPV4V6 \n - 0x00000004 -- PDN_TYPE_PPP - */ + */ char apnName[QMI_LOC_MAX_APN_NAME_LENGTH_V02 + 1]; /**< APN name. @@ -5432,7 +5320,7 @@ typedef struct { \item Type: NULL-terminated string \item Maximum string length (including NULL terminator): 101 \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocApnProfilesStructT_v02; /* Type */ /** @} @@ -5443,9 +5331,8 @@ typedef struct { */ typedef enum { QMILOCSERVERREQSTATUSENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_SERVER_REQ_STATUS_SUCCESS_V02 = 1, /**< Location server request was successful. - Location server request failed. */ - eQMI_LOC_SERVER_REQ_STATUS_FAILURE_V02 = 2, + eQMI_LOC_SERVER_REQ_STATUS_SUCCESS_V02 = 1, /**< Location server request was successful. */ + eQMI_LOC_SERVER_REQ_STATUS_FAILURE_V02 = 2, /**< Location server request failed. */ QMILOCSERVERREQSTATUSENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocServerReqStatusEnumT_v02; /** @@ -5465,7 +5352,7 @@ typedef struct { /* Connection Handle */ uint32_t connHandle; /**< Connection handle that the service specified in the - Location Server Connection request event. */ + Location Server Connection request event. */ /* Mandatory */ /* Request Type */ @@ -5476,7 +5363,7 @@ typedef struct { Valid values: \n - 0x00000001 -- OPEN \n - 0x00000002 -- CLOSE - */ + */ /* Mandatory */ /* Connection Status */ @@ -5487,14 +5374,14 @@ typedef struct { - 0x00000001 -- STATUS_SUCCESS = 1 \n - 0x00000002 -- STATUS_FAILURE = 2 - */ + */ /* Optional */ /* APN Profile */ uint8_t apnProfile_valid; /**< Must be set to true if apnProfile is being passed */ qmiLocApnProfilesStructT_v02 apnProfile; - /**< \n APN profile information is present only when requestType - is OPEN and statusType is SUCCESS. */ + /**< \n Access Point Name (APN) profile information is present only when + requestType is OPEN and statusType is SUCCESS. */ }qmiLocInformLocationServerConnStatusReqMsgT_v02; /* Message */ /** @} @@ -5514,8 +5401,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Inform Location Server Connection Status request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5524,7 +5410,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocInformLocationServerConnStatusIndMsgT_v02; /* Message */ /** @} @@ -5535,9 +5421,8 @@ typedef struct { */ typedef enum { QMILOCVXVERSIONENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_VX_VERSION_V1_ONLY_V02 = 1, /**< V1 VX version. - V2 VX version. */ - eQMI_LOC_VX_VERSION_V2_ONLY_V02 = 2, + eQMI_LOC_VX_VERSION_V1_ONLY_V02 = 1, /**< V1 VX version. */ + eQMI_LOC_VX_VERSION_V2_ONLY_V02 = 2, /**< V2 VX version. */ QMILOCVXVERSIONENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocVxVersionEnumT_v02; /** @@ -5549,9 +5434,8 @@ typedef enum { */ typedef enum { QMILOCSUPLVERSIONENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_SUPL_VERSION_1_0_V02 = 1, /**< SUPL version 1.0. - SUPL version 2.0. */ - eQMI_LOC_SUPL_VERSION_2_0_V02 = 2, + eQMI_LOC_SUPL_VERSION_1_0_V02 = 1, /**< SUPL version 1.0. */ + eQMI_LOC_SUPL_VERSION_2_0_V02 = 2, /**< SUPL version 2.0. */ QMILOCSUPLVERSIONENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocSuplVersionEnumT_v02; /** @@ -5562,8 +5446,8 @@ typedef uint32_t qmiLocLppConfigMaskT_v02; #define QMI_LOC_LPP_CONFIG_ENABLE_USER_PLANE_V02 ((qmiLocLppConfigMaskT_v02)0x00000001) /**< Enable user plane configuration for LTE Positioning Profile (LPP). */ #define QMI_LOC_LPP_CONFIG_ENABLE_CONTROL_PLANE_V02 ((qmiLocLppConfigMaskT_v02)0x00000002) /**< Enable control plane configuration for LPP. */ 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 Control Plane */ -#define QMI_LOC_ASSISTED_GLONASS_PROTOCOL_MASK_RRLP_UP_V02 ((qmiLocAssistedGlonassProtocolMaskT_v02)0x00000002) /**< Assisted GLONASS is supported over RRLP in User Plane */ +#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. */ /** @addtogroup loc_qmi_messages @{ */ @@ -5579,7 +5463,7 @@ typedef struct { \begin{itemize1} \item 0x01 (TRUE) -- SUPL security is enabled \item 0x00 (FALSE) -- SUPL security is disabled - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* VX Version */ @@ -5587,12 +5471,11 @@ typedef struct { qmiLocVxVersionEnumT_v02 vxVersion; /**< VX version. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- VX_VERSION_V1_ONLY \item 0x00000002 -- VX_VERSION_V2_ONLY \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* SUPL Version */ @@ -5603,7 +5486,7 @@ typedef struct { Valid values: \n - 0x00000001 -- SUPL_VERSION_1_0 \n - 0x00000002 -- SUPL_VERSION_2_0 - */ + */ /* Optional */ /* LPP Configuration */ @@ -5611,26 +5494,24 @@ typedef struct { qmiLocLppConfigMaskT_v02 lppConfig; /**< LTE Positioning Profile (LPP) configuration. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- LPP_CONFIG_ENABLE_USER_PLANE \item 0x00000002 -- LPP_CONFIG_ENABLE_CONTROL_PLANE \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* 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 can indicate it supports, - for Assisted Glonass. + /**< Configures the protocols that the location service supports + for assisted GLONASS. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- ASSISTED_GLONASS_PROTOCOL_MASK_RRC_CP \item 0x00000002 -- ASSISTED_GLONASS_PROTOCOL_MASK_RRLP_UP \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetProtocolConfigParametersReqMsgT_v02; /* Message */ /** @} @@ -5654,8 +5535,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set Configuration Parameters request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5664,25 +5544,23 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Failed Parameters */ uint8_t failedProtocolConfigParamMask_valid; /**< Must be set to true if failedProtocolConfigParamMask is being passed */ qmiLocProtocolConfigParamMaskT_v02 failedProtocolConfigParamMask; - /**< This field is sent only if the status is not a success. And if it is - not successful, this field will identify the parameters that were not - set successfully. + /**< Identifies parameters that were not set successfully. This field + is sent only if the status is not a success. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x0000000000000001 -- CONFIG_PARAM_MASK_SUPL_SECURITY \item 0x0000000000000002 -- CONFIG_PARAM_MASK_VX_VERSION \item 0x0000000000000004 -- CONFIG_PARAM_MASK_SUPL_VERSION \item 0x0000000000000008 -- CONFIG_PARAM_MASK_LPP_CONFIG \item 0x0000000000000010 -- CONFIG_PARAM_MASK_ASSISTED_GLONASS_PROTOCOL \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetProtocolConfigParametersIndMsgT_v02; /* Message */ /** @} @@ -5700,15 +5578,14 @@ typedef struct { qmiLocProtocolConfigParamMaskT_v02 getProtocolConfigParamMask; /**< Mask denoting the configuration parameters to be retrieved. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x0000000000000001 -- CONFIG_PARAM_MASK_SUPL_SECURITY \item 0x0000000000000002 -- CONFIG_PARAM_MASK_VX_VERSION \item 0x0000000000000004 -- CONFIG_PARAM_MASK_SUPL_VERSION \item 0x0000000000000008 -- CONFIG_PARAM_MASK_LPP_CONFIG \item 0x0000000000000010 -- CONFIG_PARAM_MASK_ASSISTED_GLONASS_PROTOCOL \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocGetProtocolConfigParametersReqMsgT_v02; /* Message */ /** @} @@ -5726,8 +5603,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Configuration Parameters request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5736,7 +5612,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* SUPL Security */ @@ -5746,7 +5622,7 @@ typedef struct { \begin{itemize1} \item 0x01 (TRUE) -- SUPL security is enabled \item 0x00 (FALSE) -- SUPL security is disabled - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1}*/ /* Optional */ /* VX Version */ @@ -5754,12 +5630,11 @@ typedef struct { qmiLocVxVersionEnumT_v02 vxVersion; /**< VX version. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- VX_VERSION_V1_ONLY \item 0x00000002 -- VX_VERSION_V2_ONLY \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* SUPL Version */ @@ -5770,7 +5645,7 @@ typedef struct { Valid values: \n - 0x00000001 -- SUPL_VERSION_1_0 \n - 0x00000002 -- SUPL_VERSION_2_0 - */ + */ /* Optional */ /* LPP Configuration */ @@ -5778,25 +5653,23 @@ typedef struct { qmiLocLppConfigMaskT_v02 lppConfig; /**< LTE Positioning Profile (LPP) configuration. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- LPP_CONFIG_ENABLE_USER_PLANE \item 0x00000002 -- LPP_CONFIG_ENABLE_CONTROL_PLANE \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Assisted GLONASS Protocol Mask */ uint8_t assistedGlonassProtocolMask_valid; /**< Must be set to true if assistedGlonassProtocolMask is being passed */ qmiLocAssistedGlonassProtocolMaskT_v02 assistedGlonassProtocolMask; - /**< Assisted GLONASS Protocol Mask. + /**< Assisted GLONASS Protocol mask. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- ASSISTED_GLONASS_PROTOCOL_MASK_RRC_CP \item 0x00000002 -- ASSISTED_GLONASS_PROTOCOL_MASK_RRLP_UP \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocGetProtocolConfigParametersIndMsgT_v02; /* Message */ /** @} @@ -5811,10 +5684,9 @@ typedef enum { received. If sensor data are injected, the positioning engine attempts to improve the heading and positioning performance using sensors. This is the default. - - Inertial sensors are not to be used to aid heading and position + */ + eQMI_LOC_SENSOR_CONFIG_SENSOR_USE_DISABLE_V02 = 1, /**< Inertial sensors are not to be used to aid heading and position improvement. */ - eQMI_LOC_SENSOR_CONFIG_SENSOR_USE_DISABLE_V02 = 1, QMILOCSENSORSCONTROLCONFIGSENSORUSEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocSensorsControlConfigSensorUseEnumT_v02; /** @@ -5834,18 +5706,17 @@ typedef struct { /**< Controls how sensors are used to aid heading and positioning performance. - Valid values: - \begin{itemize1} - \item 0x00000000 -- SENSORS USE ENABLED: \n + Valid values: \begin{itemize1} + \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 sensors. This is the default. - \item 0x00000001 -- SENSORS USE DISABLED: \n + \item 0x00000001 -- SENSORS_USE_DISABLED: Inertial sensors are not to be used to aid in heading and position improvement. \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetSensorControlConfigReqMsgT_v02; /* Message */ /** @} @@ -5862,8 +5733,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set Sensor Control Configuration request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5872,7 +5742,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetSensorControlConfigIndMsgT_v02; /* Message */ /** @} @@ -5895,8 +5765,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Sensors Control Configuration request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -5905,7 +5774,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Sensors Usage */ @@ -5914,18 +5783,17 @@ typedef struct { /**< Controls how sensors are used to aid the heading and positioning performance. - Valid values: - \begin{itemize1} - \item 0x00000000 -- SENSORS USE ENABLED: \n + Valid values: \begin{itemize1} + \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 sensors. This is the default. - \item 0x00000001 -- SENSORS USE DISABLED: \n + \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} - */ + */ }qmiLocGetSensorControlConfigIndMsgT_v02; /* Message */ /** @} @@ -5956,7 +5824,7 @@ typedef struct { sensors data sheet or a sensors conformance test. \n - Units: Radians^2/seconds^4 - */ + */ /* Optional */ /* Velocity Random Walk Spectral Density */ @@ -5968,7 +5836,7 @@ typedef struct { sensors data sheet or a sensors conformance test. \n - Units: Meters/seconds^2/Hertz^0.5 - */ + */ /* Optional */ /* Acceleration Random Walk Spectral Density */ @@ -5980,7 +5848,7 @@ typedef struct { sensors data sheet or a sensors conformance test. \n - Units: Meters/seconds^3/Hertz^0.5 - */ + */ /* Optional */ /* Angle Random Walk Spectral Density */ @@ -5992,7 +5860,7 @@ typedef struct { sensors data sheet or a sensors conformance test. \n - Units: Radians/seconds/Hertz^0.5 - */ + */ /* Optional */ /* Rate Random Walk Spectral Density */ @@ -6004,7 +5872,7 @@ typedef struct { sensors data sheet or a sensors conformance test. \n - Units: Radians/seconds^2/Hertz^0.5 - */ + */ }qmiLocSetSensorPropertiesReqMsgT_v02; /* Message */ /** @} @@ -6024,8 +5892,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set Sensor Properties request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -6035,7 +5902,7 @@ typedef struct { \item 0x00000006 -- TIMEOUT \item 0x00000007 -- CONFIG_NOT_SUPPORTED \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Failed Set Sensor Properties */ @@ -6044,15 +5911,14 @@ typedef struct { /**< This field will be sent only if the status is not a success. Identifies the parameters that were not set successfully. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- GYRO_BIAS_VARIANCE_RANDOM_WALK \item 0x00000002 -- VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY \item 0x00000004 -- ACCELERATION_RANDOM_WALK_SPECTRAL_DENSITY \item 0x00000008 -- ANGLE_RANDOM_WALK_SPECTRAL_DENSITY \item 0x00000010 -- RATE_RANDOM_WALK_SPECTRAL_DENSITY \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetSensorPropertiesIndMsgT_v02; /* Message */ /** @} @@ -6069,15 +5935,14 @@ typedef struct { qmiLocSensorPropertiesMaskT_v02 getSensorPropertiesMask; /**< Mask denoting the sensor properties parameters to be retrieved. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- GYRO_BIAS_VARIANCE_RANDOM_WALK \item 0x00000002 -- VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY \item 0x00000004 -- ACCELERATION_RANDOM_WALK_SPECTRAL_DENSITY \item 0x00000008 -- ANGLE_RANDOM_WALK_SPECTRAL_DENSITY \item 0x00000010 -- RATE_RANDOM_WALK_SPECTRAL_DENSITY \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocGetSensorPropertiesReqMsgT_v02; /* Message */ /** @} @@ -6094,8 +5959,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Sensors Properties request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -6105,7 +5969,7 @@ typedef struct { \item 0x00000006 -- TIMEOUT \item 0x00000007 -- CONFIG_NOT_SUPPORTED \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Gyro Bias Random Walk Variance */ @@ -6117,7 +5981,7 @@ typedef struct { sensors data sheet or a sensors conformance test. \n - Units: Radians^2/seconds^4 - */ + */ /* Optional */ /* Velocity Random Walk Spectral Density */ @@ -6129,7 +5993,7 @@ typedef struct { sensors data sheet or a sensors conformance test. \n - Units: Meters/seconds^2/Hertz^0.5 - */ + */ /* Optional */ /* Acceleration Random Walk Spectral Density */ @@ -6141,7 +6005,7 @@ typedef struct { sensors data sheet or a sensors conformance test. \n - Units: Meters/seconds^3/Hertz^0.5 - */ + */ /* Optional */ /* Angle Random Walk Spectral Density */ @@ -6153,7 +6017,7 @@ typedef struct { sensors data sheet or a sensors conformance test. \n - Units: Radians/seconds/Hertz^0.5 - */ + */ /* Optional */ /* Rate Random Walk Spectral Density */ @@ -6165,7 +6029,7 @@ typedef struct { sensors data sheet or a sensors conformance test. \n - Units: Radians/seconds^2/Hertz^0.5 - */ + */ }qmiLocGetSensorPropertiesIndMsgT_v02; /* Message */ /** @} @@ -6179,12 +6043,11 @@ typedef enum { eQMI_LOC_SENSOR_PERFORMANCE_CONTROL_MODE_AUTO_V02 = 0, /**< Sensors usage is to be determined by the GNSS location engine. This mode can optimize power consumption and give a power-balanced positioning and heading enhancement using - inertial sensors - Sensors usage is to be forced ON. + inertial sensors */ + eQMI_LOC_SENSOR_PERFORMANCE_CONTROL_MODE_FORCED_V02 = 1, /**< Sensors usage is to be forced ON. This mode can be requested by the control point when power consumption is not a restriction to the use of inertial sensors. */ - eQMI_LOC_SENSOR_PERFORMANCE_CONTROL_MODE_FORCED_V02 = 1, QMILOCSENSORPERFORMANCECONTROLMODEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocSensorPerformanceControlModeEnumT_v02; /** @@ -6209,8 +6072,7 @@ typedef struct { This field is relevant only when sensors have been enabled using the sensors control configuration. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- AUTO: \n The GNSS location engine can decide when to request sensor data injection based on internal criteria. This is the default. @@ -6218,33 +6080,33 @@ typedef struct { The GNSS location engine must request use of sensors every time the GNSS location engine turns on. \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* 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 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. + /**< \n \vspace{0.06in} Sets the nominal rate at which the GNSS location + engine is to request acceleration data to be used by the low data rate + filter. The sensor data rate is specified in terms of the nominal number + of samples per batch and the number of batches per second. However, the final control of the actual requested rate resides with - the Sensors Manager Module/GNSS location engine. - The default specification is 10Hz sampling rate and 2Hz batching rate. - */ + the Sensors Manager Module/GNSS location engine. \n + 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 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. + /**< \n \vspace{0.06in} Sets the nominal rate at which the GNSS location + engine is to request gyro data to be used by the high data rate filter. + The sensor data rate is specified in terms of the nominal number of + samples per batch and the number of batches per second. However, the final control of the actual requested rate resides with - the Sensors Manager Module/GNSS location engine. - The default specification is 10Hz sampling rate and 2Hz batching rate. - */ + the Sensors Manager Module/GNSS location engine. \n + Default: 10 Hz sampling rate and 2 Hz batching rate. + */ /* Optional */ /* Algorithm Configuration */ @@ -6252,11 +6114,10 @@ typedef struct { qmiLocSensorAlgorithmMaskT_v02 algorithmConfig; /**< Sets which sensor algorithms are to be used when processing sensor data. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- DISABLE_INS_POSITIONING_FILTER \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* High Data Rate Filter Accelerometer Sampling Specification */ @@ -6267,9 +6128,9 @@ typedef struct { 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. - The default specification is 100Hz sampling rate and 4Hz batching rate. - */ + 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 */ @@ -6280,9 +6141,9 @@ typedef struct { 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. - The default specification is 100Hz sampling rate and 4Hz batching rate. - */ + the Sensors Manager Module/GNSS location engine. \n + Default: 100 Hz sampling rate and 4 Hz batching rate. + */ }qmiLocSetSensorPerformanceControlConfigReqMsgT_v02; /* Message */ /** @} @@ -6307,8 +6168,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set Sensor Performance Control Configuration request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -6317,17 +6177,17 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Failed Configuration */ uint8_t failedConfiguration_valid; /**< Must be set to true if failedConfiguration is being passed */ qmiLocSensorPerformanceControlConfigFailureMaskT_v02 failedConfiguration; - /**< This field is sent only if the status is not a success. - When sent, this field identifies which configuration failed. + /**< Identifies parameters that were not configured successfully. This field + is sent only if the status is not a success. - Valid bitmasks: - \begin{itemize1} + + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- PERFORMANCE_MODE \item 0x00000002 -- ACCEL_SAMPLING_SPEC \item 0x00000004 -- GYRO_SAMPLING_SPEC @@ -6335,7 +6195,7 @@ typedef struct { \item 0x00000010 -- ACCEL_SAMPLING_SPEC_HIGH \item 0x00000020 -- GYRO_SAMPLING_SPEC_HIGH \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetSensorPerformanceControlConfigIndMsgT_v02; /* Message */ /** @} @@ -6359,8 +6219,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Sensor Performance Control Configuration request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -6369,7 +6228,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Performance Control Mode */ @@ -6379,8 +6238,7 @@ typedef struct { This field is relevant only when sensors have been enabled using the sensor control configuration. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- AUTO: \n The GNSS location engine can decide when to request sensor data injection based on internal criteria. This is the default. @@ -6388,7 +6246,7 @@ typedef struct { The GNSS location engine must request use of the sensors every time the GNSS location engine turns on. \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Accelerometer Sampling Specification */ @@ -6399,9 +6257,9 @@ typedef struct { 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. - The default specification is 10Hz sampling rate and 2Hz batching rate. - */ + the Sensors Manager Module/GNSS location engine. \n + Default: 10 Hz sampling rate and 2Hz batching rate. + */ /* Optional */ /* Gyroscope Sampling Specification */ @@ -6412,9 +6270,9 @@ typedef struct { 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. - The default specification is 10Hz sampling rate and 2Hz batching rate. - */ + the Sensors Manager Module/GNSS location engine. \n + Default: 10 Hz sampling rate and 2 Hz batching rate. + */ /* Optional */ /* Algorithm Configuration */ @@ -6422,11 +6280,10 @@ typedef struct { qmiLocSensorAlgorithmMaskT_v02 algorithmConfig; /**< Informs which sensor algorithms are currently set. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- DISABLE_INS_POSITIONING_FILTER \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* High Data Rate Filter Accelerometer Sampling Specification */ @@ -6437,9 +6294,9 @@ typedef struct { 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. - The default specification is 100Hz sampling rate and 4Hz batching rate. - */ + 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 */ @@ -6450,9 +6307,9 @@ typedef struct { 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. - The default specification is 100Hz sampling rate and 4Hz batching rate. - */ + the Sensors Manager Module/GNSS location engine. \n + Default: 100 Hz sampling rate and 4 Hz batching rate. + */ }qmiLocGetSensorPerformanceControlConfigIndMsgT_v02; /* Message */ /** @} @@ -6469,7 +6326,7 @@ typedef struct { uint8_t suplCertId; /**< Certificate ID of the SUPL certificate. \n - Units: Bytes \n - - Range: 0 to 9 */ + - Range: 0 to 9 */ /* Mandatory */ /* SUPL Certificate Data */ @@ -6477,7 +6334,7 @@ typedef struct { uint8_t suplCertData[QMI_LOC_MAX_SUPL_CERT_LENGTH_V02]; /**< SUPL certificate contents. \n - Type: Array of bytes. \n - - Maximum certificate size: 2000 bytes */ + - Maximum certificate size: 2000 bytes */ }qmiLocInjectSuplCertificateReqMsgT_v02; /* Message */ /** @} @@ -6494,8 +6351,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Inject SUPL Certificate request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -6504,7 +6360,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocInjectSuplCertificateIndMsgT_v02; /* Message */ /** @} @@ -6524,7 +6380,7 @@ typedef struct { - Units: Bytes \n - Range: 0 to 9 \n If suplCertId is not specified, - all SUPL certificates are deleted. */ + all SUPL certificates are deleted. */ }qmiLocDeleteSuplCertificateReqMsgT_v02; /* Message */ /** @} @@ -6541,8 +6397,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Delete SUPL Certificate request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -6551,7 +6406,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocDeleteSuplCertificateIndMsgT_v02; /* Message */ /** @} @@ -6577,15 +6432,14 @@ typedef struct { uint8_t injectedPositionControl; /**< Controls how the injected position is used in the position engine. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \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 \end{itemize1} The default value is TRUE. - */ + */ /* Optional */ /* Filter SV Usage */ @@ -6593,13 +6447,12 @@ typedef struct { uint8_t filterSvUsage; /**< Controls whether SV usage is filtered in a position fix. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x01 (TRUE) -- Filter the usage of SVs in the fix \item 0x00 (FALSE) -- Do not filter the usage of SVs in the fix \end{itemize1} The default value is FALSE. - */ + */ /* Optional */ /* Store Assist Data */ @@ -6608,13 +6461,12 @@ typedef struct { /**< Controls whether assistance data is to be stored in persistent memory. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x01 (TRUE) -- Store assistance data in persistent memory \item 0x00 (FALSE) -- Do not store assistance data in persistent memory \end{itemize1} The default value is TRUE. - */ + */ }qmiLocSetPositionEngineConfigParametersReqMsgT_v02; /* Message */ /** @} @@ -6632,8 +6484,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Set Configuration Parameters request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -6642,7 +6493,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Failed Parameters */ @@ -6651,13 +6502,12 @@ typedef struct { /**< Identifies the parameters that were not set successfully. This field is sent only if the status is other than SUCCESS. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- INJECTED_POSITION_CONTROL \item 0x00000002 -- FILTER_SV_USAGE \item 0x00000004 -- STORE_ASSIST_DATA \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocSetPositionEngineConfigParametersIndMsgT_v02; /* Message */ /** @} @@ -6675,13 +6525,12 @@ typedef struct { qmiLocPositionEngineConfigParamMaskT_v02 getPositionEngineConfigParamMask; /**< Mask denoting the configuration parameters to be retrieved. - Valid bitmasks: - \begin{itemize1} + Valid bitmasks: \begin{itemize1} \item 0x00000001 -- INJECTED_POSITION_CONTROL \item 0x00000002 -- FILTER_SV_USAGE \item 0x00000004 -- STORE_ASSIST_DATA \vspace{-0.18in} \end{itemize1} - */ + */ }qmiLocGetPositionEngineConfigParametersReqMsgT_v02; /* Message */ /** @} @@ -6699,8 +6548,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Get Configuration Parameters request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -6709,7 +6557,7 @@ typedef struct { \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Injected Position Control */ @@ -6718,15 +6566,14 @@ typedef struct { /**< Specifies whether the injected position is used for a direct calculation in the position engine. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x01 (TRUE) -- The injected position is used in a direct position calculation \item 0x00 (FALSE) -- The injected position is not used in a direct position calculation \end{itemize1} The default value is TRUE. - */ + */ /* Optional */ /* Filter SV Usage */ @@ -6734,13 +6581,12 @@ typedef struct { uint8_t filterSvUsage; /**< Specifies whether SV usage is filtered in a position fix. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x01 (TRUE) -- SV usage is filtered in the fix \item 0x00 (FALSE) -- SV usage is not filtered in the fix \end{itemize1} The default value is FALSE. - */ + */ /* Optional */ /* Store Assist Data */ @@ -6748,14 +6594,13 @@ typedef struct { uint8_t storeAssistData; /**< Specifies whether assistance data is stored in persistent memory. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x01 (TRUE) -- Assistance data is stored in persistent memory \item 0x00 (FALSE) -- Assistance data is not stored in persistent memory \end{itemize1} The default value is TRUE. - */ + */ }qmiLocGetPositionEngineConfigParametersIndMsgT_v02; /* Message */ /** @} @@ -6776,12 +6621,11 @@ typedef enum { the time it is reported is higher. This setting results in lower power usage. */ eQMI_LOC_GEOFENCE_RESPONSIVENESS_MED_V02 = 0x02, /**< The Geofence is monitored for a breach at a - medium rate. This is the default setting. - The Geofence is monitored for a breach at a + medium rate. This is the default setting. */ + eQMI_LOC_GEOFENCE_RESPONSIVENESS_HIGH_V02 = 0x03, /**< The Geofence is monitored for a breach at a high rate. The gap between actual breach and the time it is reported is low. This results in higher power usage. */ - eQMI_LOC_GEOFENCE_RESPONSIVENESS_HIGH_V02 = 0x03, QMILOCGEOFENCERESPONSIVENESSENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocGeofenceResponsivenessEnumT_v02; /** @@ -6798,11 +6642,10 @@ typedef enum { 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. - The Geofence engine indicates a breach with + medium confidence. This is the default setting. */ + eQMI_LOC_GEOFENCE_CONFIDENCE_HIGH_V02 = 0x03, /**< The Geofence engine indicates a breach with high confidence. This setting results in higher power usage. */ - eQMI_LOC_GEOFENCE_CONFIDENCE_HIGH_V02 = 0x03, QMILOCGEOFENCECONFIDENCEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocGeofenceConfidenceEnumT_v02; /** @@ -6815,13 +6658,13 @@ typedef enum { typedef struct { double latitude; - /**< Latitude of the center of the Geofence. */ + /**< Latitude of the center of the Geofence.*/ double longitude; - /**< Longitude of the center of the Geofence. */ + /**< Longitude of the center of the Geofence.*/ uint32_t radius; - /**< Radius of the circular Geofence in meters. */ + /**< Radius of the circular Geofence in meters. */ }qmiLocCircularGeofenceArgsStructT_v02; /* Type */ /** @} @@ -6832,9 +6675,8 @@ typedef struct { */ typedef enum { QMILOCGEOFENCEPOSITIONENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_GEOFENCE_POSITION_INSIDE_V02 = 0x01, /**< Position inside a Geofence. - Position outside a Geofence. */ - eQMI_LOC_GEOFENCE_POSITION_OUTSIDE_V02 = 0x02, + eQMI_LOC_GEOFENCE_POSITION_INSIDE_V02 = 0x01, /**< Position inside a Geofence. */ + eQMI_LOC_GEOFENCE_POSITION_OUTSIDE_V02 = 0x02, /**< Position outside a Geofence. */ QMILOCGEOFENCEPOSITIONENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocGeofencePositionEnumT_v02; /** @@ -6852,7 +6694,7 @@ typedef struct { uint32_t transactionId; /**< Identifies the transaction. The transaction ID is returned in the Add Circular Geofence - indication. */ + indication. */ /* Mandatory */ /* Circular Geofence Arguments */ @@ -6863,11 +6705,10 @@ typedef struct { qmiLocGeofenceBreachMaskT_v02 breachMask; /**< Specifies the breach events in which the client is interested. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x01 -- GEOFENCE_BREACH_ENTERING_MASK \item 0x02 -- GEOFENCE_BREACH_LEAVING_MASK - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Mandatory */ /* Include Position in Breach Event */ @@ -6875,12 +6716,11 @@ typedef struct { /**< Specifies whether the Geofence engine is to include the position in a breach event. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x01 (TRUE) -- Position will be reported with the breach event \item 0x00 (FALSE) -- Position will not be reported with the breach event - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Responsiveness */ @@ -6891,12 +6731,11 @@ typedef struct { when it is reported. This parameter has power implications and is to be fine-tuned to optimize power savings. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- GEOFENCE_RESPONSIVENESS_LOW \item 0x00000002 -- GEOFENCE_RESPONSIVENESS_MED \item 0x00000003 -- GEOFENCE_RESPONSIVENESS_HIGH - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Confidence */ @@ -6907,12 +6746,11 @@ typedef struct { This parameter has power implications and is to be fine-tuned to optimize power savings. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- GEOFENCE_CONFIDENCE_LOW \item 0x00000002 -- GEOFENCE_CONFIDENCE_MED \item 0x00000003 -- GEOFENCE_CONFIDENCE_HIGH - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocAddCircularGeofenceReqMsgT_v02; /* Message */ /** @} @@ -6929,8 +6767,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Add Circular Geofence request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -6940,7 +6777,7 @@ typedef struct { \item 0x00000006 -- TIMEOUT \item 0x00000008 -- INSUFFICIENT_MEMORY \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Transaction ID */ @@ -6948,7 +6785,7 @@ typedef struct { uint32_t transactionId; /**< Transaction ID that was specified in the Add Circular Geofence request. This parameter will always be present - if the status field is set to SUCCESS. */ + if the status field is set to SUCCESS. */ /* Optional */ /* Geofence ID */ @@ -6956,7 +6793,7 @@ typedef struct { uint32_t geofenceId; /**< Geofence identifier allocated by the engine. The client must include this identifier in all transactions - pertaining to this Geofence. */ + pertaining to this Geofence. */ }qmiLocAddCircularGeofenceIndMsgT_v02; /* Message */ /** @} @@ -6971,14 +6808,14 @@ typedef struct { /* Mandatory */ /* Geofence ID */ uint32_t geofenceId; - /**< Identifier for the Geofence that is to be deleted. */ + /**< Identifier for the Geofence that is to be deleted. */ /* Mandatory */ /* Transaction ID */ uint32_t transactionId; /**< Identifies the transaction. The transaction ID is returned in the Delete Geofence - indication. */ + indication. */ }qmiLocDeleteGeofenceReqMsgT_v02; /* Message */ /** @} @@ -6995,8 +6832,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Delete Geofence request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -7004,13 +6840,13 @@ typedef struct { \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Geofence ID */ uint8_t geofenceId_valid; /**< Must be set to true if geofenceId is being passed */ uint32_t geofenceId; - /**< Identifier for the Geofence that was deleted. */ + /**< Identifier for the Geofence that was deleted. */ /* Optional */ /* Transaction ID */ @@ -7018,7 +6854,7 @@ typedef struct { uint32_t transactionId; /**< Transaction ID that was specified in the Delete Geofence request. This parameter will always be present - if the status field is set to SUCCESS. */ + if the status field is set to SUCCESS. */ }qmiLocDeleteGeofenceIndMsgT_v02; /* Message */ /** @} @@ -7029,9 +6865,8 @@ typedef struct { */ typedef enum { QMILOCGEOFENCEORIGINENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_GEOFENCE_ORIGIN_NETWORK_V02 = 1, /**< The Geofence was initiated by a network-initiated client. - The Geofence was initiated by the device. */ - eQMI_LOC_GEOFENCE_ORIGIN_DEVICE_V02 = 2, + eQMI_LOC_GEOFENCE_ORIGIN_NETWORK_V02 = 1, /**< The Geofence was initiated by a network-initiated client. */ + eQMI_LOC_GEOFENCE_ORIGIN_DEVICE_V02 = 2, /**< The Geofence was initiated by the device. */ QMILOCGEOFENCEORIGINENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocGeofenceOriginEnumT_v02; /** @@ -7043,9 +6878,8 @@ typedef enum { */ typedef enum { QMILOCGEOFENCESTATEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_GEOFENCE_STATE_ACTIVE_V02 = 1, /**< The Geofence is being actively monitored. - The Geofence monitoring is suspended. */ - eQMI_LOC_GEOFENCE_STATE_SUSPEND_V02 = 2, + eQMI_LOC_GEOFENCE_STATE_ACTIVE_V02 = 1, /**< The Geofence is being actively monitored. */ + eQMI_LOC_GEOFENCE_STATE_SUSPEND_V02 = 2, /**< The Geofence monitoring is suspended. */ QMILOCGEOFENCESTATEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocGeofenceStateEnumT_v02; /** @@ -7061,14 +6895,14 @@ typedef struct { /* Mandatory */ /* Geofence ID */ uint32_t geofenceId; - /**< Identifier for the Geofence that is to be queried. */ + /**< Identifier for the Geofence that is to be queried. */ /* Mandatory */ /* Transaction ID */ uint32_t transactionId; /**< Identifies the transaction. The transaction ID is returned with the Query Geofence - indication. */ + indication. */ }qmiLocQueryGeofenceReqMsgT_v02; /* Message */ /** @} @@ -7085,8 +6919,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Query Geofence request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -7094,13 +6927,13 @@ typedef struct { \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Geofence ID */ uint8_t geofenceId_valid; /**< Must be set to true if geofenceId is being passed */ uint32_t geofenceId; - /**< Identifier for the Geofence that was queried. */ + /**< Identifier for the Geofence that was queried. */ /* Optional */ /* Transaction ID */ @@ -7108,7 +6941,7 @@ typedef struct { uint32_t transactionId; /**< Transaction ID that was specified in the Query Geofence request. This parameter will always be present - if the status field is set to SUCCESS. */ + if the status field is set to SUCCESS. */ /* Optional */ /* Geofence Origin */ @@ -7116,12 +6949,11 @@ typedef struct { qmiLocGeofenceOriginEnumT_v02 geofenceOrigin; /**< Originator of the Geofence. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- GEOFENCE_ORIGIN_NETWORK \item 0x00000002 -- GEOFENCE_ORIGIN_DEVICE \vspace{-0.18in} \end{itemize1} - */ + */ /* Optional */ /* Position with Respect to Geofence */ @@ -7130,11 +6962,10 @@ typedef struct { /**< Indicates if the client is currently inside or outside the Geofence. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- GEOFENCE_POSITION_INSIDE \item 0x00000002 -- GEOFENCE_POSITION_OUTSIDE - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Circular Geofence Parameters */ @@ -7147,11 +6978,10 @@ typedef struct { qmiLocGeofenceStateEnumT_v02 geofenceState; /**< Specifies whether the Geofence is to be actively monitored. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- GEOFENCE_STATE_ACTIVE \item 0x00000002 -- GEOFENCE_STATE_SUSPEND - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocQueryGeofenceIndMsgT_v02; /* Message */ /** @} @@ -7166,7 +6996,7 @@ typedef struct { /* Mandatory */ /* Geofence ID */ uint32_t geofenceId; - /**< Identifier for the Geofence to be edited. */ + /**< Identifier for the Geofence to be edited. */ /* Mandatory */ /* Transaction ID */ @@ -7174,7 +7004,7 @@ typedef struct { /**< Transaction ID that was specified in the Edit Geofence request. This parameter will always be present if the status field is set to SUCCESS. - */ + */ /* Optional */ /* Geofence State */ @@ -7182,11 +7012,10 @@ typedef struct { qmiLocGeofenceStateEnumT_v02 geofenceState; /**< Specifies whether the Geofence is to be actively monitored. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- GEOFENCE_STATE_ACTIVE \item 0x00000002 -- GEOFENCE_STATE_SUSPEND - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Breach Event Mask */ @@ -7194,11 +7023,10 @@ typedef struct { qmiLocGeofenceBreachMaskT_v02 breachMask; /**< Specifies the breach events in which the client is interested. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x01 -- GEOFENCE_BREACH_ENTERING_MASK \item 0x02 -- GEOFENCE_BREACH_LEAVING_MASK - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocEditGeofenceReqMsgT_v02; /* Message */ /** @} @@ -7218,8 +7046,7 @@ typedef struct { qmiLocStatusEnumT_v02 status; /**< Status of the Edit Geofence request. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- SUCCESS \item 0x00000001 -- GENERAL_FAILURE \item 0x00000002 -- UNSUPPORTED @@ -7227,20 +7054,20 @@ typedef struct { \item 0x00000004 -- ENGINE_BUSY \item 0x00000005 -- PHONE_OFFLINE \item 0x00000006 -- TIMEOUT - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Geofence ID */ uint8_t geofenceId_valid; /**< Must be set to true if geofenceId is being passed */ uint32_t geofenceId; - /**< Identifier for the Geofence that was edited. */ + /**< Identifier for the Geofence that was edited. */ /* Optional */ /* Transaction ID */ uint8_t transactionId_valid; /**< Must be set to true if transactionId is being passed */ uint32_t transactionId; /**< Identifies the transaction. The transaction ID - is specified in the Edit Geofence request. */ + is specified in the Edit Geofence request. */ /* Optional */ /* Failed Parameters */ @@ -7250,11 +7077,10 @@ typedef struct { the mask corresponding to a field is set, it indicates that the Geofence parameter could not be edited. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000001 -- GEOFENCE_PARAM_MASK_GEOFENCE_STATE \item 0x00000002 -- GEOFENCE_PARAM_MASK_BREACH_MASK - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ }qmiLocEditGeofenceIndMsgT_v02; /* Message */ /** @} @@ -7271,7 +7097,7 @@ typedef struct { /* Transaction ID */ uint32_t transactionId; /**< Identifies the transaction. The transaction ID - is returned in the Get Best Available Position indication. */ + is returned in the Get Best Available Position indication. */ }qmiLocGetBestAvailablePositionReqMsgT_v02; /* Message */ /** @} @@ -7294,7 +7120,7 @@ typedef struct { - 0x00000001 -- GENERAL_FAILURE \n - 0x00000002 -- UNSUPPORTED \n - 0x00000004 -- ENGINE_BUSY \n - - 0x00000006 -- TIMEOUT */ + - 0x00000006 -- TIMEOUT */ /* Optional */ /* Transaction ID */ @@ -7303,7 +7129,7 @@ typedef struct { /**< Transaction ID that was specified in the Get Best Available Position request. This parameter will always be present if the status field is set to - SUCCESS. */ + SUCCESS. */ /* Optional */ /* Latitude */ @@ -7316,7 +7142,7 @@ typedef struct { \item Range: -90.0 to 90.0 \begin{itemize1} \item Positive values indicate northern latitude \item Negative values indicate southern latitude - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ /* Optional */ /* Longitude */ @@ -7329,14 +7155,14 @@ typedef struct { \item Range: -180.0 to 180.0 \begin{itemize1} \item Positive values indicate eastern longitude \item Negative values indicate western longitude - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ /* Optional */ /* Circular Horizontal Position Uncertainty */ uint8_t horUncCircular_valid; /**< Must be set to true if horUncCircular is being passed */ float horUncCircular; /**< Horizontal position uncertainty (circular).\n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Altitude With Respect to Ellipsoid */ @@ -7344,14 +7170,14 @@ typedef struct { float altitudeWrtEllipsoid; /**< Altitude with respect to the WGS84 ellipsoid.\n - Units: Meters \n - - Range: -500 to 15883 */ + - Range: -500 to 15883 */ /* Optional */ /* Vertical Uncertainty */ uint8_t vertUnc_valid; /**< Must be set to true if vertUnc is being passed */ float vertUnc; /**< Vertical uncertainty.\n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* UTC Timestamp */ @@ -7360,28 +7186,28 @@ typedef struct { /**< UTC timestamp. \begin{itemize1} \item Units: Milliseconds since Jan. 1, 1970 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Time Uncertainty */ uint8_t timeUnc_valid; /**< Must be set to true if timeUnc is being passed */ float timeUnc; /**< Time uncertainty. \n - - Units: Milliseconds */ + - Units: Milliseconds */ /* Optional */ /* Horizontal Elliptical Uncertainty Semi-Minor Axis */ uint8_t horUncEllipseSemiMinor_valid; /**< Must be set to true if horUncEllipseSemiMinor is being passed */ float horUncEllipseSemiMinor; /**< Semi-minor axis of horizontal elliptical uncertainty. \n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Horizontal Elliptical Uncertainty Semi-Major Axis */ uint8_t horUncEllipseSemiMajor_valid; /**< Must be set to true if horUncEllipseSemiMajor is being passed */ float horUncEllipseSemiMajor; /**< Semi-major axis of horizontal elliptical uncertainty. \n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Horizontal Elliptical Uncertainty Azimuth */ @@ -7389,7 +7215,7 @@ typedef struct { float horUncEllipseOrientAzimuth; /**< Elliptical horizontal uncertainty azimuth of orientation. \n - Units: Decimal degrees \n - - Range: 0 to 180 */ + - Range: 0 to 180 */ /* Optional */ /* Horizontal Circular Confidence */ @@ -7397,7 +7223,7 @@ typedef struct { uint8_t horCircularConfidence; /**< Horizontal circular uncertainty confidence. \n - Units: Percent \n - - Range: 0 to 99 */ + - Range: 0 to 99 */ /* Optional */ /* Horizontal Elliptical Confidence */ @@ -7405,7 +7231,7 @@ typedef struct { uint8_t horEllipticalConfidence; /**< Horizontal elliptical uncertainty confidence. \n - Units: Percent \n - - Range: 0 to 99 */ + - Range: 0 to 99 */ /* Optional */ /* Horizontal Reliability */ @@ -7413,35 +7239,34 @@ typedef struct { qmiLocReliabilityEnumT_v02 horReliability; /**< Specifies the reliability of the horizontal position. - Valid values: - \begin{itemize1} + 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 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Horizontal Speed */ uint8_t horSpeed_valid; /**< Must be set to true if horSpeed is being passed */ float horSpeed; /**< Horizontal speed. \n - - Units: Meters/second */ + - Units: Meters/second */ /* Optional */ /* Horizontal Speed Uncertainty */ uint8_t horSpeedUnc_valid; /**< Must be set to true if horSpeedUnc is being passed */ float horSpeedUnc; /**< Horizontal speed uncertainty. \n - - Units: Meters/second */ + - Units: Meters/second */ /* Optional */ /* Altitude With Respect to Sea Level */ uint8_t altitudeWrtMeanSeaLevel_valid; /**< Must be set to true if altitudeWrtMeanSeaLevel is being passed */ float altitudeWrtMeanSeaLevel; /**< Altitude with respect to mean sea level. \n - - Units: Meters */ + - Units: Meters */ /* Optional */ /* Vertical Confidence */ @@ -7449,7 +7274,7 @@ typedef struct { uint8_t vertConfidence; /**< Vertical uncertainty confidence. \n - Units: Percent \n - - Range: 0 to 99 */ + - Range: 0 to 99 */ /* Optional */ /* Vertical Reliability */ @@ -7457,28 +7282,27 @@ typedef struct { qmiLocReliabilityEnumT_v02 vertReliability; /**< Specifies the reliability of the vertical position. - Valid values: - \begin{itemize1} + 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 - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1}*/ /* Optional */ /* Vertical Speed */ uint8_t vertSpeed_valid; /**< Must be set to true if vertSpeed is being passed */ float vertSpeed; /**< Vertical speed. \n - - Units: Meters/second */ + - Units: Meters/second */ /* Optional */ /* Vertical Speed Uncertainty */ uint8_t vertSpeedUnc_valid; /**< Must be set to true if vertSpeedUnc is being passed */ float vertSpeedUnc; /**< Vertical speed uncertainty. \n - - Units: Meters/second */ + - Units: Meters/second */ /* Optional */ /* Heading */ @@ -7486,7 +7310,7 @@ typedef struct { float heading; /**< Heading. \n - Units: Degrees \n - - Range: 0 to 359.999 */ + - Range: 0 to 359.999 */ /* Optional */ /* Heading Uncertainty */ @@ -7494,7 +7318,7 @@ typedef struct { float headingUnc; /**< Heading uncertainty. \n - Type: Floating point \n - - Range: 0 to 359.999 */ + - Range: 0 to 359.999 */ /* Optional */ /* Magnetic Deviation */ @@ -7502,7 +7326,7 @@ typedef struct { float magneticDeviation; /**< 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. */ + north is east of true north. */ /* Optional */ /* Technology Used Mask */ @@ -7510,15 +7334,14 @@ typedef struct { qmiLocPosTechMaskT_v02 technologyMask; /**< Technology used in computing this fix. - Valid bitmasks: - \begin{itemize1} + 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} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Dilution of Precision */ @@ -7536,8 +7359,7 @@ typedef struct { qmiLocTimeSourceEnumT_v02 timeSrc; /**< Time source. - Valid values: - \begin{itemize1} + Valid values: \begin{itemize1} \item 0x00000000 -- TIME_SRC_INVALID \item 0x00000001 -- TIME_SRC_NETWORK_TIME_TRANSFER \item 0x00000002 -- TIME_SRC_NETWORK_TIME_TAGGING @@ -7547,7 +7369,7 @@ typedef struct { \item 0x00000006 -- TIME_SRC_TOW_AND_WEEK_CONFIRMED \item 0x00000007 -- TIME_SRC_NAV_SOLUTION \item 0x00000008 -- TIME_SRC_SOLVE_FOR_TIME - \vspace{-0.18in} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} */ /* Optional */ /* Sensor Data Usage */ @@ -7561,14 +7383,13 @@ typedef struct { 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 - information is associated with each SV ID: - \begin{itemize1} + 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 QZSS: 193 to 197 - \vspace{-0.18in} \end{itemize1} \end{itemize1} */ + \vspace{-0.18in} \end{itemize1} \end{itemize1} */ }qmiLocGetBestAvailablePositionIndMsgT_v02; /* Message */ /** @} @@ -7579,10 +7400,9 @@ typedef struct { */ typedef enum { QMILOCMOTIONSTATEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_MOTION_STATE_UNKNOWN_V02 = 0, /**< Device state is not known */ - eQMI_LOC_MOTION_STATE_STATIONARY_V02 = 1, /**< Device state is stationary - Device state is in motion */ - eQMI_LOC_MOTION_STATE_IN_MOTION_V02 = 2, + eQMI_LOC_MOTION_STATE_UNKNOWN_V02 = 0, /**< Device state is not known. */ + eQMI_LOC_MOTION_STATE_STATIONARY_V02 = 1, /**< Device state is Stationary. */ + eQMI_LOC_MOTION_STATE_IN_MOTION_V02 = 2, /**< Device state is In Motion. */ QMILOCMOTIONSTATEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocMotionStateEnumT_v02; /** @@ -7594,13 +7414,12 @@ typedef enum { */ typedef enum { QMILOCMOTIONMODEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ - eQMI_LOC_MOTION_MODE_UNKNOWN_V02 = 0, /**< Device movement is not known */ - eQMI_LOC_MOTION_MODE_STATIONARY_V02 = 1, /**< Device is not moving */ - eQMI_LOC_MOTION_MODE_PEDESTRIAN_UNKNOWN_V02 = 200, /**< Device movement is in pedestrian mode, nothing else is known about the movement */ - eQMI_LOC_MOTION_MODE_PEDESTRIAN_WALKING_V02 = 201, /**< Device movement is in pedestrian walking mode */ - eQMI_LOC_MOTION_MODE_PEDESTRIAN_RUNNING_V02 = 202, /**< Device movement is in pedestrian running mode - Device movement is in vehicular mode, nothing else is known about the movement */ - eQMI_LOC_MOTION_MODE_VEHICLE_UNKNOWN_V02 = 300, + eQMI_LOC_MOTION_MODE_UNKNOWN_V02 = 0, /**< Device movement is not known. */ + eQMI_LOC_MOTION_MODE_STATIONARY_V02 = 1, /**< Device is not moving. */ + eQMI_LOC_MOTION_MODE_PEDESTRIAN_UNKNOWN_V02 = 200, /**< Device movement is in Pedestrian mode; nothing else is known about the movement. */ + eQMI_LOC_MOTION_MODE_PEDESTRIAN_WALKING_V02 = 201, /**< Device movement is in pedestrian Walking mode. */ + eQMI_LOC_MOTION_MODE_PEDESTRIAN_RUNNING_V02 = 202, /**< Device movement is in pedestrian Running mode. */ + eQMI_LOC_MOTION_MODE_VEHICLE_UNKNOWN_V02 = 300, /**< Device movement is in Vehicular mode; nothing else is known about the movement. */ QMILOCMOTIONMODEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ }qmiLocMotionModeEnumT_v02; /** @@ -7613,17 +7432,42 @@ typedef enum { typedef struct { qmiLocMotionStateEnumT_v02 motion_state; - /**< Current motion state of the user. States of user motion: \n - Options are: */ + /**< Current motion state of the user. \n + + Valid values: \begin{itemize1} + \item eQMI_LOC_MOTION_STATE_UNKNOWN (0) -- Device state is not known. + \item eQMI_LOC_MOTION_STATE_STATIONARY (1) -- Device state is Stationary. + \item eQMI_LOC_MOTION_STATE_IN_MOTION (2) -- Device state is In Motion. + \vspace{0.06in} \end{itemize1} + + Absolute rest and relative rest are both indicated by setting motion_state + to Stationary. The relative rest state can be distinguished from absolute + rest by reducing probability_of_state. + */ qmiLocMotionModeEnumT_v02 motion_mode; - /**< Modes of user motion.\n - Options are: */ + /**< Modes of user motion. \n + + 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_ PEDESTRIAN_UNKNOWN (200) -- Device 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. + \item eQMI_LOC_MOTION_MODE_ PEDESTRIAN_RUNNING (202) -- Device movement + is in Pedestrian Running mode. + \item eQMI_LOC_MOTION_MODE_ VEHICLE_UNKNOWN (300) -- Device movement is + in Vehicular mode; nothing else is known about the movement. + \vspace{0.06in} \end{itemize1} + + The motion_mode value is independent of the motion_state value. + */ float probability_of_state; /**< Probability that the device is actually undergoing the motion state specified by the combination of the values of motion_state, motion_mode, - and motion_sub_mode. \vspace{0.06in} + and motion_sub_mode. \vspace{0.06in} This value is a floating point number in the range of 0 to 100, in units of percent probability. Any value greater than 99.9999 is @@ -7635,33 +7479,33 @@ typedef struct { For example, if the mode of In-Motion + Pedestrian-Running can only be determined with 50 percent probability, and the simpler statement of In-Motion can be determined with 90 percent probability, it is recommended that this field - be used to simply state In-Motion with 90 percent probability. \vspace{0.06in} + be used to simply state In-Motion with 90 percent probability. \vspace{0.06in} 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. - */ + */ uint16_t timeout; - /**< If the age of the motion data input exceeds the timeout value, it + /**< 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 indefinitely until the next input is + the motion data input is applied until the next input is received. \vspace{0.06in} - If the determination of motion data is an instantaneous observation, - and no notice is guaranteed to be given via QMI on a change in the - state of motion data, it is recommended that this field be set to 0. \vspace{0.06in} + If the determination of motion data is an instantaneous observation + and no notice is guaranteed to be given via the QMI on a change in the + state of the motion data, it is recommended that this field be set to 0. \vspace{0.06in} If the determination of motion data is continuously monitored - external to QMI, and an update is always applied to QMI upon any + 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 */ /** @} @@ -7676,6 +7520,7 @@ typedef struct { /* Mandatory */ /* Motion Data */ qmiLocMotionDataStructT_v02 motion_data; + /**< Current motion data of the client */ }qmiLocInjectMotionDataReqMsgT_v02; /* Message */ /** @} @@ -7688,17 +7533,19 @@ typedef struct { typedef struct { /* Mandatory */ - /* Inject motion data request status */ + /* Inject Motion Data Request Status */ qmiLocStatusEnumT_v02 status; /**< Status of the Inject Motion Data request. - Valid values: \n - - 0x00000000 -- SUCCESS \n - - 0x00000001 -- GENERAL_FAILURE \n - - 0x00000002 -- UNSUPPORTED \n - - 0x00000003 -- INVALID_PARAMETER \n - - 0x00000004 -- ENGINE_BUSY \n - */ + Valid values: \begin{itemize1} + \item 0x00000000 -- SUCCESS + \item 0x00000001 -- GENERAL_FAILURE + \item 0x00000002 -- UNSUPPORTED + \item 0x00000003 -- INVALID_ PARAMETER + \item 0x00000004 -- ENGINE_BUSY + \item 0x00000006 -- TIMEOUT + \vspace{-0.18in} \end{itemize1} + */ }qmiLocInjectMotionDataIndMsgT_v02; /* Message */ /** @} @@ -7708,15 +7555,14 @@ typedef struct { @{ */ /** Request Message; Used by the control point to retrieve the list of network - initiated geofence ID's. */ + initiated Geofence IDs. */ typedef struct { /* Mandatory */ - /* Transaction Id */ + /* Transaction ID */ uint32_t transactionId; - /**< Identifies the transaction, the same transaction Id - will be returned in the Get NI Geofence ID List indication. - - Type -- Unsigned Integer. */ + /**< Identifies the transaction. The same transaction ID + will be returned in the Get NI Geofence ID List indication. */ }qmiLocGetNiGeofenceIdListReqMsgT_v02; /* Message */ /** @} @@ -7726,7 +7572,7 @@ typedef struct { @{ */ /** Indication Message; Used by the control point to retrieve the list of network - initiated geofence ID's. */ + initiated Geofence IDs. */ typedef struct { /* Mandatory */ @@ -7738,29 +7584,192 @@ typedef struct { - 0x00000001 -- GENERAL_FAILURE \n - 0x00000002 -- UNSUPPORTED \n - 0x00000004 -- ENGINE_BUSY \n - - 0x00000006 -- TIMEOUT */ + - 0x00000006 -- TIMEOUT */ /* Optional */ - /* Transaction Id */ + /* Transaction ID */ uint8_t transactionId_valid; /**< Must be set to true if transactionId is being passed */ uint32_t transactionId; - /**< Transaction Id which was specified in the Get NI - Geofence ID List request. - - Type -- Unsigned Integer. */ + /**< Transaction ID that was specified in the Get NI + Geofence ID List request. */ /* Optional */ /* NI Geofence ID List */ uint8_t niGeofenceIdList_valid; /**< Must be set to true if niGeofenceIdList is being passed */ 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 Id's. - - Type: Array of unsigned 32 bit integers. \n - - Maximum NI Geofence ID List length : 16 */ + /**< List containing the NI Geofence IDs. + - Type: Array of unsigned 32-bit integers \n + - Maximum NI Geofence ID List length: 16 */ }qmiLocGetNiGeofenceIdListIndMsgT_v02; /* Message */ /** @} */ +/** @addtogroup loc_qmi_aggregates + @{ + */ +typedef struct { + + uint32_t MCC; + /**< GSM mobile country code. Refer to ITU-T E.212 specification */ + + uint32_t MNC; + /**< GSM mobile network code. Refer to ITU-T E.212 specification*/ + + uint32_t LAC; + /**< GSM location area code.Refer to ITU-T E.212 specification */ + + uint32_t CID; + /**< GSM cell identification.Refer to ITU-T E.212 specification */ +}qmiLocGSMCellIdStructT_v02; /* Type */ +/** + @} + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Request Message; Used to inject GSM Cell information into the location + engine. */ +typedef struct { + + /* Mandatory */ + /* GSM Cell ID */ + qmiLocGSMCellIdStructT_v02 gsmCellId; + /**< Identifies the GSM Cell the device is currently camped on.*/ + + /* Mandatory */ + /* Roaming Status */ + uint8_t roamingStatus; + /**< Whether the device is roaming. + \begin{itemize1} + \item 0x01 (TRUE) -- The device is roaming. + \item 0x00 (FALSE) -- The device is not roaming. + \vspace{-0.18in} \end{itemize1}*/ +}qmiLocInjectGSMCellInfoReqMsgT_v02; /* Message */ +/** + @} + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Indication Message; Used to inject GSM Cell information into the location + engine. */ +typedef struct { + + /* Mandatory */ + /* Inject GSM Cell Info Status */ + qmiLocStatusEnumT_v02 status; + /**< Status of the Inject GSM Cell Info request. + + Valid values: \n + - 0x00000000 -- SUCCESS \n + - 0x00000001 -- GENERAL_FAILURE \n + - 0x00000002 -- UNSUPPORTED \n + - 0x00000003 -- INVALID_PARAMETER \n + - 0x00000004 -- ENGINE_BUSY \n + - 0x00000006 -- TIMEOUT */ +}qmiLocInjectGSMCellInfoIndMsgT_v02; /* Message */ +/** + @} + */ + +/** @addtogroup loc_qmi_enums + @{ + */ +typedef enum { + QMILOCINJECTEDNETWORKINITIATEDMESSAGETYPEENUMT_MIN_ENUM_VAL_V02 = -2147483647, /**< To force a 32 bit signed enum. Do not change or use*/ + eQMI_LOC_INJECTED_NETWORK_INITIATED_MESSAGE_TYPE_SUPL_V02 = 0, /**< SUPL netwrok initiated message is being injected. */ + QMILOCINJECTEDNETWORKINITIATEDMESSAGETYPEENUMT_MAX_ENUM_VAL_V02 = 2147483647 /**< To force a 32 bit signed enum. Do not change or use*/ +}qmiLocInjectedNetworkInitiatedMessageTypeEnumT_v02; +/** + @} + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Request Message; Used to inject a network initiated message into the location + engine. */ +typedef struct { + + /* Mandatory */ + /* Injected Network Initiated Message Type */ + qmiLocInjectedNetworkInitiatedMessageTypeEnumT_v02 injectedNIMessageType; + /**< Type of the network initiated message being injected + Valid Values: + - eQMI_LOC_INJECTED_NETWORK_INITIATED_MESSAGE_TYPE_SUPL (0) -- SUPL netwrok initiated message is being injected. */ + + /* Mandatory */ + /* Injected Network Initiated Message */ + uint32_t injectedNIMessage_len; /**< Must be set to # of elements in injectedNIMessage */ + uint8_t injectedNIMessage[QMI_LOC_MAX_INJECTED_NETWORK_INITIATED_MESSAGE_LENGTH_V02]; + /**< Network initiated message body. + If the inject NI message type is TYPE_SUPL, the message contains + a SUPL INIT message as defined in OMA-TS-ULP-V2_0-20110527-C specification. */ +}qmiLocInjectNetworkInitiatedMessageReqMsgT_v02; /* Message */ +/** + @} + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Indication Message; Used to inject a network initiated message into the location + engine. */ +typedef struct { + + /* Mandatory */ + /* Inject Network Initiated Message Status */ + qmiLocStatusEnumT_v02 status; + /**< Status of the Inject Network Initiated Message request. + + Valid values: \n + - 0x00000000 -- SUCCESS \n + - 0x00000001 -- GENERAL_FAILURE \n + - 0x00000002 -- UNSUPPORTED \n + - 0x00000003 -- INVALID_PARAMETER \n + - 0x00000004 -- ENGINE_BUSY \n + - 0x00000006 -- TIMEOUT \n + - 0x00000008 -- INSUFFICIENT_MEMORY \n */ +}qmiLocInjectNetworkInitiatedMessageIndMsgT_v02; /* Message */ +/** + @} + */ + +/* + * qmiLocWWANOutOfServiceNotificationReqMsgT is empty + * typedef struct { + * }qmiLocWWANOutOfServiceNotificationReqMsgT_v02; + */ + +/** @addtogroup loc_qmi_messages + @{ + */ +/** Indication Message; Used to notify the location engine that the device is + no longer camped. */ +typedef struct { + + /* Mandatory */ + /* Notify WWAN Out of Service Status */ + qmiLocStatusEnumT_v02 status; + /**< Status of the Notify WWAN out of service request. + + Valid values: \n + - 0x00000000 -- SUCCESS \n + - 0x00000001 -- GENERAL_FAILURE \n + - 0x00000002 -- UNSUPPORTED \n + - 0x00000003 -- INVALID_PARAMETER \n + - 0x00000004 -- ENGINE_BUSY \n + - 0x00000006 -- TIMEOUT \n + */ +}qmiLocWWANOutOfServiceNotificationIndMsgT_v02; /* Message */ +/** + @} + */ + /*Service Message Definition*/ /** @addtogroup loc_qmi_msg_ids @{ @@ -7949,6 +7958,15 @@ typedef struct { #define QMI_LOC_GET_NI_GEOFENCE_ID_LIST_REQ_V02 0x0069 #define QMI_LOC_GET_NI_GEOFENCE_ID_LIST_RESP_V02 0x0069 #define QMI_LOC_GET_NI_GEOFENCE_ID_LIST_IND_V02 0x0069 +#define QMI_LOC_INJECT_GSM_CELL_INFO_REQ_V02 0x006A +#define QMI_LOC_INJECT_GSM_CELL_INFO_RESP_V02 0x006A +#define QMI_LOC_INJECT_GSM_CELL_INFO_IND_V02 0x006A +#define QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_REQ_V02 0x006B +#define QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_RESP_V02 0x006B +#define QMI_LOC_INJECT_NETWORK_INITIATED_MESSAGE_IND_V02 0x006B +#define QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_REQ_V02 0x006C +#define QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_RESP_V02 0x006C +#define QMI_LOC_WWAN_OUT_OF_SERVICE_NOTIFICATION_IND_V02 0x006C /** @} */