3 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
23 /* Fumo, Noti UI Event */
24 EVENT_SOFTWARE_UPDATE = 1, // Type 1, sync
25 EVENT_CANCEL, // Type 1, sync
26 EVENT_DOWNLOAD, // Type 1, sync
27 EVENT_INSTALL, // Type 1, sync
28 EVENT_SET_INTERVAL, // Type 1, sync
29 EVENT_ACCOUNT_REGISTRATION, // Type 1, sync
31 EVENT_GET_FUMO_CONFIG = 7, // Type 1, sync
32 EVENT_SET_FUMO_CONFIG, // Type 1, sync
35 EVENT_GET_PROFILE = 9, // Type 1, sync
36 EVENT_SET_PROFILE, // Type 1, sync
37 EVENT_SET_RESET_PROFILE, // Type 1, sync
40 EVENT_UIC_ALERT = 12, // Type 3, response of noti
43 EVENT_CHECK_PIN_CODE, // Type 1
53 NOTI_DOWNLOAD = 1, // Type 0
54 NOTI_INSTALL, // Type 0
55 NOTI_DOWNLOAD_INFO, // Type 0
57 NOTI_ENGINE_START = 4, // Type 0
58 NOTI_ENGINE_FAIL, // Type 0
59 NOTI_WIFI_ONLY_DOWNLOAD_FAIL, // Type 0
60 NOTI_MEMORY_FULL, // Type 0
61 NOTI_OVER_BIG_SIZE, // Type 0
62 NOTI_LOW_BATTERY, // Type 0
64 NOTI_ALERT_DISPLAY = 10, // Type 0, response event
65 NOTI_ALERT_CONFIRMATION, // Type 0, response event
66 NOTI_ALERT_INPUTTEXT, // Type 0, response event
67 NOTI_ALERT_SINGLE_CHOICE, // Type 0, response event
68 NOTI_ALERT_MULTIPLE_CHOICE, // Type 0, response event
70 NOTI_POLL_INTERACTION = 15,
71 NOTI_UPDATE_RESULT, // Type 0
77 PUSH_NOT_SPECIFIED = 0,
106 CONNECTION_STATUS_FAILURE,
107 CONNECTION_STATUS_SUCCESS,
108 CONNECTION_STATUS_UPTODATA,
109 CONNECTION_STATUS_FAILURE_AUTHENTICATION
113 RESPONSE_TYPE_NONE = 0,
115 RESPONSE_TYPE_CANCEL,
116 RESPONSE_TYPE_TIMEOVER,
117 //Todo: add the response type if U need
119 //RESPONSE_TYPE_REMINDER_INTERVAL_NONE,
120 RESPONSE_TYPE_REMINDER_INTERVAL_1_HOUR,
121 RESPONSE_TYPE_REMINDER_INTERVAL_3_HOURS,
122 RESPONSE_TYPE_REMINDER_INTERVAL_6_HOURS,
123 RESPONSE_TYPE_REMINDER_INTERVAL_12_HOURS,
124 RESPONSE_TYPE_REMINDER_INTERVAL_1_DAY,
125 //RESPONSE_TYPE_REMINDER_INTERVAL_7_DAYS,
132 /*for EVENT_CONNECT_TO_SERVER */
134 NO_REPLY_SUCCESS = 0, // success in the case of no reply
135 NO_REPLY_FAILURE, // failusre in the case of no reply
137 REPLY_FAIL_TO_CONNECT, // failure to connect
139 REPLY_SUCCESS_TO_CONNECT, // success to connect
141 REPLY_NEW_UPDATE_EXISTS, // success to connect
142 REPLY_NO_UPDATE_EXISTS, // success to connect
144 REPLY_POSTPONE_STATUS, // success to connect
145 REPLY_NO_POSTPONE_STATUS, // success to connect
147 REPLY_ALL_MEMORYCARD_FULL, // success to connect
148 REPLY_NOT_ALL_MEMORYCARD_FULL, // success to connect
150 //Todo Other replies...
165 EVENT_RESPONSE_FAIL = 0,
166 EVENT_RESPONSE_OK = 1
170 typedef enum _uic_type {
173 UIC_CONFIRMATION_TYPE,
175 UIC_SINGLE_CHOICE_TYPE,
176 UIC_MULTIPLE_CHOICE_TYPE
179 #endif /* IPC_COMMON_H_ */