4 * Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Ja-young Gu <jygu@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
23 * @ingroup TelephonyAPI
24 * @addtogroup GPS_TAPI GPS
29 @brief This file serves as a "C" header file and defines structures for Tapi Network Services\n
30 It contains a sample set of constants, enums, structs that would be required by applications.
41 #define TAPI_SMART_ASSISTANT_AREA_LIST_MAX 10 /**< Maximum smart assistant area list */
44 * @enum TelSmartAssistantMode_t
45 * This enumeration defines the smart assistant mode state.
48 TAPI_SMART_ASSISTANT_SYNC = 1,
49 TAPI_SMART_ASSISTANT_DELETE = 2,
50 TAPI_SMART_ASSISTANT_ADD = 1,
51 TAPI_SMART_ASSISTANT_MODIFY = 2
52 } TelSmartAssistantOperationType_t;
55 * @enum TelSmartAssistantMode_t
56 * This enumeration defines the smart assistant mode state.
59 TAPI_SMART_ASSISTANT_MODE_STATE_START = 1,
60 TAPI_SMART_ASSISTANT_MODE_STATE_STOP
61 } TelSmartAssistantModeState_t;
65 * This structure defines the smart assistant area.
68 unsigned int index; /**< Smart Assistant area ID */
69 TelSmartAssistantModeState_t mode_state; /**< Smart Assistant mode state */
70 } TelSmartAssistantArea_t;
74 * This structure defines the smart assistant area list.
77 unsigned int count; /**< Smart Assistant area count */
78 TelSmartAssistantArea_t area[TAPI_SMART_ASSISTANT_AREA_LIST_MAX];
79 } TelSmartAssistantAreaList_t;
83 * @enum TelSmartAssistantLppState_t
84 * This enumeration defines the smart assistant mode state.
87 TAPI_SMART_ASSISTANT_LPP_STATE_START = 1,
88 TAPI_SMART_ASSISTANT_LPP_STATE_STOP
89 } TelSmartAssistantLppState_t;
93 * This structure defines the smart assistant info.
94 * AP(Application processor) let the CP(Modem) know the lpp state of Smart Assistant
97 unsigned int index; /**< Smart Assistant area ID */
98 TelSmartAssistantLppState_t lpp_state; /**< Smart Assistant lpp state */
99 } TelSmartAssistantInfo_t;
103 * @enum TelSmartAssistantInitStatus_t
104 * This enumeration defines the smart assistant init status.
107 TAPI_SMART_ASSISTANT_INIT_SUCCESS = 1,
108 TAPI_SMART_ASSISTANT_INIT_FAIL
109 } TelSmartAssistantInitStatus_t;
112 * @enum TelSmartAssistantAreaStatus_t
113 * This enumeration defines the smart assistant area status.
116 TAPI_SMART_ASSISTANT_AREA_STATUS_IN = 1,
117 TAPI_SMART_ASSISTANT_AREA_STATUS_OUT
118 } TelSmartAssistantAreaStatus_t;
121 struct tel_noti_smart_assistant_area_status {
122 TelSmartAssistantAreaStatus_t area_status;
123 unsigned int index; /**< Smart Assistant area ID */
126 struct tel_noti_smart_assistant_sync_status {
127 TelSmartAssistantInitStatus_t init_status;
136 #endif // _TEL_GPS_H_