4 * Copyright (c) 2012 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.
21 #ifndef __TYPE_NOTIFICATION_H__
22 #define __TYPE_NOTIFICATION_H__
24 #include <type/common.h>
28 enum tcore_notification_command {
31 TNOTI_SERVER = TCORE_NOTIFICATION | TCORE_TYPE_SERVER,
33 TNOTI_SERVER_ADDED_PLUGIN,
34 TNOTI_SERVER_REMOVED_PLUGIN,
35 TNOTI_SERVER_ADDED_COMMUNICATOR,
36 TNOTI_SERVER_REMOVED_COMMUNICATOR,
37 TNOTI_SERVER_ADDED_HAL,
38 TNOTI_SERVER_REMOVED_HAL,
39 TNOTI_SERVER_ADDED_STORAGE,
40 TNOTI_SERVER_REMOVED_STORAGE,
43 TNOTI_CALL = TCORE_NOTIFICATION | TCORE_TYPE_CALL,
44 TNOTI_CALL_STATUS_IDLE,
45 TNOTI_CALL_STATUS_ACTIVE,
46 TNOTI_CALL_STATUS_HELD,
47 TNOTI_CALL_STATUS_DIALING,
48 TNOTI_CALL_STATUS_ALERT,
49 TNOTI_CALL_STATUS_INCOMING,
50 TNOTI_CALL_STATUS_WAITING,
51 TNOTI_CALL_INFO_CALL_CONNECTED_LINE,
52 TNOTI_CALL_INFO_WAITING,
54 TNOTI_CALL_INFO_FORWARDED,
55 TNOTI_CALL_INFO_BARRED_INCOMING,
56 TNOTI_CALL_INFO_BARRED_OUTGOING,
57 TNOTI_CALL_INFO_DEFLECTED,
58 TNOTI_CALL_INFO_CLIR_SUPPRESSION_REJECT,
59 TNOTI_CALL_INFO_FORWARD_UNCONDITIONAL,
60 TNOTI_CALL_INFO_FORWARD_CONDITIONAL,
61 TNOTI_CALL_INFO_CALL_LINE_IDENTITY,
62 TNOTI_CALL_INFO_CALL_NAME_INFORMATION,
63 TNOTI_CALL_INFO_FORWARDED_CALL,
64 TNOTI_CALL_INFO_CUG_CALL,
65 TNOTI_CALL_INFO_DEFLECTED_CALL,
66 TNOTI_CALL_INFO_TRANSFERED_CALL,
68 TNOTI_CALL_INFO_ACTIVE,
69 TNOTI_CALL_INFO_JOINED,
70 TNOTI_CALL_INFO_RELEASED_ON_HOLD,
71 TNOTI_CALL_INFO_TRANSFER_ALERT,
72 TNOTI_CALL_INFO_TRANSFERED,
73 TNOTI_CALL_INFO_CF_CHECK_MESSAGE,
74 TNOTI_CALL_SOUND_PATH,
75 TNOTI_CALL_SOUND_RINGBACK_TONE,
76 TNOTI_CALL_SOUND_WBAMR,
77 TNOTI_CALL_SOUND_EQUALIZATION,
78 TNOTI_CALL_SOUND_NOISE_REDUCTION,
79 TNOTI_CALL_SOUND_CLOCK_STATUS,
81 TNOTI_SS = TCORE_NOTIFICATION | TCORE_TYPE_SS,
84 TNOTI_SS_RELEASE_COMPLETE,
86 TNOTI_MODEM = TCORE_NOTIFICATION | TCORE_TYPE_MODEM,
88 TNOTI_MODEM_FLIGHT_MODE,
89 TNOTI_MODEM_DUN_PIN_CONTROL,
90 TNOTI_MODEM_DUN_EXTERNAL_CALL,
93 TNOTI_SIM = TCORE_NOTIFICATION | TCORE_TYPE_SIM,
96 TNOTI_SAT = TCORE_NOTIFICATION | TCORE_TYPE_SAT,
97 TNOTI_SAT_PROACTIVE_CMD,
98 TNOTI_SAT_SESSION_END,
100 TNOTI_SAP = TCORE_NOTIFICATION | TCORE_TYPE_SAP,
102 TNOTI_SAP_DISCONNECT,
104 TNOTI_NETWORK = TCORE_NOTIFICATION | TCORE_TYPE_NETWORK,
105 TNOTI_NETWORK_REGISTRATION_STATUS,
106 TNOTI_NETWORK_LOCATION_CELLINFO,
107 TNOTI_NETWORK_ICON_INFO,
108 TNOTI_NETWORK_CHANGE,
109 TNOTI_NETWORK_TIMEINFO,
110 TNOTI_NETWORK_IDENTITY,
111 TNOTI_NETWORK_NEIGHBORING_CELL_INFO,
112 TNOTI_NETWORK_RESTRICTED_STATE,
114 TNOTI_PS = TCORE_NOTIFICATION | TCORE_TYPE_PS,
115 TNOTI_PS_CALL_STATUS,
116 TNOTI_PS_CURRENT_SESSION_DATA_COUNTER,
117 TNOTI_PS_PDP_IPCONFIGURATION,
118 TNOTI_PS_EXTERNAL_CALL,
119 TNOTI_PS_PROTOCOL_STATUS,
121 TNOTI_SMS = TCORE_NOTIFICATION | TCORE_TYPE_SMS,
122 TNOTI_SMS_INCOM_MSG, /* This is an unsolicited Incoming SMS Event*/
123 TNOTI_SMS_CB_INCOM_MSG, /* This is an unsolicited Incoming cell broadcast message*/
124 TNOTI_SMS_INCOM_EX_MSG, /* This is an extended unsolicited Incoming SMS Event*/
125 TNOTI_SMS_CB_INCOM_EX_MSG, /* This is an extended unsolicited Incoming cell broadcast message*/
126 TNOTI_SMS_MEMORY_STATUS, /* This event is an unsolicited event indicating SIM memory status */
127 TNOTI_SMS_DEVICE_READY, /* Device Ready indication */
129 TNOTI_SMS_ETWS_INCOM_MSG, /* This is an unsolicited Incoming ETWS message*/
131 TNOTI_PHONEBOOK = TCORE_NOTIFICATION | TCORE_TYPE_PHONEBOOK,
132 TNOTI_PHONEBOOK_STATUS,
134 TNOTI_GPS = TCORE_NOTIFICATION | TCORE_TYPE_GPS,
135 TNOTI_GPS_ASSIST_DATA,
136 TNOTI_GPS_MEASURE_POSITION,
137 TNOTI_GPS_RESET_ASSIST_DATA,
138 TNOTI_GPS_FREQUENCY_AIDING_DATA,
140 TNOTI_CUSTOM = TCORE_NOTIFICATION | TCORE_TYPE_CUSTOM,
143 struct tnoti_server_run {
146 struct tnoti_server_added_plugin {
149 struct tnoti_server_removed_plugin {
152 struct tnoti_server_added_communicator {
155 struct tnoti_server_removed_communicator {
158 struct tnoti_server_added_hal {
161 struct tnoti_server_removed_hal {
164 struct tnoti_server_added_storage {
167 struct tnoti_server_removed_storage {
170 struct tnoti_server_exit {
173 struct tnoti_custom {