4 * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
19 #ifndef _GPS_PLUGIN_EXTRA_DATA_TYPES_H_
20 #define _GPS_PLUGIN_EXTRA_DATA_TYPES_H_
27 * This enumeration has GPS session type.
30 GPS_SESSION_SINGLE_FIX = 0, /**< Single fix starting */
31 GPS_SESSION_TRACKING_MODE /**< Tracking mode starting */
35 * This enumeration has GPS operation mode.
38 GPS_OPERATION_STANDALONE = 0, /**< GPS standalone (no assistance) */
39 GPS_OPERATION_MS_BASED, /**< MS-Based AGPS */
40 GPS_OPERATION_MS_ASSISTED /**< MS-Assisted AGPS */
44 * This enumeration has GPS starting type.
47 GPS_STARTING_HOT_ = 0, /**< Hot start */
48 GPS_STARTING_COLD, /**< Cold start */
49 GPS_STARTING_NONE /**< None */
53 * This enumeration has the SSL mode.
56 AGPS_SSL_DISABLE = 0, /**< SSL disable */
57 AGPS_SSL_ENABLE /**< SSL enable */
61 * This enumeration has the SSL certification type.
64 AGPS_CERT_VERISIGN = 0,
67 AGPS_CERT_SPIRENT_TEST,
68 AGPS_CERT_THALES_TEST,
72 } agps_ssl_cert_type_t;
75 * This enumeration has the verification confirm type.
78 AGPS_VER_CNF_YES = 0x00, /**< Specifies Confirmation yes. */
79 AGPS_VER_CNF_NO = 0x01, /**< Specifies Confirmation no. */
80 AGPS_VER_CNF_NORESPONSE = 0x02 /**< Specifies Confirmation no response. */
81 } agps_verification_cnf_type_t;
84 * This enumeration has the zone in/out type.
87 GEOFENCE_ZONE_OUT = 0x00,
88 GEOFENCE_ZONE_IN = 0x01,
89 GEOFENCE_ZONE_UNCERTAIN = 0x02
90 } geofence_zone_state_t;
93 * This structure is used to get the Extra Fix request parameters.
96 int accuracy; /**< accuracy */
97 int tbf; /**< time between fixes */
98 int num_fixes; /**< num fixes */
99 unsigned char timeout; /**< session timeout */
106 #endif /* _GPS_PLUGIN_EXTRA_DATA_TYPES_H_ */