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
48 EVENT_INSTALL_MNT_PW = 16,
55 NOTI_DOWNLOAD = 1, // Type 0
56 NOTI_INSTALL, // Type 0
57 NOTI_DOWNLOAD_INFO, // Type 0
59 NOTI_ENGINE_START = 4, // Type 0
60 NOTI_ENGINE_FAIL, // Type 0
61 NOTI_WIFI_ONLY_DOWNLOAD_FAIL, // Type 0
62 NOTI_MEMORY_FULL, // Type 0
63 NOTI_OVER_BIG_SIZE, // Type 0
64 NOTI_LOW_BATTERY, // Type 0
66 NOTI_ALERT_DISPLAY = 10, // Type 0, response event
67 NOTI_ALERT_CONFIRMATION, // Type 0, response event
68 NOTI_ALERT_INPUTTEXT, // Type 0, response event
69 NOTI_ALERT_SINGLE_CHOICE, // Type 0, response event
70 NOTI_ALERT_MULTIPLE_CHOICE, // Type 0, response event
72 NOTI_POLL_INTERACTION = 15,
73 NOTI_UPDATE_RESULT, // Type 0
79 PUSH_NOT_SPECIFIED = 0,
108 CONNECTION_STATUS_FAILURE,
109 CONNECTION_STATUS_SUCCESS,
110 CONNECTION_STATUS_UPTODATA,
111 CONNECTION_STATUS_FAILURE_AUTHENTICATION
115 RESPONSE_TYPE_NONE = 0,
117 RESPONSE_TYPE_CANCEL,
118 RESPONSE_TYPE_TIMEOVER,
119 //Todo: add the response type if U need
121 //RESPONSE_TYPE_REMINDER_INTERVAL_NONE,
122 RESPONSE_TYPE_REMINDER_INTERVAL_30_MINUSTES,
123 RESPONSE_TYPE_REMINDER_INTERVAL_1_HOUR,
124 RESPONSE_TYPE_REMINDER_INTERVAL_3_HOURS,
125 RESPONSE_TYPE_REMINDER_INTERVAL_6_HOURS,
126 RESPONSE_TYPE_REMINDER_INTERVAL_12_HOURS,
127 RESPONSE_TYPE_REMINDER_INTERVAL_1_DAY,
128 //RESPONSE_TYPE_REMINDER_INTERVAL_7_DAYS,
135 /*for EVENT_CONNECT_TO_SERVER */
137 NO_REPLY_SUCCESS = 0, // success in the case of no reply
138 NO_REPLY_FAILURE, // failusre in the case of no reply
140 REPLY_FAIL_TO_CONNECT, // failure to connect
142 REPLY_SUCCESS_TO_CONNECT, // success to connect
144 REPLY_NEW_UPDATE_EXISTS, // success to connect
145 REPLY_NO_UPDATE_EXISTS, // success to connect
147 REPLY_POSTPONE_STATUS, // success to connect
148 REPLY_NO_POSTPONE_STATUS, // success to connect
150 REPLY_ALL_MEMORYCARD_FULL, // success to connect
151 REPLY_NOT_ALL_MEMORYCARD_FULL, // success to connect
153 //Todo Other replies...
168 EVENT_RESPONSE_FAIL = 0,
169 EVENT_RESPONSE_OK = 1
173 typedef enum _uic_type {
176 UIC_CONFIRMATION_TYPE,
178 UIC_SINGLE_CHOICE_TYPE,
179 UIC_MULTIPLE_CHOICE_TYPE
182 #endif /* IPC_COMMON_H_ */