1bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
2bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *
3bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * Redistribution and use in source and binary forms, with or without
4bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * modification, are permitted provided that the following conditions are
5bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * met:
6bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *     * Redistributions of source code must retain the above copyright
7bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *       notice, this list of conditions and the following disclaimer.
8bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *     * Redistributions in binary form must reproduce the above
9bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *       copyright notice, this list of conditions and the following
10bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *       disclaimer in the documentation and/or other materials provided
11bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *       with the distribution.
12bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *     * Neither the name of The Linux Foundation, nor the names of its
13bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *       contributors may be used to endorse or promote products derived
14bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *       from this software without specific prior written permission.
15bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *
16bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
17bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
19bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
20bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
23bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
26bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo *
28bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo */
29bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/* LOC_API TOOL VERSION: 4.48 */
30bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/* GENERATED: TUE JUN 14 2011 */
31bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/*=============================================================================
32bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo                      L O C _ A P I _ C O M M O N . X D R
33bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
34bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoGENERAL DESCRIPTION
35bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  This is an AUTO GENERATED file that provides an xdr compatible definition of
36bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  an api that represents the grouping of the different callback functions the
37bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  loc_api API supports.
38bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
39bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  ---------------------------------------------------------------------------
40bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
41bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
42bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  ---------------------------------------------------------------------------
43bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo=============================================================================*/
44bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
45bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/*=============================================================================
46bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
47bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo                              Edit History
48bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
49bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo                             AUTO GENERATED
50bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
51bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoGenerated by following versions of Htorpc modules:
52bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoId: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/htorpc.pl#1
53bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoId: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/Start.pm#1
54bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoId: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/Htoxdr.pm#1
55bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoId: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/XDR.pm#3
56bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoId: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/Output.pm#5
57bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoId: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/Parser.pm#1
58bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoId: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/Metacomments.pm#1
59bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoId: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/SymbolTable.pm#1
60bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
61bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoloc_api Definition File(s):
62bfff6343845ad9ff062c5fd97bb3b9be1053340eDante RussoId: //source/qcom/qct/modem/api/gps/main/latest/loc_api.h#24
63bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo=============================================================================*/
64bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/*=============================================================================
65bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo$Header$
66bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo=============================================================================*/
67bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
68bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
69bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
70bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst LOC_API_TOOLVERS = 0x00040030;
71bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst LOC_API_FEATURES = 0x00000001;
72bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
73bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_STATUS_REPORT = 0x00000100;
74bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
75bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_ASSISTANCE_DATA_REQUEST = 0x00000020;
76bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
77bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_WPS_NEEDED_REQUEST = 0x00000200;
78bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
79bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_SATELLITE_REPORT = 0x00000002;
80bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
81bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_PARSED_POSITION_REPORT = 0x00000001;
82bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
83bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_RESERVED = 0x8000000000000000;
84bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
85bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_LOCATION_SERVER_REQUEST = 0x00000040;
86bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
87bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_NMEA_POSITION_REPORT = 0x00000008;
88bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
89bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_IOCTL_REPORT = 0x00000080;
90bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
91bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_NMEA_1HZ_REPORT = 0x00000004;
92bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
93bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_NI_NOTIFY_VERIFY_REQUEST = 0x00000010;
94bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
95bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_API_CB_NULL_VERSION = 0x00050002;
96bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_EVENT_CB_F_TYPE_VERSION = 0x00050001;
97bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_API_API_VERSIONS_VERSION = 0x00050001;
98bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_STOP_FIX_VERSION = 0x00050001;
99bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_START_FIX_VERSION = 0x00050001;
100bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_IOCTL_VERSION = 0x00050001;
101bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_CLOSE_VERSION = 0x00050001;
102bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_API_RPC_GLUE_CODE_INFO_REMOTE_VERSION = 0x00050001;
103bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_OPEN_VERSION = 0x00050001;
104bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_API_NULL_VERSION = 0x00050001;
105bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_API_API_MAJOR_NUM = 0x0005;
106bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoconst RPC_LOC_APIAPI_VERSION_IS_HASHKEY = 0;
107bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
108bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_int32 rpc_loc_client_handle_type;
109bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
110bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint64 rpc_loc_event_mask_type;
111bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
112bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint64 rpc_loc_position_valid_mask_type;
113bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
114bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_pos_technology_mask_type;
115bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
116bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_session_status_e_type {
117bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SESS_STATUS_SUCCESS = 0,
118bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SESS_STATUS_IN_PROGESS = 1,
119bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SESS_STATUS_GENERAL_FAILURE = 2,
120bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SESS_STATUS_TIMEOUT = 3,
121bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SESS_STATUS_USER_END = 4,
122bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SESS_STATUS_BAD_PARAMETER = 5,
123bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SESS_STATUS_PHONE_OFFLINE = 6,
124bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SESS_STATUS_ENGINE_LOCKED = 7,
125bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SESS_STATUS_MAX = 268435456
126bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
127bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
128bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_calendar_time_s_type {
129bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 year;
130bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char month;
131bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char day_of_week;
132bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char day;
133bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char hour;
134bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char minute;
135bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char second;
136bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 millisecond;
137bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
138bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
139bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_parsed_position_s_type {
140bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_position_valid_mask_type valid_mask;
141bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_session_status_e_type session_status;
142bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_calendar_time_s_type timestamp_calendar;
143bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint64 timestamp_utc;
144bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 leap_seconds;
145bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float time_unc;
146bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  double latitude;
147bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  double longitude;
148bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float altitude_wrt_ellipsoid;
149bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float altitude_wrt_mean_sea_level;
150bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float speed_horizontal;
151bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float speed_vertical;
152bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float heading;
153bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float hor_unc_circular;
154bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float hor_unc_ellipse_semi_major;
155bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float hor_unc_ellipse_semi_minor;
156bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float hor_unc_ellipse_orient_azimuth;
157bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float vert_unc;
158bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float speed_unc;
159bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float heading_unc;
160bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char confidence_horizontal;
161bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char confidence_vertical;
162bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float magnetic_deviation;
163bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_pos_technology_mask_type technology_mask;
164bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
165bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
166bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_sv_system_e_type {
167bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SV_SYSTEM_GPS = 1,
168bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SV_SYSTEM_GALILEO = 2,
169bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SV_SYSTEM_SBAS = 3,
170bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SV_SYSTEM_COMPASS = 4,
171bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SV_SYSTEM_GLONASS = 5,
172bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SV_SYSTEM_MAX = 268435456
173bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
174bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
175bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_sv_status_e_type {
176bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SV_STATUS_IDLE = 1,
177bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SV_STATUS_SEARCH = 2,
178bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SV_STATUS_TRACK = 3,
179bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SV_STATUS_MAX = 268435456
180bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
181bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
182bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_sv_info_valid_mask_type;
183bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
184bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_sv_info_s_type {
185bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_sv_info_valid_mask_type valid_mask;
186bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_sv_system_e_type system;
187bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 prn;
188bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 health_status;
189bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_sv_status_e_type process_status;
190bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_boolean has_eph;
191bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_boolean has_alm;
192bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float elevation;
193bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float azimuth;
194bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float snr;
195bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
196bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
197bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_gnss_info_valid_mask_type;
198bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
199bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_gnss_info_s_type {
200bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_gnss_info_valid_mask_type valid_mask;
201bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float position_dop;
202bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float horizontal_dop;
203bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float vertical_dop;
204bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_boolean altitude_assumed;
205bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 sv_count;
206bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_sv_info_s_type sv_list<80>; /* EVAL:[LOC_API_MAX_SV_COUNT]*/
207bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
208bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
209bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_nmea_report_s_type {
210bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 length;
211bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque nmea_sentences[200];
212bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
213bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
214bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_status_event_e_type {
215bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_STATUS_EVENT_ENGINE_STATE = 1,
216bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_STATUS_EVENT_FIX_SESSION_STATE = 2,
217bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_STATUS_EVENT_MAX = 268435456
218bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
219bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
220bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_engine_state_e_type {
221bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_ENGINE_STATE_ON = 1,
222bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_ENGINE_STATE_OFF = 2,
223bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_ENGINE_STATE_MAX = 268435456
224bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
225bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
226bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_fix_session_state_e_type {
227bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_FIX_SESSION_STATE_BEGIN = 1,
228bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_FIX_SESSION_STATE_END = 2,
229bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_FIX_SESSION_STATE_MAX = 268435456
230bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
231bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
232bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russounion rpc_loc_status_event_payload_u_type switch (rpc_loc_status_event_e_type disc) {
233bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_STATUS_EVENT_ENGINE_STATE:
234bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_engine_state_e_type engine_state;
235bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_STATUS_EVENT_FIX_SESSION_STATE:
236bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_fix_session_state_e_type fix_session_state;
237bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  default:
238bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    void;
239bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
240bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
241bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_status_event_s_type {
242bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_status_event_e_type event;
243bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_status_event_payload_u_type payload;
244bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
245bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
246bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_addr_e_type {
247bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_ADDR_IPV4 = 1,
248bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_ADDR_URL = 2,
249bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_ADDR_IPV6 = 3,
250bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_ADDR_MAX = 268435456
251bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
252bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
253bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_addr_ipv4_type {
254bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 addr;
255bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 port;
256bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
257bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
258bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_addr_url_type {
259bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 length;
260bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque addr[256];
261bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
262bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
263bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_addr_ipv6_type {
264bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 addr[8];
265bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 port;
266bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
267bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
268bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russounion rpc_loc_server_addr_u_type switch (rpc_loc_server_addr_e_type disc) {
269bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_SERVER_ADDR_IPV4:
270bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_addr_ipv4_type ipv4;
271bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_SERVER_ADDR_URL:
272bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_addr_url_type url;
273bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_SERVER_ADDR_IPV6:
274bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_addr_ipv6_type ipv6;
275bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  default:
276bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    void;
277bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
278bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
279bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_info_s_type {
280bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_addr_e_type addr_type;
281bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_addr_u_type addr_info;
282bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
283bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
284bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_notify_verify_e_type {
285bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_USER_NO_NOTIFY_NO_VERIFY = 1,
286bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_USER_NOTIFY_ONLY = 2,
287bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_USER_NOTIFY_VERIFY_ALLOW_NO_RESP = 3,
288bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_USER_NOTIFY_VERIFY_NOT_ALLOW_NO_RESP = 4,
289bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_USER_PRIVACY_OVERRIDE = 5,
290bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_USER_NOTIFY_VERITY_TYPE_MAX = 268435456
291bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
292bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
293bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_event_e_type {
294bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_EVENT_VX_NOTIFY_VERIFY_REQ = 1,
295bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_EVENT_SUPL_NOTIFY_VERIFY_REQ = 2,
296bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_EVENT_UMTS_CP_NOTIFY_VERIFY_REQ = 3,
297bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_EVENT_VX_SERVICE_INTERACTION_REQ = 4,
298bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_EVENT_MAX = 268435456
299bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
300bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
301bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_datacoding_scheme_e_type {
302bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_ISO646IRV = 0,
303bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_ISO8859 = 1,
304bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_UTF8 = 2,
305bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_UTF16 = 3,
306bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_UCS2 = 4,
307bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_GSM_DEFAULT = 5,
308bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_SHIFT_JIS = 6,
309bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_JIS = 7,
310bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_EUC = 8,
311bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_GB2312 = 9,
312bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_CNS11643 = 10,
313bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_KSC1001 = 11,
314bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_PRESUPL_ENCODING_UNKNOWN = 2147483647,
315bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_GERMAN = 12,
316bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_ENGLISH = 13,
317bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_ITALIAN = 14,
318bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_FRENCH = 15,
319bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_SPANISH = 16,
320bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_DUTCH = 17,
321bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_SWEDISH = 18,
322bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_DANISH = 19,
323bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_PORTUGUESE = 20,
324bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_FINNISH = 21,
325bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_NORWEGIAN = 22,
326bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_GREEK = 23,
327bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_TURKISH = 24,
328bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_HUNGARIAN = 25,
329bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_POLISH = 26,
330bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SS_LANGUAGE_UNSPEC = 27,
331bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SUPL_UTF8 = 28,
332bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SUPL_UCS2 = 29,
333bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SUPL_GSM_DEFAULT = 30,
334bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SUPL_ENCODING_UNKNOWN = 2147483647
335bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
336bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
337bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_vx_requester_id_encoding_scheme_e_type {
338bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_OCTET = 0,
339bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_EXN_PROTOCOL_MSG = 1,
340bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_ASCII = 2,
341bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_IA5 = 3,
342bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_UNICODE = 4,
343bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_SHIFT_JIS = 5,
344bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_KOREAN = 6,
345bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_LATIN_HEBREW = 7,
346bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_LATIN = 8,
347bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_GSM = 9,
348bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_VX_ENCODING_TYPE_MAX = 268435456
349bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
350bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
351bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_vx_pos_mode_e_type {
352bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_VX_MS_ASSISTED_ONLY = 1,
353bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_VX_MS_BASED_ONLY = 2,
354bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_VX_MS_ASSISTED_PREF_MSBASED_ALLWD = 3,
355bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_VX_MS_BASED_PREF_ASSISTED_ALLWD = 4,
356bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_VX_POS_MODE_MAX = 268435456
357bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
358bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
359bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_vx_requester_id_s_type {
360bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char requester_id_length;
361bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque requester_id[200];
362bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
363bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
364bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_vx_notify_verify_req_s_type {
365bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_notify_verify_e_type notification_priv_type;
366bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char pos_qos_incl;
367bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char pos_qos;
368bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 num_fixes;
369bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 tbf;
370bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_vx_pos_mode_e_type pos_mode;
371bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_vx_requester_id_encoding_scheme_e_type encoding_scheme;
372bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_vx_requester_id_s_type requester_id;
373bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 user_resp_timer_val;
374bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
375bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
376bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_supl_pos_method_e_type {
377bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_AGPS_SETASSISTED = 1,
378bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_AGPS_SETBASED = 2,
379bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_AGPS_SETASSISTED_PREF = 3,
380bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_AGPS_SETBASED_PREF = 4,
381bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_AUTONOMOUS_GPS = 5,
382bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_AFLT = 6,
383bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_ECID = 7,
384bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_EOTD = 8,
385bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_OTDOA = 9,
386bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_NO_POSITION = 10,
387bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_POSMETHOD_MAX = 268435456
388bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
389bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
390bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_supl_slp_session_id_s_type {
391bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char presence;
392bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque session_id[4];
393bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_info_s_type slp_address;
394bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
395bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
396bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_requestor_id_s_type {
397bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char data_coding_scheme;
398bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque requestor_id_string[200];
399bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char string_len;
400bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
401bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
402bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_supl_client_name_s_type {
403bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char data_coding_scheme;
404bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque client_name_string[64];
405bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char string_len;
406bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
407bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
408bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_supl_qop_s_type {
409bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char bit_mask;
410bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char horacc;
411bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char veracc;
412bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 maxLocAge;
413bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char delay;
414bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
415bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
416bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_supl_notify_verify_req_s_type {
417bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_notify_verify_e_type notification_priv_type;
418bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 flags;
419bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_supl_slp_session_id_s_type supl_slp_session_id;
420bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque supl_hash[8];
421bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_datacoding_scheme_e_type datacoding_scheme;
422bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_supl_pos_method_e_type pos_method;
423bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_requestor_id_s_type requestor_id;
424bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_supl_client_name_s_type client_name;
425bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_supl_qop_s_type supl_qop;
426bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 user_response_timer;
427bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
428bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
429bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_ext_client_address_s_type {
430bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char ext_client_address_len;
431bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque ext_client_address[20];
432bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
433bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
434bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_location_type_e_type {
435bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_LOCATIONTYPE_CURRENT_LOCATION = 1,
436bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_LOCATIONTYPE_CURRENT_OR_LAST_KNOWN_LOCATION = 2,
437bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_LOCATIONTYPE_INITIAL_LOCATION = 3,
438bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_LOCATIONTYPE_MAX = 268435456
439bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
440bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
441bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_deferred_location_s_type {
442bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char unused_bits;
443bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char ms_available;
444bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
445bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
446bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_codeword_string_s_type {
447bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char data_coding_scheme;
448bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque lcs_codeword_string[20];
449bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char string_len;
450bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
451bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
452bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_service_type_id_s_type {
453bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char lcs_service_type_id;
454bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
455bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
456bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_umts_cp_notify_verify_req_s_type {
457bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_notify_verify_e_type notification_priv_type;
458bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char invoke_id;
459bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 flags;
460bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char notification_length;
461bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque notification_text[64];
462bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_datacoding_scheme_e_type datacoding_scheme;
463bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_ext_client_address_s_type ext_client_address_data;
464bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_location_type_e_type location_type;
465bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_deferred_location_s_type deferred_location;
466bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_requestor_id_s_type requestor_id;
467bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_codeword_string_s_type codeword_string;
468bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_service_type_id_s_type service_type_id;
469bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 user_response_timer;
470bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
471bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
472bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_service_interaction_e_type {
473bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SERVICE_INTERACTION_ONGOING_NI_INCOMING_MO = 1,
474bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_SERVICE_INTERACTION_MAX = 268435456
475bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
476bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
477bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_vx_service_interaction_req_s_type {
478bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_vx_notify_verify_req_s_type ni_vx_req;
479bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_service_interaction_e_type service_interation_type;
480bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
481bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
482bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russounion rpc_loc_ni_event_payload_u_type switch (rpc_loc_ni_event_e_type disc) {
483bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_NI_EVENT_VX_NOTIFY_VERIFY_REQ:
484bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_ni_vx_notify_verify_req_s_type vx_req;
485bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_NI_EVENT_SUPL_NOTIFY_VERIFY_REQ:
486bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_ni_supl_notify_verify_req_s_type supl_req;
487bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_NI_EVENT_UMTS_CP_NOTIFY_VERIFY_REQ:
488bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_ni_umts_cp_notify_verify_req_s_type umts_cp_req;
489bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_NI_EVENT_VX_SERVICE_INTERACTION_REQ:
490bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_ni_vx_service_interaction_req_s_type service_interaction_req;
491bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  default:
492bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    void;
493bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
494bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
495bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_event_s_type {
496bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_event_e_type event;
497bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_event_payload_u_type payload;
498bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
499bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
500bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_assist_data_request_e_type {
501bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_ASSIST_DATA_TIME_REQ = 1,
502bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_ASSIST_DATA_PREDICTED_ORBITS_REQ = 2,
503bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_ASSIST_DATA_POSITION_INJECTION_REQ = 3,
504bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_ASSIST_DATA_MAX = 268435456
505bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
506bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
507bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef string rpc_struct_loc_time_download_source_s_type_servers_ptr<256>; /* EVAL:[LOC_API_MAX_SERVER_ADDR_LENGTH]*/
508bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
509bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_struct_loc_time_download_source_s_type_servers_ptr rpc_struct_loc_time_download_source_s_type_servers[3];
510bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
511bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_time_download_source_s_type {
512bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 delay_threshold;
513bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_struct_loc_time_download_source_s_type_servers servers;
514bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
515bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
516bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef string rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr<LOC_API_MAX_SERVER_ADDR_LENGTH>;
517bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
518bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr rpc_struct_loc_predicted_orbits_data_source_s_type_servers[3];
519bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
520bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_predicted_orbits_data_source_s_type {
521bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 max_file_size;
522bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 max_part_size;
523bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_struct_loc_predicted_orbits_data_source_s_type_servers servers;
524bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
525bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
526bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_pos_inj_request_s_type {
527bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 flags;
528bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  double latitude;
529bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  double longitude;
530bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 position_uncertainty;
531bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint64 timestamp;
532bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
533bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
534bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russounion rpc_loc_assist_data_request_payload_u_type switch (rpc_loc_assist_data_request_e_type disc) {
535bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_ASSIST_DATA_TIME_REQ:
536bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_time_download_source_s_type time_download;
537bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_ASSIST_DATA_PREDICTED_ORBITS_REQ:
538bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_predicted_orbits_data_source_s_type data_download;
539bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_ASSIST_DATA_POSITION_INJECTION_REQ:
540bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_pos_inj_request_s_type pos_injection;
541bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  default:
542bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    void;
543bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
544bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
545bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_assist_data_request_s_type {
546bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_assist_data_request_e_type event;
547bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_assist_data_request_payload_u_type payload;
548bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
549bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
550bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_server_connection_handle;
551bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
552bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_protocol_e_type {
553bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_PROTOCOL_DEFAULT = 0,
554bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_PROTOCOL_SUPL = 1,
555bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_PROTOCOL_VX_MPC = 2,
556bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_PROTOCOL_VX_PDE = 3,
557bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_PROTOCOL_MAX = 16777216
558bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
559bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
560bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_connection_e_type {
561bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_CONNECTION_LBS = 0,
562bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_CONNECTION_WWAN_INTERNET,
563bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_CONNECTION_MAX = 16777216
564bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
565bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
566bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_request_e_type {
567bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_REQUEST_OPEN = 1,
568bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_REQUEST_CLOSE = 2,
569bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_REQUEST_MULTI_OPEN = 3,
570bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_REQUEST_MAX = 268435456
571bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
572bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
573bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_open_req_s_type {
574bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_connection_handle conn_handle;
575bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_protocol_e_type protocol;
576bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
577bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
578bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_multi_open_req_s_type {
579bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_connection_handle conn_handle;
580bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_protocol_e_type protocol;
581bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_connection_e_type connection_type;
582bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
583bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
584bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_close_req_s_type {
585bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_connection_handle conn_handle;
586bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
587bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
588bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russounion rpc_loc_server_request_u_type switch (rpc_loc_server_request_e_type disc) {
589bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_SERVER_REQUEST_OPEN:
590bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_open_req_s_type open_req;
591bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_SERVER_REQUEST_CLOSE:
592bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_close_req_s_type close_req;
593bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_SERVER_REQUEST_MULTI_OPEN:
594bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_multi_open_req_s_type multi_open_req;
595bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  default:
596bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    void;
597bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
598bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
599bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_request_s_type {
600bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_request_e_type event;
601bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_request_u_type payload;
602bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
603bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
604bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_qwip_request_e_type {
605bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_QWIP_START_PERIODIC_HI_FREQ_FIXES = 0,
606bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_QWIP_START_PERIODIC_KEEP_WARM,
607bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_QWIP_STOP_PERIODIC_FIXES,
608bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_QWIP_SUSPEND,
609bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_QWIP_REQUEST_MAX = 268435456
610bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
611bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
612bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_qwip_request_s_type {
613bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_qwip_request_e_type request_type;
614bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 tbf_ms;
615bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
616bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
617bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_reserved_payload_s_type {
618bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 data_size;
619bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque data<>;
620bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
621bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
622bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ioctl_e_type {
623bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_API_VERSION = 1,
624bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_FIX_CRITERIA = 2,
625bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_FIX_CRITERIA = 3,
626bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SERVICE_START_INDEX = 400,
627bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_INFORM_NI_USER_RESPONSE = 400,
628bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA = 401,
629bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_VALIDITY = 402,
630bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_SOURCE = 403,
631bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_PREDICTED_ORBITS_DATA_AUTO_DOWNLOAD = 404,
632bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_INJECT_UTC_TIME = 405,
633bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_INJECT_RTC_VALUE = 406,
634bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_INJECT_POSITION = 407,
635bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_QUERY_ENGINE_STATE = 408,
636bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_INFORM_SERVER_OPEN_STATUS = 409,
637bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_INFORM_SERVER_CLOSE_STATUS = 410,
638bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SEND_WIPER_POSITION_REPORT = 411,
639bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_NOTIFY_WIPER_STATUS = 412,
640bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_ACCESS_EFS_DATA = 413,
641bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_ERROR_ESTIMATE_CONFIG = 414,
642bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_INFORM_SERVER_MULTI_OPEN_STATUS = 415,
643bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_NV_SETTINGS_START_INDEX = 800,
644bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_ENGINE_LOCK = 800,
645bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_ENGINE_LOCK = 801,
646bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_SBAS_CONFIG = 802,
647bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_SBAS_CONFIG = 803,
648bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_NMEA_TYPES = 804,
649bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_NMEA_TYPES = 805,
650bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_CDMA_PDE_SERVER_ADDR = 806,
651bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_CDMA_PDE_SERVER_ADDR = 807,
652bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_CDMA_MPC_SERVER_ADDR = 808,
653bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_CDMA_MPC_SERVER_ADDR = 809,
654bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR = 810,
655bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_UMTS_SLP_SERVER_ADDR = 811,
656bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_ON_DEMAND_LPM = 812,
657bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_ON_DEMAND_LPM = 813,
658bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_XTRA_T_SESSION_CONTROL = 814,
659bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_XTRA_T_SESSION_CONTROL = 815,
660bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_LBS_APN_PROFILE = 816,
661bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_LBS_APN_PROFILE = 817,
662bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_XTRA_APN_PROFILE = 818,
663bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_XTRA_APN_PROFILE = 819,
664bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_DATA_ENABLE = 820,
665bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_SUPL_VERSION = 821,
666bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_SUPL_VERSION = 822,
667bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_PROPRIETARY_START_INDEX = 1000,
668bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_DELETE_ASSIST_DATA = 1000,
669bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_SET_CUSTOM_PDE_SERVER_ADDR = 1001,
670bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_GET_CUSTOM_PDE_SERVER_ADDR = 1002,
671bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_RESERVED_CMD = 8000,
672bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_IOCTL_THIRD_PARTY_START_INDEX = 1073741824
673bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
674bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
675bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_api_version_s_type {
676bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char major;
677bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char minor;
678bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
679bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
680bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_fix_recurrence_e_type {
681bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_PERIODIC_FIX = 1,
682bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SINGLE_FIX = 2,
683bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_FIX_SESSION_TYPE_MAX = 268435456
684bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
685bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
686bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_operation_mode_e_type {
687bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_OPER_MODE_DEFAULT = 1,
688bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_OPER_MODE_MSB = 2,
689bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_OPER_MODE_MSA = 3,
690bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_OPER_MODE_STANDALONE = 4,
691bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_OPER_MODE_SPEED_OPTIMAL = 5,
692bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_OPER_MODE_ACCURACY_OPTIMAL = 6,
693bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_OPER_MODE_DATA_OPTIMAL = 7,
694bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_OPER_MODE_CELL_ID = 8,
695bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_OPER_MODE_MAX = 268435456
696bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
697bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
698bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_notify_e_type {
699bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NOTIFY_ON_INTERVAL = 1,
700bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NOTIFY_ON_DISTANCE = 2,
701bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NOTIFY_ON_ANY = 3,
702bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NOTIFY_ON_ALL = 4,
703bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NOTIFY_TYPE_MAX = 268435456
704bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
705bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
706bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_fix_criteria_s_type {
707bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 valid_mask;
708bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_fix_recurrence_e_type recurrence_type;
709bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_operation_mode_e_type preferred_operation_mode;
710bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 preferred_accuracy;
711bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 preferred_response_time;
712bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_boolean intermediate_pos_report_enabled;
713bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_notify_e_type notify_type;
714bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 min_interval;
715bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float min_distance;
716bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 min_dist_sample_interval;
717bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
718bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
719bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_user_resp_e_type {
720bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_LCS_NOTIFY_VERIFY_ACCEPT = 1,
721bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_LCS_NOTIFY_VERIFY_DENY = 2,
722bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_LCS_NOTIFY_VERIFY_NORESP = 3,
723bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_NI_LCS_NOTIFY_VERIFY_MAX = 268435456
724bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
725bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
726bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_user_verify_s_type {
727bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_user_resp_e_type user_resp;
728bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ni_event_s_type ni_event_pass_back;
729bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
730bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
731bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_predicted_orbits_data_format_e_type {
732bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_PREDICTED_ORBITS_XTRA = 0,
733bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_PREDICTED_ORBITS_FORMAT_MAX = 268435456
734bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
735bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
736bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_predicted_orbits_data_s_type {
737bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_predicted_orbits_data_format_e_type format_type;
738bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 total_size;
739bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 total_parts;
740bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 part;
741bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 part_len;
742bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque data_ptr<>;
743bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
744bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
745bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_predicted_orbits_data_validity_report_s_type {
746bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint64 start_time_utc;
747bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 valid_duration_hrs;
748bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
749bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
750bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_predicted_orbits_auto_download_config_s_type {
751bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_boolean enable;
752bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char auto_check_every_hrs;
753bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
754bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
755bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_assist_data_time_s_type {
756bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint64 time_utc;
757bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 uncertainty;
758bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
759bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
760bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint64 rpc_loc_assist_pos_valid_mask_type;
761bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
762bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_assist_data_pos_s_type {
763bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_assist_pos_valid_mask_type valid_mask;
764bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint64 timestamp_utc;
765bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  double latitude;
766bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  double longitude;
767bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float altitude_wrt_ellipsoid;
768bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float altitude_wrt_mean_sea_level;
769bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float hor_unc_circular;
770bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  float vert_unc;
771bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char confidence_horizontal;
772bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  unsigned char confidence_vertical;
773bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_int32 timestamp_age;
774bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
775bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
776bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_open_status_e_type {
777bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_OPEN_SUCCESS = 1,
778bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_OPEN_FAIL = 2,
779bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_OPEN_STATUS_MAX = 268435456
780bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
781bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
782bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_pdp_type_e_type {
783bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_PDP_IP = 0,
784bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_PDP_PPP,
785bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_PDP_IPV6,
786bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_PDP_IPV4V6,
787bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_PDP_MAX = 268435456
788bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
789bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
790bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_open_status_s_type {
791bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_connection_handle conn_handle;
792bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_open_status_e_type open_status;
793bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque apn_name[100];
794bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
795bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
796bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_multi_open_status_s_type {
797bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_connection_handle conn_handle;
798bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_open_status_e_type open_status;
799bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_pdp_type_e_type pdp_type;
800bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque apn_name[100];
801bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
802bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
803bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_close_status_e_type {
804bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_CLOSE_SUCCESS = 1,
805bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_CLOSE_FAIL = 2,
806bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_SERVER_CLOSE_STATUS_MAX = 268435456
807bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
808bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
809bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_close_status_s_type {
810bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_connection_handle conn_handle;
811bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_server_close_status_e_type close_status;
812bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
813bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
814bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_wiper_fix_time_s_type {
815bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 slow_clock_count;
816bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
817bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
818bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_wiper_fix_pos_s_type {
819bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_int32 lat;
820bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_int32 lon;
821bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 HEPE;
822bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 num_of_aps_used;
823bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 fix_error_code;
824bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
825bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
826bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_wiper_ap_info_s_type {
827bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque mac_addr[6];
828bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_int32 rssi;
829bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint16 channel;
830bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 ap_qualifier;
831bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
832bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
833bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_wiper_ap_set_s_type {
834bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 num_of_aps;
835bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_wiper_ap_info_s_type ap_info[50];
836bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
837bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
838bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_wiper_position_report_s_type {
839bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 wiper_valid_info_flag;
840bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_wiper_fix_time_s_type wiper_fix_time;
841bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_wiper_fix_pos_s_type wiper_fix_position;
842bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_wiper_ap_set_s_type wiper_ap_set;
843bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
844bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
845bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_wiper_status_e_type {
846bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_WIPER_STATUS_AVAILABLE = 1,
847bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_WIPER_STATUS_UNAVAILABLE = 2,
848bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_WIPER_STATUS_E_SIZE = 268435456
849bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
850bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
851bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_fs_operation_e_type {
852bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_FS_CREATE_WRITE_FILE = 1,
853bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_FS_APPEND_FILE = 2,
854bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_FS_DELETE_FILE = 3,
855bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_FS_READ_FILE = 4,
856bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_FS_MAX = 268435456
857bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
858bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
859bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_efs_data_s_type {
860bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque filename[64];
861bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_fs_operation_e_type operation;
862bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 total_size;
863bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque data_ptr<>;
864bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 part_len;
865bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 part;
866bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint8 total_parts;
867bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 reserved;
868bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
869bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
870bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_error_estimate_config_e_type {
871bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_ERROR_ESTIMATE_CONFIG_SET = 1,
872bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_ERROR_ESTIMATE_CONFIG_CLEAR = 2,
873bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_ERROR_ESTIMATE_MAX = 268435456
874bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
875bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
876bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_apn_profiles_type {
877bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 srv_system_type;
878bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 pdp_type;
879bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 reserved;
880bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  opaque apn_name[100];
881bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
882bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
883bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_lock_e_type {
884bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_LOCK_NONE = 1,
885bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_LOCK_MI = 2,
886bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_LOCK_MT = 3,
887bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_LOCK_ALL = 4,
888bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  RPC_LOC_LOCK_MAX = 268435456
889bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
890bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
891bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_nmea_sentence_type;
892bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
893bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_assist_data_type;
894bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
895bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_assist_data_delete_s_type {
896bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_assist_data_type type;
897bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_uint32 reserved[8];
898bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
899bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
900bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russounion rpc_loc_ioctl_data_u_type switch (rpc_loc_ioctl_e_type disc) {
901bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_SET_FIX_CRITERIA:
902bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_fix_criteria_s_type fix_criteria;
903bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_INFORM_NI_USER_RESPONSE:
904bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_user_verify_s_type user_verify_resp;
905bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA:
906bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_predicted_orbits_data_s_type predicted_orbits_data;
907bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_SET_PREDICTED_ORBITS_DATA_AUTO_DOWNLOAD:
908bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_predicted_orbits_auto_download_config_s_type predicted_orbits_auto_download;
909bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_INJECT_UTC_TIME:
910bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_assist_data_time_s_type assistance_data_time;
911bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_INJECT_POSITION:
912bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_assist_data_pos_s_type assistance_data_position;
913bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_INFORM_SERVER_OPEN_STATUS:
914bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_open_status_s_type conn_open_status;
915bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_INFORM_SERVER_CLOSE_STATUS:
916bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_close_status_s_type conn_close_status;
917bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_SEND_WIPER_POSITION_REPORT:
918bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_wiper_position_report_s_type wiper_pos;
919bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_NOTIFY_WIPER_STATUS:
920bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_wiper_status_e_type wiper_status;
921bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_SET_ENGINE_LOCK:
922bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_lock_e_type engine_lock;
923bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_SET_SBAS_CONFIG:
924bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_boolean sbas_mode;
925bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_SET_NMEA_TYPES:
926bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_nmea_sentence_type nmea_types;
927bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_SET_ON_DEMAND_LPM:
928bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_boolean on_demand_lpm;
929bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_SET_CDMA_PDE_SERVER_ADDR:
930bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_SET_CDMA_MPC_SERVER_ADDR:
931bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR:
932bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_SET_CUSTOM_PDE_SERVER_ADDR:
933bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_info_s_type server_addr;
934bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_DELETE_ASSIST_DATA:
935bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_assist_data_delete_s_type assist_data_delete;
936bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_ACCESS_EFS_DATA:
937bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_efs_data_s_type efs_data;
938bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_ERROR_ESTIMATE_CONFIG:
939bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_error_estimate_config_e_type error_estimate_config;
940bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_SET_XTRA_T_SESSION_CONTROL:
941bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_uint8 xtra_t_session_control;
942bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_SET_LBS_APN_PROFILE:
943bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_SET_XTRA_APN_PROFILE:
944bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_apn_profiles_type apn_profiles[6];
945bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_SET_DATA_ENABLE:
946bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_boolean data_enable;
947bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_SET_SUPL_VERSION:
948bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_uint32 supl_version;
949bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_INFORM_SERVER_MULTI_OPEN_STATUS:
950bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_multi_open_status_s_type multi_conn_open_status;
951bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_RESERVED_CMD:
952bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_reserved_payload_s_type reserved;
953bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  default:
954bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    void;
955bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
956bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
957bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russounion rpc_loc_ioctl_callback_data_u_type switch (rpc_loc_ioctl_e_type disc) {
958bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_GET_API_VERSION:
959bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_api_version_s_type api_version;
960bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_GET_FIX_CRITERIA:
961bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_fix_criteria_s_type fix_criteria;
962bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_GET_ENGINE_LOCK:
963bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_lock_e_type engine_lock;
964bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_GET_SBAS_CONFIG:
965bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_boolean sbas_mode;
966bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_GET_NMEA_TYPES:
967bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_nmea_sentence_type nmea_types;
968bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_GET_ON_DEMAND_LPM:
969bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_boolean on_demand_lpm;
970bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_GET_CDMA_PDE_SERVER_ADDR:
971bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_GET_CDMA_MPC_SERVER_ADDR:
972bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_GET_UMTS_SLP_SERVER_ADDR:
973bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_GET_CUSTOM_PDE_SERVER_ADDR:
974bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_info_s_type server_addr;
975bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_SOURCE:
976bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_predicted_orbits_data_source_s_type predicted_orbits_data_source;
977bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_VALIDITY:
978bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_predicted_orbits_data_validity_report_s_type predicted_orbits_data_validity;
979bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_GET_XTRA_T_SESSION_CONTROL:
980bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_uint8 xtra_t_session_control;
981bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_GET_LBS_APN_PROFILE:
982bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case  RPC_LOC_IOCTL_GET_XTRA_APN_PROFILE:
983bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_apn_profiles_type apn_profiles[6];
984bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_IOCTL_GET_SUPL_VERSION:
985bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_uint32 supl_version;
986bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  default:
987bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    void;
988bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
989bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
990bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ioctl_callback_s_type {
991bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ioctl_e_type type;
992bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_int32 status;
993bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  rpc_loc_ioctl_callback_data_u_type data;
994bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
995bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
996bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russounion rpc_loc_event_payload_u_type switch (unsigned hyper disc) {
997bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_PARSED_POSITION_REPORT:
998bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_parsed_position_s_type parsed_location_report;
999bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_SATELLITE_REPORT:
1000bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_gnss_info_s_type gnss_report;
1001bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_NMEA_POSITION_REPORT:
1002bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_NMEA_1HZ_REPORT:
1003bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_nmea_report_s_type nmea_report;
1004bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_NI_NOTIFY_VERIFY_REQUEST:
1005bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_ni_event_s_type ni_request;
1006bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_ASSISTANCE_DATA_REQUEST:
1007bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_assist_data_request_s_type assist_data_request;
1008bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_LOCATION_SERVER_REQUEST:
1009bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_server_request_s_type loc_server_request;
1010bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_IOCTL_REPORT:
1011bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_ioctl_callback_s_type ioctl_report;
1012bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_STATUS_REPORT:
1013bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_status_event_s_type status_report;
1014bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_WPS_NEEDED_REQUEST:
1015bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_qwip_request_s_type qwip_request;
1016bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  case RPC_LOC_EVENT_RESERVED:
1017bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    rpc_loc_reserved_payload_s_type reserved;
1018bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo  default:
1019bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo    void;
1020bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
1021bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1022