1f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
2f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *
3f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * Redistribution and use in source and binary forms, with or without
4f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * modification, are permitted provided that the following conditions are
5f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * met:
6f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *     * Redistributions of source code must retain the above copyright
7f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       notice, this list of conditions and the following disclaimer.
8f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *     * Redistributions in binary form must reproduce the above
9f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       copyright notice, this list of conditions and the following
10f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       disclaimer in the documentation and/or other materials provided
11f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       with the distribution.
12f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *     * Neither the name of Code Aurora Forum, Inc. nor the names of its
13f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       contributors may be used to endorse or promote products derived
14f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       from this software without specific prior written permission.
15f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *
16f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
17f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
19f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
20f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
23f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
26f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani */
28f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
29f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @file loc_api_v02_client.h
30f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
31f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
32f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#ifndef LOC_API_V02_CLIENT_H
33f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define LOC_API_V02_CLIENT_H
34f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
35f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#ifdef __cplusplus
36f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern "C" {
37f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#endif
38f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
39f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
40f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/*=============================================================================
41f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *
42f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *                             DATA DECLARATION
43f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *
44f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *============================================================================*/
45f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
46f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#include <stdint.h>
47f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#include "location_service_v02.h"  //QMI LOC Service data types definitions
48f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#include <stdbool.h>
49f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#include <stddef.h>
50f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
51f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/******************************************************************************
52f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *  Constants and configuration
53f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *****************************************************************************/
54f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
55f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @addtogroup constants_macros
56f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani@{ */
57f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
58f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** Specific value of #locClientHandleType, indicating an invalid handle. */
59f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define LOC_CLIENT_INVALID_HANDLE_VALUE (NULL)
60f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
61f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @} */ /* end_addtogroup constants_macros */
62f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
63f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @addtogroup data_types
64f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani@{ */
65f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
66f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** Location client handle used to represent a specific client. Negative values
67f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    are invalid handles. */
68f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef void* locClientHandleType;
69f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
70f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** Data type for events and event masks.
71f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    @newpage */
72f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef uint64_t locClientEventMaskType;
73f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
74f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** Location client status values.
75f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    @vertspace
76f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
77f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum
78f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani{
79f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_SUCCESS                              = 0,
80f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Request was successful. */
81f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
82f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_GENERAL                      = 1,
83f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because of a general failure. */
84f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
85f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_UNSUPPORTED                  = 2,
86f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because the service does not support the command. */
87f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
88f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_INVALID_PARAMETER            = 3,
89f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because the request contained invalid parameters. */
90f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
91f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_ENGINE_BUSY                  = 4,
92f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because the engine is busy. */
93f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
94f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_PHONE_OFFLINE                = 5,
95f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because the phone is offline. */
96f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
97f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_TIMEOUT                      = 6,
98f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because of a timeout. */
99f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
100f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_SERVICE_NOT_PRESENT          = 7,
101f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because the service is not present. */
102f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
103f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_SERVICE_VERSION_UNSUPPORTED  = 8,
104f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because the service version is unsupported. */
105f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
106f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_CLIENT_VERSION_UNSUPPORTED  =  9,
107f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because the service does not support client version. */
108f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
109f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_INVALID_HANDLE               = 10,
110f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because an invalid handle was specified. */
111f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
112f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_INTERNAL                     = 11,
113f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because of an internal error in the service. */
114f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
115f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_FAILURE_NOT_INITIALIZED              = 12
116f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Failed because the service has not been initialized. */
117f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
118f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani}locClientStatusEnumType;
119f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
120f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** Loc Client error values
121f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
122f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
123f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum
124f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani{
125f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  eLOC_CLIENT_ERROR_SERVICE_UNAVAILABLE            = 1
126f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  /**< Service is no longer available, the client should
127f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani       close the existing connection and reopen the connection
128f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani       upon getting this error.
129f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani       */
130f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani}locClientErrorEnumType;
131f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
132f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
133f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @} */ /* end_addtogroup data_types */
134f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
135f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @addtogroup send_request
136f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani@{ */
137f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
138f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @brief Request messages the client can send to the location engine.
139f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
140f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  The following requests do not have any data associated, so they do not have a
141f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  payload structure defined:
142f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
143f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetServiceRevision
144f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetFixCriteria
145f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetPredictedOrbitsDataSource
146f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetPredictedOrbitsDataValidity
147f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetEngineLock
148f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetSbasConfigReq
149f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetRegisteredEvents
150f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetNmeaTypes
151f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetLowPowerMode
152f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetXtraTSessionControl
153f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetRegisteredEvents
154f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetOperationMode
155f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetCradleMountConfig
156f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - GetExternalPowerConfig
157f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
158f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef union
159f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani{
160f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInformClientRevisionReqMsgT_v02* pInformClientRevisionReq;
161f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Notifies the service about the revision the client is using.
162f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
163f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The client does not receive any indications corresponding to this
164f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        request.
165f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
166f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
167f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INFORM_CLIENT_REVISION_REQ_V02. */
168f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
169f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocRegEventsReqMsgT_v02* pRegEventsReq;
170f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Changes the events the client is interested in receiving.
171f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
172f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The client does not receive any indications corresponding to this
173f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        request.
174f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
175f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
176f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_REG_EVENTS_REQ_V02. */
177f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
178f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocStartReqMsgT_v02* pStartReq;
179f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Starts a positioning session.
180f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
181f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The client receives the following indications: position report,
182f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        satellite report, fix session report, and NMEA report (if applicable).
183f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
184f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
185f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_START_REQ_V02. */
186f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
187f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocStopReqMsgT_v02* pStopReq;
188f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Stops a positioning session. The client receives a fix session report
189f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        denoting that the fix session ended after this message was sent.
190f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
191f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
192f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_STOP_REQ_V02. */
193f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
194f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocNiUserRespReqMsgT_v02* pNiUserRespReq;
195f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Informs the service about the user response for a network-initiated call.
196f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
197f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
198f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
199f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_NI_USER_RESPONSE_IND_V02.
200f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
201f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
202f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_NI_USER_RESPONSE_REQ_V02. */
203f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
204f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectPredictedOrbitsDataReqMsgT_v02* pInjectPredictedOrbitsDataReq;
205f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Injects the predicted orbits data into the service.
206f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
207f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        When all predicted orbits data parts have been injected, the client
208f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        receives the following indication containing a response:
209f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_IND_V02.
210f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
211f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The client injects successive data parts without waiting for this
212f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        indication as long as locClientSendReq() returns successfully.
213f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
214f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
215f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_REQ_V02. */
216f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
217f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectUtcTimeReqMsgT_v02* pInjectUtcTimeReq;
218f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Injects UTC time into the service.
219f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
220f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
221f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
222f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_UTC_TIME_IND_V02.
223f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
224f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
225f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_UTC_TIME_REQ_V02. */
226f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
227f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectPositionReqMsgT_v02* pInjectPositionReq;
228f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Injects a position into the service.
229f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
230f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
231f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
232f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_POSITION_IND_V02.
233f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
234f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
235f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_POSITION_REQ_V02. */
236f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
237f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetEngineLockReqMsgT_v02* pSetEngineLockReq;
238f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the location engine lock.
239f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
240f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
241f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
242f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_ENGINE_LOCK_IND_V02.
243f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
244f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
245f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_ENGINE_LOCK_REQ_V02. */
246f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
247f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetSbasConfigReqMsgT_v02* pSetSbasConfigReq;
248f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the SBAS configuration.
249f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
250f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
251f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
252f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SBAS_CONFIG_IND_V02.
253f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
254f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
255f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SBAS_CONFIG_REQ_V02 . */
256f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
257f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetNmeaTypesReqMsgT_v02* pSetNmeaTypesReq;
258f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the NMEA types configuration.
259f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
260f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
261f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
262f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_NMEA_TYPES_IND_V02.
263f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
264f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
265f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_NMEA_TYPES_REQ_V02. */
266f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
267f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetLowPowerModeReqMsgT_v02* pSetLowPowerModeReq;
268f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the Low Power mode configuration.
269f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
270f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
271f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
272f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_LOW_POWER_MODE_IND_V02.
273f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
274f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
275f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_LOW_POWER_MODE_REQ_V02. */
276f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
277f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetServerReqMsgT_v02* pSetServerReq;
278f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the A-GPS server type and address.
279f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
280f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
281f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
282f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SERVER_IND_V02.
283f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
284f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
285f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SERVER_REQ_V02. */
286f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
287f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetServerReqMsgT_v02* pGetServerReq;
288f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Gets the A-GPS server type and address.
289f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
290f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
291f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
292f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SERVER_IND_V02.
293f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
294f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
295f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SERVER_REQ_V02. */
296f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
297f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocDeleteAssistDataReqMsgT_v02* pDeleteAssistDataReq;
298f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Deletes the aiding data from the engine.
299f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
300f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
301f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
302f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_DELETE_ASSIST_DATA_IND_V02.
303f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
304f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
305f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_DELETE_ASSIST_DATA_REQ_V02. */
306f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
307f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetXtraTSessionControlReqMsgT_v02* pSetXtraTSessionControlReq;
308f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets XTRA-T session control in the engine. If the request is accepted by
309f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        the service, the client receives the following indication containing a
310f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        response: QMI_LOC_SET_XTRA_T_SESSION_CONTROL_IND_V02.
311f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
312f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
313f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_XTRA_T_SESSION_CONTROL_REQ_V02. */
314f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
315f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectWifiPositionReqMsgT_v02* pInjectWifiPositionReq;
316f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Injects a WiFi position into the engine.
317f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
318f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
319f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
320f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_WIFI_POSITION_IND_V02.
321f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
322f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
323f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_WIFI_POSITION_REQ_V02. */
324f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
325f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocNotifyWifiStatusReqMsgT_v02* pNotifyWifiStatusReq;
326f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Notifies the engine about the WiFi status.
327f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
328f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
329f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
330f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_NOTIFY_WIFI_STATUS_IND_V02.
331f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
332f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
333f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_NOTIFY_WIFI_STATUS_REQ_V02. */
334f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
335f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetOperationModeReqMsgT_v02* pSetOperationModeReq;
336f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the engine Operation mode.
337f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
338f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
339f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
340f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_OPERATION_MODE_IND_V02.
341f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
342f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
343f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_OPERATION_MODE_REQ_V02. */
344f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
345f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetSpiStatusReqMsgT_v02* pSetSpiStatusReq;
346f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sends the stationary position status to the engine.
347f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
348f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
349f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
350f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SPI_STATUS_IND_V02.
351f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
352f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
353f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SPI_STATUS_REQ_V02. */
354f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
355f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectSensorDataReqMsgT_v02* pInjectSensorDataReq;
356f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Injects sensor data into the engine.
357f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
358f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
359f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
360f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_SENSOR_DATA_IND_V02.
361f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
362f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
363f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_SENSOR_DATA_REQ_V02. */
364f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
365f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectTimeSyncDataReqMsgT_v02* pInjectTimeSyncReq;
366f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Injects time synchronization information into the engine.
367f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
368f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
369f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
370f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_TIME_SYNC_DATA_IND_V02.
371f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
372f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
373f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_TIME_SYNC_DATA_REQ_V02. */
374f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
375f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetCradleMountConfigReqMsgT_v02* pSetCradleMountConfigReq;
376f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the cradle mount state information in the engine.
377f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
378f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
379f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
380f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        SET_CRADLE_MOUNT_CONFIG_REQ_V02.
381f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
382f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
383f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        SET_CRADLE_MOUNT_CONFIG_IND_V02. */
384f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
385f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetExternalPowerConfigReqMsgT_v02* pSetExternalPowerConfigReq;
386f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets external power configuration state in the engine.
387f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
388f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
389f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
390f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_EXTERNAL_POWER_CONFIG_IND_V02.
391f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
392f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
393f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_EXTERNAL_POWER_CONFIG_REQ_V02. */
394f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
395f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInformLocationServerConnStatusReqMsgT_v02*
396f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pInformLocationServerConnStatusReq;
397f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Informs the engine about the connection status to the location server.
398f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
399f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        This can be sent in response to a
400f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_LOCATION_SERVER_CONNECTION_REQ_IND_V02 request. The
401f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        service sends back a QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_IND_V02
402f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        response indication for this request.
403f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
404f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
405f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02.*/
406f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
407f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetProtocolConfigParametersReqMsgT_v02*
408f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pSetProtocolConfigParametersReq;
409f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the protocol configuration parameters in the engine.
410f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
411f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
412f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
413f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_IND_V02.
414f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
415f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
416f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02. */
417f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
418f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetProtocolConfigParametersReqMsgT_v02*
419f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pGetProtocolConfigParametersReq;
420f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Retrieves protocol configuration parameters from the engine.
421f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
422f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
423f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
424f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_IND_V02.
425f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
426f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
427f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02.
428f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
429f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
430f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      const qmiLocSetSensorControlConfigReqMsgT_v02*
431f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pSetSensorControlConfigReq;
432f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the sensor control configuration parameters in the engine.
433f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
434f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
435f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
436f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_CONTROL_CONFIG_IND_V02.
437f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
438f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
439f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_CONTROL_CONFIG_REQ_V02.
440f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
441f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
442f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetSensorPerformanceControlConfigReqMsgT_v02*
443f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      pSetSensorPerformanceControlConfigReq;
444f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the sensor performance configuration parameters in the engine.
445f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
446f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
447f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
448f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02.
449f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
450f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
451f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02.
452f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
453f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
454f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetSensorPropertiesReqMsgT_v02* pSetSensorPropertiesReq;
455f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets the sensor properties in the engine.
456f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
457f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
458f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
459f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_PROPERTIES_IND_V02.
460f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
461f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
462f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_PROPERTIES_REQ_V02.
463f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
464f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
465f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectSuplCertificateReqMsgT_v02* pInjectSuplCertificateReq;
466f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Injects a SUPL certificate into the engine.
467f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
468f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
469f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
470f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_SUPL_CERTIFICATE_IND_V02.
471f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
472f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
473f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_SUPL_CERTIFICATE_REQ_V02.
474f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
475f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
476f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocDeleteSuplCertificateReqMsgT_v02* pDeleteSuplCertificateReq;
477f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Deletes a SUPL certificate from the engine.
478f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
479f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
480f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
481f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_DELETE_SUPL_CERTIFICATE_IND_V02.
482f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
483f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
484f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_DELETE_SUPL_CERTIFICATE_REQ_V02.
485f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
486f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
487f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetPositionEngineConfigParametersReqMsgT_v02*
488f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pSetPositionEngineConfigParametersReq;
489f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sets Position Engine configuration.
490f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
491f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        If the request is accepted by the service, the client receives the
492f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        following indication containing a response:
493f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_IND _V02.
494f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
495f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        To send this request, set the reqId field in locClientSendReq() to
496f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02.
497f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
498f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
499f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetPositionEngineConfigParametersReqMsgT_v02*
500f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pGetPositionEngineConfigParametersReq;
501f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Gets Position Engine configuration.
502f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
503f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani         If the request is accepted by the service, the client receives the
504f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani         following indication containing a response:
505f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani         QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02.
506f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
507f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani         To send this request, set the reqId field in locClientSendReq() to
508f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani         QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02.
509f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani         @newpage */
510f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
511f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani}locClientReqUnionType;
512f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
513f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
514f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @brief Event indications that are sent by the service.
515f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
516f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef union
517f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani{
518f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventPositionReportIndMsgT_v02* pPositionReportEvent;
519f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Contains the position information.
520f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
521f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        This event is generated after QMI_LOC_START_REQ_V02 is sent. If
522f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        periodic fix criteria is specified, this event is generated multiple
523f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        times periodically at the specified rate until QMI_LOC_STOP_REQ_V02 is
524f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        sent.
525f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
526f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
527f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_POSITION_REPORT_IND_V02. */
528f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
529f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventGnssSvInfoIndMsgT_v02* pGnssSvInfoReportEvent;
530f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Contains the GNSS satellite information.
531f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
532f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        This event is generated after QMI_LOC_START_REQ_V02 is sent. This event
533f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        is generated at 1 Hz if the location engine is tracking satellites to
534f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        make a location fix.
535f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
536f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
537f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_GNSS_INFO_IND_V02. */
538f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
539f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventNmeaIndMsgT_v02* pNmeaReportEvent;
540f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Contains an NMEA report sentence. The entire NMEA report consisting
541f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        of multiple sentences is sent at a 1Hz rate.
542f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        This event is generated after QMI_LOC_START_REQ_V02 is sent.
543f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
544f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
545f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_NMEA_IND_V02. */
546f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
547f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventNiNotifyVerifyReqIndMsgT_v02* pNiNotifyVerifyReqEvent;
548f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Notifies a location client when the network triggers a positioning request
549f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        to the mobile.
550f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
551f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        Upon getting this event, the location client displays the
552f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        network-initiated fix request in a dialog and prompts the user to accept
553f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        or deny the request. The client responds to this request with the message
554f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_NI_USER_RESPONSE_REQ_V02.
555f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
556f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
557f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_NI_NOTIFY_VERIFY_REQ_IND_V02. */
558f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
559f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventInjectTimeReqIndMsgT_v02* pInjectTimeReqEvent;
560f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Asks the client for time assistance.
561f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
562f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The client responds to this request with the message
563f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_UTC_TIME_REQ_V02.
564f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
565f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is
566f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        set to QMI_LOC_EVENT_INJECT_TIME_REQ_IND_V02. */
567f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
568f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventInjectPredictedOrbitsReqIndMsgT_v02*
569f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani         pInjectPredictedOrbitsReqEvent;
570f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Asks the client for predicted orbits data assistance.
571f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
572f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The client responds to this request with the message
573f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_REQ_V02.
574f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
575f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
576f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_INJECT_PREDICTED_ORBITS_REQ_IND_V02. */
577f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
578f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventInjectPositionReqIndMsgT_v02* pInjectPositionReqEvent;
579f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Asks the client for position assistance.
580f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
581f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The client responds to this request with the message
582f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_POSITION_REQ_V02.
583f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
584f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
585f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_INJECT_POSITION_REQ_IND_V02. */
586f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
587f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventEngineStateIndMsgT_v02* pEngineState;
588f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sent by the engine whenever it turns on or off.
589f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
590f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
591f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_ENGINE_STATE_IND_V02. */
592f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
593f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventFixSessionStateIndMsgT_v02* pFixSessionState;
594f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sent by the engine when a location session begins or ends.
595f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
596f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
597f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_FIX_SESSION_STATE_IND_V02. */
598f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
599f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventWifiReqIndMsgT_v02* pWifiReqEvent;
600f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sent by the engine when it needs WiFi support.
601f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
602f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
603f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_WIFI_REQ_IND_V02. */
604f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
605f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventSensorStreamingReadyStatusIndMsgT_v02*
606f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani          pSensorStreamingReadyStatusEvent;
607f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Notifies the client that the engine is ready to accept sensor data.
608f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
609f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
610f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_SENSOR_STREAMING_READY_STATUS_IND_V02. */
611f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
612f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventTimeSyncReqIndMsgT_v02* pTimeSyncReqEvent;
613f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sent by the engine when it needs to synchronize its time with the sensor
614f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        processor time.
615f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
616f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
617f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_TIME_SYNC_REQ_IND_V02. */
618f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
619f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventSetSpiStreamingReportIndMsgT_v02*
620f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pSetSpiStreamingReportEvent;
621f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Asks the client to start/stop sending a Stationary Position Indicator
622f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        (SPI) stream.
623f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
624f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
625f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SPI_STREAMING_REPORT_IND_V02. */
626f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
627f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocEventLocationServerConnectionReqIndMsgT_v02*
628f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      pLocationServerConnReqEvent;
629f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sent by the engine to ask the client to open or close a connection to
630f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        a location server.
631f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
632f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The client responds to this request by sending the
633f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02 message.
634f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
635f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The eventIndId field in the event indication callback is set to
636f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_EVENT_LOCATION_SERVER_CONNECTION_REQ_IND_V02.
637f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
638f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
639f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani}locClientEventIndUnionType;
640f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
641f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
642f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @brief Response indications that are sent by the service. */
643f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef union
644f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani{
645f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetServiceRevisionIndMsgT_v02* pGetServiceRevisionInd;
646f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_SERVICE_REVISION_REQ_V02.
647f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
648f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
649f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SERVICE_REVISION_IND_V02. */
650f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
651f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetFixCriteriaIndMsgT_v02* pGetFixCriteriaInd;
652f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_FIX_CRITERIA_REQ_V02.
653f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
654f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
655f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_FIX_CRITERIA_IND_V02. */
656f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
657f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocNiUserRespIndMsgT_v02* pNiUserRespInd;
658f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_NI_USER_RESPONSE_REQ_V02.
659f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
660f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
661f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_NI_USER_RESPONSE_IND_V02. */
662f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
663f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectPredictedOrbitsDataIndMsgT_v02*
664f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pInjectPredictedOrbitsDataInd;
665f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Sent after a predicted orbits data part has been successfully injected.
666f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
667f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The client waits for this indication before injecting the next part.
668f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        This indication is sent in response to
669f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_REQ_V02.
670f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
671f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
672f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_IND_V02. */
673f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
674f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetPredictedOrbitsDataSourceIndMsgT_v02*
675f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      pGetPredictedOrbitsDataSourceInd;
676f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
677f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_REQ_V02.
678f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
679f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
680f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_PREDICTED_ORBITS_DATA_SOURCE_IND_V02. */
681f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
682f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetPredictedOrbitsDataValidityIndMsgT_v02*
683f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pGetPredictedOrbitsDataValidityInd;
684f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
685f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_REQ_V02.
686f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
687f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
688f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_PREDICTED_ORBITS_DATA_VALIDITY_IND_V02. */
689f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
690f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectUtcTimeIndMsgT_v02* pInjectUtcTimeInd;
691f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_INJECT_UTC_TIME_REQ_V02.
692f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
693f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
694f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_UTC_TIME_IND_V02. */
695f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
696f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectPositionIndMsgT_v02* pInjectPositionInd;
697f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_INJECT_POSITION_REQ_V02.
698f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
699f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
700f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_POSITION_IND_V02. */
701f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
702f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetEngineLockIndMsgT_v02* pSetEngineLockInd;
703f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_SET_ENGINE_LOCK_REQ_V02.
704f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
705f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
706f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_ENGINE_LOCK_IND_V02. */
707f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
708f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetEngineLockIndMsgT_v02* pGetEngineLockInd;
709f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_ENGINE_LOCK_REQ_V02.
710f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
711f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
712f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_ENGINE_LOCK_IND_V02. */
713f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
714f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetSbasConfigIndMsgT_v02* pSetSbasConfigInd;
715f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_SET_SBAS_CONFIG_REQ_V02.
716f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
717f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
718f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SBAS_CONFIG_IND_V02. */
719f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
720f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetSbasConfigIndMsgT_v02* pGetSbasConfigInd;
721f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_SBAS_CONFIG_REQ_V02.
722f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
723f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
724f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SBAS_CONFIG_IND_V02. */
725f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
726f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetNmeaTypesIndMsgT_v02* pSetNmeaTypesInd;
727f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_SET_NMEA_TYPES_REQ_V02.
728f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
729f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
730f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_NMEA_TYPES_IND_V02. */
731f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
732f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetNmeaTypesIndMsgT_v02* pGetNmeaTypesInd;
733f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_NMEA_TYPES_REQ_V02.
734f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
735f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
736f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_NMEA_TYPES_IND_V02. */
737f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
738f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetLowPowerModeIndMsgT_v02* pSetLowPowerModeInd;
739f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_SET_LOW_POWER_MODE_REQ_V02.
740f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
741f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
742f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_LOW_POWER_MODE_IND_V02. */
743f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
744f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetLowPowerModeIndMsgT_v02* pGetLowPowerModeInd;
745f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_LOW_POWER_MODE_REQ_V02.
746f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
747f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
748f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_LOW_POWER_MODE_IND_V02. */
749f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
750f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetServerIndMsgT_v02* pSetServerInd;
751f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_SET_SERVER_REQ_V02.
752f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
753f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
754f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SERVER_IND_V02. */
755f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
756f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetServerIndMsgT_v02* pGetServerInd;
757f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_SERVER_REQ_V02.
758f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
759f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
760f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SERVER_IND_V02. */
761f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
762f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocDeleteAssistDataIndMsgT_v02* pDeleteAssistDataInd;
763f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_DELETE_ASSIST_DATA_REQ_V02.
764f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
765f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
766f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_DELETE_ASSIST_DATA_IND_V02. */
767f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
768f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetXtraTSessionControlIndMsgT_v02* pSetXtraTSessionControlInd;
769f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_SET_XTRA_T_SESSION_CONTROL_REQ_V02.
770f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
771f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
772f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_XTRA_T_SESSION_CONTROL_IND_V02. */
773f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
774f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetXtraTSessionControlIndMsgT_v02* pGetXtraTSessionControlInd;
775f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_XTRA_T_SESSION_CONTROL_REQ_V02.
776f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
777f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
778f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_XTRA_T_SESSION_CONTROL_IND_V02. */
779f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
780f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectWifiPositionIndMsgT_v02* pInjectWifiPositionInd;
781f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_INJECT_WIFI_POSITION_REQ_V02.
782f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
783f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
784f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_WIFI_POSITION_IND_V02. */
785f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
786f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocNotifyWifiStatusIndMsgT_v02* pNotifyWifiStatusInd;
787f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_NOTIFY_WIFI_STATUS_REQ_V02.
788f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
789f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
790f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_NOTIFY_WIFI_STATUS_IND_V02. */
791f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
792f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetRegisteredEventsIndMsgT_v02* pGetRegisteredEventsInd;
793f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_REGISTERED_EVENTS_REQ_V02.
794f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
795f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
796f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_REGISTERED_EVENTS_IND_V02. */
797f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
798f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetOperationModeIndMsgT_v02* pSetOperationModeInd;
799f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_SET_OPERATION_MODE_REQ_V02.
800f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
801f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
802f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_OPERATION_MODE_IND_V02. */
803f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
804f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetOperationModeIndMsgT_v02* pGetOperationModeInd;
805f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_OPERATION_MODE_REQ_V02.
806f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
807f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
808f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_OPERATION_MODE_IND_V02. */
809f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
810f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetSpiStatusIndMsgT_v02* pSetSpiStatusInd;
811f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_SET_SPI_STATUS_REQ_V02.
812f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
813f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
814f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SPI_STATUS_IND_V02. */
815f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
816f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectSensorDataIndMsgT_v02* pInjectSensorDataInd;
817f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_INJECT_SENSOR_DATA_REQ_V02.
818f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
819f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
820f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_SENSOR_DATA_IND_V02. */
821f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
822f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectTimeSyncDataIndMsgT_v02* pInjectTimeSyncDataInd;
823f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,  QMI_LOC_INJECT_TIME_SYNC_DATA_REQ_V02.
824f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
825f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
826f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_TIME_SYNC_DATA_IND_V02. */
827f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
828f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetCradleMountConfigIndMsgT_v02* pSetCradleMountConfigInd;
829f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_SET_CRADLE_MOUNT_CONFIG_IND_V02.
830f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
831f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
832f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_CRADLE_MOUNT_CONFIG_REQ_V02. */
833f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
834f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetCradleMountConfigIndMsgT_v02* pGetCradleMountConfigInd;
835f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_CRADLE_MOUNT_CONFIG_REQ_V02.
836f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
837f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
838f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_CRADLE_MOUNT_CONFIG_IND_V02. */
839f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
840f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetExternalPowerConfigIndMsgT_v02* pSetExternalPowerConfigInd;
841f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_SET_EXTERNAL_POWER_CONFIG_REQ_V02.
842f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
843f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
844f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_EXTERNAL_POWER_CONFIG_IND_V02. */
845f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
846f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetExternalPowerConfigIndMsgT_v02* pGetExternalPowerConfigInd;
847f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request, QMI_LOC_GET_EXTERNAL_POWER_CONFIG_REQ_V02.
848f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
849f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
850f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_EXTERNAL_POWER_CONFIG_IND_V02. */
851f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
852f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInformLocationServerConnStatusIndMsgT_v02*
853f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pInformLocationServerConnStatusInd;
854f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
855f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02.
856f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
857f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
858f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_IND_V02.*/
859f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
860f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetProtocolConfigParametersIndMsgT_v02*
861f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pSetProtocolConfigParametersInd;
862f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
863f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02.
864f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
865f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
866f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_PROTOCOL_CONFIG_PARAMETERS_IND_V02. */
867f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
868f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetProtocolConfigParametersIndMsgT_v02*
869f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pGetProtocolConfigParametersInd;
870f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
871f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_REQ_V02.
872f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
873f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
874f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_PROTOCOL_CONFIG_PARAMETERS_IND_V02.
875f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
876f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
877f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetSensorControlConfigIndMsgT_v02* pSetSensorControlConfigInd;
878f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
879f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_CONTROL_CONFIG_REQ_V02.
880f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
881f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
882f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_CONTROL_CONFIG_IND_V02.
883f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
884f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
885f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetSensorControlConfigIndMsgT_v02* pGetSensorControlConfigInd;
886f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
887f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SENSOR_CONTROL_CONFIG_REQ_V02.
888f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
889f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
890f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SENSOR_CONTROL_CONFIG_IND_V02.
891f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
892f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
893f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetSensorPropertiesIndMsgT_v02* pSetSensorPropertiesInd;
894f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
895f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_PROPERTIES_REQ_V02.
896f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
897f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
898f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_PROPERTIES_IND_V02.
899f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
900f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
901f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetSensorPropertiesIndMsgT_v02* pGetSensorPropertiesInd;
902f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
903f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SENSOR_PROPERTIES_REQ_V02.
904f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
905f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
906f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SENSOR_PROPERTIES_IND_V02.
907f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
908f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
909f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetSensorPerformanceControlConfigIndMsgT_v02*
910f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pSetSensorPerformanceControlConfigInd;
911f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
912f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02.
913f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
914f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
915f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02.
916f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
917f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
918f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetSensorPerformanceControlConfigIndMsgT_v02*
919f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pGetSensorPerformanceControlConfigInd;
920f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
921f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_REQ_V02.
922f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
923f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
924f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_SENSOR_PERFORMANCE_CONTROL_CONFIGURATION_IND_V02.
925f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
926f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
927f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocInjectSuplCertificateIndMsgT_v02* pInjectSuplCertificateInd;
928f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
929f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_SUPL_CERTIFICATE_REQ_V02
930f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
931f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_INJECT_SUPL_CERTIFICATE_IND_V02.
932f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
933f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
934f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocDeleteSuplCertificateIndMsgT_v02* pDeleteSuplCertificateInd;
935f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
936f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_DELETE_SUPL_CERTIFICATE_REQ_V02.
937f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
938f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_DELETE_SUPL_CERTIFICATE_IND_V02.
939f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
940f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
941f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocSetPositionEngineConfigParametersIndMsgT_v02*
942f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pSetPositionEngineConfigParametersInd;
943f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   /**< Response to the request,
944f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02
945f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
946f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_SET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02.
947f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
948f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
949f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani   const qmiLocGetPositionEngineConfigParametersIndMsgT_v02*
950f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     pGetPositionEngineConfigParametersInd;
951f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    /**< Response to the request,
952f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_GET_POSITION_ENGINE_CONFIG_PARAMETERS_REQ_V02
953f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        The respIndId field in the response indication callback is set to
954f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        QMI_LOC_ET_POSITION_ENGINE_CONFIG_PARAMETERS_IND_V02.
955f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        @newpage */
956f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
957f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani}locClientRespIndUnionType;
958f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
959f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @} */ /* end_addtogroup send_request */
960f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
961f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @addtogroup data_types
962f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani@{ */
963f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
964f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** Location event indication callback function type. The Location service can
965f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    generate two types of indications:
966f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
967f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - Asynchronous events indications, such as time injection request and satellite
968f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    reports. The client specifies the asynchronous events it is interested in
969f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    receiving through the event mask (see locClientOpen()).
970f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - Response indications that are generated as a response to a request. For
971f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    example, the QMI_LOC_GET_FIX_CRITERIA_REQ_V02 request generates the
972f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    indication, QMI_LOC_GET_FIX_CRITERIA_IND_V02.
973f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
974f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  This callback handles the asynchronous event indications.
975f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
976f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @vertspace
977f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param handle            Location client for this event. Only the client who
978f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                           registered for the corresponding event receives
979f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                           this callback.
980f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param eventIndId        ID of the event indication.
981f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param eventIndPayload   Event indication payload.
982f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param pClientCookie     Pointer to the cookie the client specified during
983f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                           registration.
984f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
985f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef void (*locClientEventIndCbType)(
986f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      locClientHandleType handle,
987f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      uint32_t eventIndId,
988f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      const locClientEventIndUnionType eventIndPayload,
989f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      void *pClientCookie
990f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani);
991f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
992f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** Location response indication callback function type. The Location service can
993f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    generate two types of indications:
994f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
995f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - Asynchronous events indications, such as time injection request and satellite
996f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    reports. The client specifies the asynchronous events it is interested in
997f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    receiving through the event mask (see locClientOpen()).
998f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - Response indications that are generated as a response to a request. For
999f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    example, the QMI_LOC_GET_FIX_CRITERIA_REQ_V02 request generates the
1000f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    indication, QMI_LOC_GET_FIX_CRITERIA_IND_V02.
1001f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1002f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  This callback handles the response indications.
1003f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1004f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @vertspace
1005f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param handle           Location client who sent the request for which this
1006f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                          response indication is generated.
1007f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param respIndId        ID of the response. It is the same value as the ID
1008f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                          of request sent to the engine.
1009f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param respIndPayload   Payload of the response indication.
1010f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param pClientCookie    Pointer to the cookie the client specified during
1011f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                          registration.
1012f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1013f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @newpage
1014f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
1015f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef void  (*locClientRespIndCbType)(
1016f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      locClientHandleType handle,
1017f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      uint32_t respIndId,
1018f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      const locClientRespIndUnionType respIndPayload,
1019f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      void *pClientCookie
1020f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani);
1021f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1022f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** Location error callback function type. This function will be
1023f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    called to inform the client that the service is no longer
1024f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    available. When the client receives this callback it must
1025f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    close the existing connection  and reopen the client connection.
1026f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1027f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1028f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @vertspace
1029f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param handle           Location client who sent the request for which this
1030f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                          error indication is generated.
1031f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param errorId          Error ID.
1032f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param errorCbdata      Payload associated with the error indication.
1033f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1034f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @newpage
1035f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
1036f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef void  (*locClientErrorCbType)(
1037f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      locClientHandleType handle,
1038f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      locClientErrorEnumType errorId,
1039f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      void* pClientCookie
1040f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani );
1041f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1042f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1043f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** Callback functions to be registered during locClientOpen
1044f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
1045f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1046f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct
1047f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani{
1048f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    uint32_t size;
1049f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    /**< Size of the structure */
1050f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    locClientEventIndCbType eventIndCb;
1051f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    /**< Event Indication callback */
1052f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    locClientRespIndCbType respIndCb;
1053f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    /**< Response Indication callback */
1054f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    locClientErrorCbType errorCb;
1055f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    /**< Error Indication callback */
1056f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani}locClientCallbacksType;
1057f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1058f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @} */ /* end_addtogroup data_types */
1059f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1060f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/*===========================================================================
1061f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *
1062f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *                          FUNCTION DECLARATION
1063f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *
1064f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *==========================================================================*/
1065f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1066f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @addtogroup open_client
1067f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani@{ */
1068f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/*==========================================================================
1069f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    locClientOpen */
1070f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/**
1071f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @latexonly\label{hdr:locClientOpenFunction}@endlatexonly Connects a location
1072f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  client to the location engine. If the connection is successful, this function
1073f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  returns a handle that the location client uses for future location operations.
1074f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1075f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @datatype
1076f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientStatusEnumType\n
1077f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientEventMaskType\n
1078f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientCallbacksType *\n
1079f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientHandleType *\n
1080f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #void *
1081f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1082f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @vertspace
1083f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[in]  eventRegMask          Mask of asynchronous events the client is
1084f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                                    interested in receiving.
1085f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[in]  pLocClientCallbacks   Pointer to structure containing the
1086f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                                    callbacks.
1087f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[out] pLocClientHandle      Pointer to the handle to be used by the
1088f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                                    client for any subsequent requests.
1089f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[in]  pLocClientCookie      Pointer to a "cookie" to be returned to the
1090f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                                    client along with the callbacks.
1091f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1092f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @return
1093f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  One of the following error codes:
1094f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - eLOC_CLIENT_SUCCESS -- If the connection is opened.
1095f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - Non-zero error code (see \ref locClientStatusEnumType) -- On failure.
1096f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1097f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @dependencies
1098f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  None.
1099f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @newpage
1100f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
1101f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern locClientStatusEnumType locClientOpen (
1102f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      locClientEventMaskType            eventRegMask,
1103f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      const locClientCallbacksType*     pLocClientCallbacks,
1104f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      locClientHandleType*              pLocClientHandle,
1105f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      const void*                       pLocClientCookie
1106f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani);
1107f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1108f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @} */ /* end_addtogroup open_client */
1109f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1110f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @addtogroup close_client
1111f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani@{ */
1112f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/*==========================================================================
1113f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    locClientClose */
1114f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/**
1115f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @latexonly\label{hdr:locClientCloseFunction}@endlatexonly Disconnects a client
1116f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  from the location engine and sets the handle to
1117f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  LOC_CLIENT_INVALID_HANDLE_VALUE.
1118f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1119f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @datatype
1120f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientStatusEnumType\n
1121f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientHandleType
1122f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1123f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @vertspace
1124f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[in] pLocClientHandle  Pointer to the handle returned by the
1125f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                               locClientOpen() function.
1126f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1127f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @return
1128f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  One of the following error codes:
1129f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - 0 (eLOC_CLIENT_SUCCESS) -- On success.
1130f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - Non-zero error code (see \ref locClientStatusEnumType) -- On failure.
1131f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1132f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @dependencies
1133f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  None.
1134f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @newpage
1135f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
1136f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern locClientStatusEnumType locClientClose (
1137f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani      locClientHandleType* pLocClientHandle
1138f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani);
1139f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1140f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @} */ /* end_addtogroup close_client */
1141f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1142f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @addtogroup send_request
1143f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani@{ */
1144f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/*=============================================================================
1145f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    locClientSendReq */
1146f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/**
1147f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @latexonly\label{hdr:locClientSendReqFunction}@endlatexonly Sends a message to
1148f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  the location engine. If this function is successful, the client expects an
1149f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  indication (except start, stop, event registration, and sensor injection
1150f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  messages) through the registered callback in the locClientOpen() function.
1151f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1152f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  The indication contains the status of the request. If the status is a success,
1153f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  the indication also contains the payload associated with response.
1154f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1155f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @datatype
1156f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientStatusEnumType\n
1157f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientHandleType\n
1158f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientReqUnionType
1159f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1160f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @vertspace
1161f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[in] handle        Handle returned by the locClientOpen() function.
1162f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[in] reqId         QMI_LOC service message ID of the request.
1163f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[in] pReqPayload   Payload of the request. This can be NULL if the request
1164f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani                           has no payload.
1165f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1166f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @return
1167f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  One of the following error codes:
1168f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - 0 (eLOC_CLIENT_SUCCESS) -- On success.
1169f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  - Non-zero error code (see \ref locClientStatusEnumType) -- On failure.
1170f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1171f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @dependencies
1172f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  None.
1173f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1174f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @structure
1175f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  locClientReqUnionType
1176f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @newpage
1177f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
1178f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern locClientStatusEnumType locClientSendReq(
1179f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     locClientHandleType       handle,
1180f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     uint32_t                  reqId,
1181f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani     locClientReqUnionType     reqPayload
1182f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani);
1183f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1184f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @} */ /* end_addtogroup send_request */
1185f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1186f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @addtogroup get_size_event
1187f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani@{ */
1188f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/*=============================================================================
1189f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    locClientGetSizeByEventIndId */
1190f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/**
1191f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  Gets the size of the event indication structure from a specified ID.
1192f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1193f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @datatype
1194f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientGetSizeByEventIndId
1195f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1196f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @vertspace
1197f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[in]  eventIndId      Event indicator ID.
1198f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[out] pEventIndSize   Pointer to the size of the structure.
1199f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1200f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @return
1201f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  true -- The event ID was found.\n
1202f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  false -- Otherwise.
1203f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1204f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @dependencies
1205f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  None.
1206f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1207f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @structure
1208f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  locClientEventIndUnionType
1209f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @newpage
1210f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
1211f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool locClientGetSizeByEventIndId(
1212f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  uint32_t eventIndId,
1213f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  size_t *pEventIndSize);
1214f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1215f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @} */ /* end_addtogroup get_size_event */
1216f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1217f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @addtogroup get_size_response
1218f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani@{ */
1219f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/*=============================================================================
1220f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    locClientGetSizeByRespIndId */
1221f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1222f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/**
1223f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  Gets the size of the response indication structure from a specified ID.
1224f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1225f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @datatype
1226f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  #locClientGetSizeByRespIndId
1227f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1228f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @vertspace
1229f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[in]  respIndId      Response indicator ID.
1230f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @param[out] pRespIndSize   Pointer to the size of the structure.
1231f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1232f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @return
1233f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  true -- The response ID was found.\n
1234f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  false -- Otherwise.
1235f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1236f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @dependencies
1237f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  None.
1238f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1239f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @structure
1240f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  locClientRespIndUnionType
1241f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  @newpage
1242f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani*/
1243f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool locClientGetSizeByRespIndId(
1244f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  uint32_t respIndId,
1245f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani  size_t *pRespIndSize);
1246f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1247f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/*=============================================================================*/
1248f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1249f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/** @} */ /* end_addtogroup get_size_response */
1250f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1251f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#ifdef __cplusplus
1252f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani}
1253f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#endif
1254f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1255f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#endif /* LOC_API_V02_CLIENT_H*/
1256