• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2021 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef OHOS_HRIL_ENUM_H
17 #define OHOS_HRIL_ENUM_H
18 
19 #define HRIL_VERSION 1
20 #define HRIL_VERSION_MIN 1
21 #define HRIL_MAX_CDMA_MESSAGE_LEN 255
22 #define HRIL_MAX_CDMA_ADDRESS_LEN 36
23 
24 #define TRUE 1
25 #define FALSE 0
26 
27 #define PARAMETER_SIZE 128
28 
29 typedef enum {
30     HRIL_SIM_SLOT_0,
31     HRIL_SIM_SLOT_1,
32     HRIL_SIM_SLOT_2,
33     HRIL_SIM_SLOT_3,
34 } HRilSimSlotId;
35 
36 typedef enum {
37     HRIL_ERR_NULL_POINT = -1,
38     HRIL_ERR_SUCCESS = 0,
39     HRIL_ERR_GENERIC_FAILURE,
40     HRIL_ERR_INVALID_PARAMETER,
41     HRIL_ERR_MEMORY_FULL,
42     HRIL_ERR_CMD_SEND_FAILURE,
43     HRIL_ERR_CMD_NO_CARRIER,
44     HRIL_ERR_INVALID_RESPONSE,
45     HRIL_ERR_REPEAT_STATUS,
46     HRIL_ERR_NETWORK_SEARCHING,
47     HRIL_ERR_NETWORK_SEARCHING_INTERRUPTED,
48     HRIL_ERR_MODEM_DEVICE_CLOSE,
49 
50     // network error
51     HRIL_ERR_NO_SIMCARD_INSERTED,
52     HRIL_ERR_NEED_PIN_CODE,
53     HRIL_ERR_NEED_PUK_CODE,
54     HRIL_ERR_NETWORK_SEARCH_TIMEOUT,
55     HRIL_ERR_PINPUK_PASSWORD_NOCORRECT,
56     HRIL_ERR_INVALID_MODEM_PARAMETER = 50,
57     HRIL_ERR_HDF_IPC_FAILURE = 65535,
58 } HRilErrNumber;
59 
60 /* From 3GPP TS 27.007 V4.3.0 (2001-12) ATD%s%s */
61 typedef enum {
62     HRIL_CALL_ACTIVATE = 0,
63     HRIL_CALL_HOLDING = 1,
64     HRIL_CALL_DIALING = 2, /* MO call */
65     HRIL_CALL_ALERTING = 3, /* MO call */
66     HRIL_CALL_INCOMING = 4, /* MT call */
67     HRIL_CALL_WAITING = 5 /* MT call */
68 } HRilCallState;
69 
70 typedef enum {
71     HRIL_CALL_FAIL_NO_VALID_NUMBER = 1,
72     HRIL_CALL_FAIL_NO_LINE_TO_TARGET_ADDRESS = 3,
73     HRIL_ERR_CALL_CAUSE = 5
74 } HRilLastCallErrorCode;
75 
76 typedef enum {
77     HRIL_CALL_MODE_CS_ONLY = 1,
78     HRIL_CALL_MODE_CS_1ST_PS_2ND,
79     HRIL_CALL_MODE_PS_1ST_CS_2ND,
80     HRIL_CALL_MODE_PS_ONLY,
81 } HRilVoiceCallMode;
82 
83 typedef enum {
84     HRIL_RADIO_POWER_STATE_UNAVAILABLE = -1,
85     HRIL_RADIO_POWER_STATE_OFF = 0,
86     HRIL_RADIO_POWER_STATE_ON = 1,
87 } HRilRadioState;
88 
89 typedef enum { HRIL_CALL_VOICE, HRIL_CALL_DATA, HRIL_CALL_FAX } HRilCallMode;
90 
91 typedef enum {
92     NO_REG_MT_NO_SEARCH = 0,
93     REG_MT_HOME = 1,
94     NO_REG_MT_SEARCHING = 2,
95     REG_MT_REJECTED = 3,
96     REG_MT_UNKNOWN = 4,
97     REG_MT_ROAMING = 5,
98     REG_MT_EMERGENCY = 6,
99 } HRilRegStatus;
100 
101 typedef enum {
102     REG_NOT_NOTIFY = 0, /* AT command: +CREG,+CGREG,+CEREG,+C5GREG,n=0,Turn off notify function */
103     REG_NOTIFY_STAT_ONLY, /* AT command: +CREG,+CGREG,+CEREG,+C5GREG,n=1,notify data format type 1 */
104     REG_NOTIFY_STAT_LAC_CELLID, /* AT command: +CREG,+CGREG,+CEREG,+C5GREG,n=2,notify data format type 2 */
105 } HRilRegNotifyMode;
106 
107 // 3GPP TS 27.007 V3.9.0 (2001-06) 7.11 Call forwarding number and conditions +CCFC
108 typedef enum {
109     CALL_FORWARD_REASON_UNCONDITIONAL,
110     CALL_FORWARD_REASON_MOBILE_BUSY,
111     CALL_FORWARD_REASON_NO_REPLY,
112     CALL_FORWARD_REASON_NO_REACHABLE,
113     CALL_FORWARD_REASON_ALL_CF, /* all call forwarding (refer 3GPP TS 22.030 [19]) */
114     CALL_FORWARD_REASON_ALL_CCF, /* all conditional call forwarding */
115 } CallForwardReasonType;
116 
117 // 3GPP TS 27.007 V3.9.0 (2001-06) 7.11 Call forwarding number and conditions +CCFC
118 typedef enum {
119     CALL_FORWARD_CLASS_X_VOICE = 1,
120     CALL_FORWARD_CLASS_X_DATA = 2,
121     CALL_FORWARD_CLASS_X_FAX = 4,
122     CALL_FORWARD_CLASS_X_SMS = 8,     /* short message service */
123     CALL_FORWARD_CLASS_X_DCS = 16,    /* data circuit sync */
124     CALL_FORWARD_CLASS_X_DCAS = 32,   /* dedicated packet access */
125     CALL_FORWARD_CLASS_X_DPA = 64,    /* all conditional call forwarding */
126     CALL_FORWARD_CLASS_X_DPADA = 128, /* dedicated PAD access */
127 } CallForwardClassX;
128 
129 // 3GPP TS 27.007 V3.9.0 (2001-06) 7.11 Call forwarding number and conditions +CCFC
130 typedef enum {
131     CALL_FORWARD_MODE_DISABLE,
132     CALL_FORWARD_MODE_ENABLE,
133     CALL_FORWARD_MODE_QUERY_STATUS,
134     CALL_FORWARD_MODE_REGISTRATION,
135     CALL_FORWARD_MODE_ERASURE,
136 } CallForwardMode;
137 
138 // 3GPP TS 27.007 V3.9.0 (2001-06) Call related supplementary services +CHLD
139 // 3GPP TS 27.007 V3.9.0 (2001-06) 7.22 Informative examples
140 typedef enum {
141     TYPE_HANG_UP_HOLD_WAIT = 1,
142     TYPE_HANG_UP_ACTIVE = 2,
143 } HRilCallSupplementType;
144 
145 typedef enum {
146     HRIL_RESPONSE = 0,
147     HRIL_NOTIFICATION = 1,
148 } ReportType;
149 
150 typedef enum {
151     HRIL_UNLOCK_SUCCESS = 0,
152     HRIL_UNLOCK_PASSWORD_ERR = 1,
153     HRIL_UNLOCK_OTHER_ERR = 2,
154 } PinPukResultType;
155 
156 typedef enum {
157     HRIL_REPORT_ERR_TYPE_NONE = 0,
158     HRIL_REPORT_ERR_TYPE_GENERIC,
159     HRIL_REPORT_ERR_TYPE_CME,
160     HRIL_REPORT_ERR_TYPE_CMS,
161 } ReportErrorType;
162 
163 typedef enum {
164     NETWORK_TYPE_UNKNOWN = 0, /* indicates no cell information */
165     NETWORK_TYPE_GSM,
166     NETWORK_TYPE_CDMA,
167     NETWORK_TYPE_WCDMA,
168     NETWORK_TYPE_TDSCDMA,
169     NETWORK_TYPE_LTE,
170     NETWORK_TYPE_NR
171 } RatType; /* Radio Access Technology  */
172 
173 typedef enum {
174     HRIL_SIM_NOT_READY = -1,
175     HRIL_SIM_NOT_INSERTED = 0,
176     HRIL_SIM_READY = 1,
177     HRIL_SIM_PIN,
178     HRIL_SIM_PUK,
179     HRIL_SIM_PIN2,
180     HRIL_SIM_PUK2,
181     HRIL_PH_NET_PIN,
182     HRIL_PH_NET_PUK,
183     HRIL_PH_NET_SUB_PIN,
184     HRIL_PH_NET_SUB_PUK,
185     HRIL_PH_SP_PIN,
186     HRIL_PH_SP_PUK
187 } HRilSimState;
188 
189 typedef enum {
190     HRIL_PIN_STATE_UNKNOWN,
191     HRIL_PIN_NOT_VERIFIED,
192     HRIL_PIN_VERIFIED,
193     HRIL_PIN_DISABLED,
194     HRIL_PIN_BLOCKED_ENABLED,
195     HRIL_PIN_BLOCKED_PERM
196 } HRilSimPinState;
197 
198 typedef enum {
199     HRIL_NETWORK_AUTO = 0,
200     HRIL_NETWORK_GSM = 1,
201     HRIL_NETWORK_WCDMA = 2,
202     HRIL_NETWORK_LTE = 3,
203     HRIL_NETWORK_LTE_WCDMA = 4,
204     HRIL_NETWORK_LTE_WCDMA_GSM = 5,
205     HRIL_NETWORK_WCDMA_GSM = 6,
206     HRIL_NETWORK_CDMA = 7,
207     HRIL_NETWORK_EVDO = 8,
208     HRIL_NETWORK_EVDO_CDMA = 9,
209     HRIL_NETWORK_WCDMA_GSM_EVDO_CDMA = 10,
210     HRIL_NETWORK_LTE_EVDO_CDMA = 11,
211     HRIL_NETWORK_LTE_WCDMA_GSM_EVDO_CDMA = 12,
212     HRIL_NETWORK_TDSCDMA = 13,
213     HRIL_NETWORK_TDSCDMA_GSM = 14,
214     HRIL_NETWORK_TDSCDMA_WCDMA = 15,
215     HRIL_NETWORK_TDSCDMA_WCDMA_GSM = 16,
216     HRIL_NETWORK_LTE_TDSCDMA = 17,
217     HRIL_NETWORK_LTE_TDSCDMA_GSM = 18,
218     HRIL_NETWORK_LTE_TDSCDMA_WCDMA = 19,
219     HRIL_NETWORK_LTE_TDSCDMA_WCDMA_GSM = 20,
220     HRIL_NETWORK_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 21,
221     HRIL_NETWORK_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 22,
222     HRIL_NETWORK_NR = 31,
223     HRIL_NETWORK_NR_LTE = 32,
224     HRIL_NETWORK_NR_LTE_WCDMA = 33,
225     HRIL_NETWORK_NR_LTE_WCDMA_GSM = 34,
226     HRIL_NETWORK_NR_LTE_EVDO_CDMA = 35,
227     HRIL_NETWORK_NR_LTE_WCDMA_GSM_EVDO_CDMA = 36,
228     HRIL_NETWORK_NR_LTE_TDSCDMA = 37,
229     HRIL_NETWORK_NR_LTE_TDSCDMA_GSM = 38,
230     HRIL_NETWORK_NR_LTE_TDSCDMA_WCDMA = 39,
231     HRIL_NETWORK_NR_LTE_TDSCDMA_WCDMA_GSM = 40,
232     HRIL_NETWORK_NR_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 41,
233 } HRilPreferredNetworkType;
234 
235 typedef enum {
236     HRIL_USIM_INVALID = 0,
237     HRIL_USIM_VALID = 1,
238     HRIL_USIM_CS_INVALID = 2,
239     HRIL_USIM_PS_INVALID = 3,
240     HRIL_USIM_CS_PS_INVALID = 4,
241     HRIL_ROM_SIM = 240,
242     HRIL_NO_USIM = 255,
243 } HRilSimStatus;
244 
245 typedef enum {
246     HRIL_SIM_CARD_UNLOCK = 0,
247     HRIL_SIM_CARD_LOCK = 1,
248 } HRilSimLockStatus;
249 
250 typedef enum {
251     HRIL_NO_ROAM = 0,
252     HRIL_ROAMING = 1,
253     HRIL_ROAM_UNKNOWN = 2,
254 } HRilRoamStatus;
255 
256 typedef enum {
257     HRIL_NO_SRV_SERVICE = 0,
258     HRIL_RESTRICTED_SERVICE = 1,
259     HRIL_SERVICE_VALID = 2,
260     HRIL_REGIONAL_SERVICE = 3,
261     HRIL_ENERGY_SAVING_SERVICE = 4,
262 } HRilSrvStatus;
263 
264 typedef enum {
265     HRIL_NO_DOMAIN_SERVICE = 0,
266     HRIL_CS_SERVICE = 1,
267     HRIL_PS_SERVICE = 2,
268     HRIL_CS_PS_SERVICE = 3,
269     HRIL_CS_PS_SEARCHING = 4,
270     HRIL_CDMA_NOT_SUPPORT = 255,
271 } HRilSrvDomain;
272 
273 typedef enum {
274     HRIL_NO_SYSMODE_SERVICE = 0,
275     HRIL_GSM_MODE = 1,
276     HRIL_CDMA_MODE = 2,
277     HRIL_WCDMA_MODE = 3,
278     HRIL_TDSCDMA_MODE = 4,
279     HRIL_WIMAX_MODE = 5,
280     HRIL_LTE_MODE = 6,
281     HRIL_LTE_CA_MODE = 7,
282     HRIL_NR_MODE = 8,
283 } HRilSysMode;
284 
285 typedef enum {
286     HRIL_ACT_NO_SERVICE = 0,
287     HRIL_ACT_GSM = 1,
288     HRIL_ACT_GPRS = 2,
289     HRIL_ACT_EDGE = 3,
290     HRIL_ACT_IS95A = 21,
291     HRIL_ACT_IS95B = 22,
292     HRIL_ACT_CDMA2000_1X = 23,
293     HRIL_ACT_EVDO_REL0 = 24,
294     HRIL_ACT_EVDO_RELA = 25,
295     HRIL_ACT_EVDO_RELB = 26,
296     HRIL_ACT_HYBRID_CDMA2000_1X = 27,
297     HRIL_ACT_HYBRID_EVDO_REL0 = 28,
298     HRIL_ACT_HYBRID_EVDO_RELA = 29,
299     HRIL_ACT_HYBRID_EVDO_RELB = 30,
300     HRIL_ACT_WCDMA = 41,
301     HRIL_ACT_HSDPA = 42,
302     HRIL_ACT_HSUPA = 43,
303     HRIL_ACT_HSPA = 44,
304     HRIL_ACT_HSPAP = 45,
305     HRIL_ACT_DC_HSPAP = 46,
306     HRIL_ACT_TDSCDMA = 61,
307     HRIL_ACT_802_16E = 81,
308     HRIL_ACT_LTE = 101,
309     HRIL_ACT_LTE_CA,
310     HRIL_ACT_NR,
311 } HRilVoiceSubMode;
312 
313 typedef enum {
314     RADIO_TECHNOLOGY_UNKNOWN = 0,
315     RADIO_TECHNOLOGY_GSM = 1,
316     RADIO_TECHNOLOGY_1XRTT = 2,
317     RADIO_TECHNOLOGY_WCDMA = 3,
318     RADIO_TECHNOLOGY_HSPA = 4,
319     RADIO_TECHNOLOGY_HSPAP = 5,
320     RADIO_TECHNOLOGY_TD_SCDMA = 6,
321     RADIO_TECHNOLOGY_EVDO = 7,
322     RADIO_TECHNOLOGY_EHRPD = 8,
323     RADIO_TECHNOLOGY_LTE = 9,
324     RADIO_TECHNOLOGY_LTE_CA = 10,
325     RADIO_TECHNOLOGY_IWLAN = 11,
326     RADIO_TECHNOLOGY_NR = 12,
327     RADIO_TECHNOLOGY_INVALID = 65535,
328 } HRilRadioTech;
329 
330 /* reference 3GPP TS 24.008 V17.4.0 (2021-09)
331  * Unsuccessful PDP context activation initiated by the MS */
332 typedef enum {
333     HRIL_PDP_ERR_NONE = 0,
334     HRIL_PDP_ERR_RETRY,
335     HRIL_PDP_ERR_UNKNOWN = 65535, /* Unknown error */
336     HRIL_PDP_ERR_OPERATOR_DETERMINED_BARRING = 8, /* Operator Determined Barring---No need to retry */
337     HRIL_PDP_ERR_SHORTAGE_RESOURCES = 26, /* insufficient resources */
338     HRIL_PDP_ERR_MISSING_OR_UNKNOWN_APN, /* missing or unknown APN---No need to retry */
339     HRIL_PDP_ERR_UNKNOWN_PDP_ADDR_OR_TYPE, /* unknown PDP address or PDP type---No need to retry */
340     HRIL_PDP_ERR_USER_VERIFICATION, /* user authentication failed---No need to retry */
341     HRIL_PDP_ERR_ACTIVATION_REJECTED_GGSN, /* activation rejected by GGSN, Serving GW or PDN GW---No need to retry */
342     HRIL_PDP_ERR_ACTIVATION_REJECTED_UNSPECIFIED, /* activation rejected, unspecified */
343     HRIL_PDP_ERR_SERVICE_OPTION_NOT_SUPPORTED, /* service option not supported---No need to retry */
344     HRIL_PDP_ERR_REQUESTED_SERVICE_OPTION_NOT_SUBSCRIBED, /* requested service option not subscribed
345                                                            * ---No need to retry */
346     HRIL_PDP_ERR_SERVICE_OPTION_TEMPORARILY_OUT_OF_ORDER, /* service option temporarily out of order */
347     HRIL_PDP_ERR_NSAPI_ALREADY_USED, /* NSAPI already used---No need to retry */
348     HRIL_PDP_ERR_IPV4_ONLY_ALLOWED = 50, /* PDP type IPv4 only allowed---No need to retry */
349     HRIL_PDP_ERR_IPV6_ONLY_ALLOWED, /* PDP type IPv6 only allowed---No need to retry */
350     HRIL_PDP_ERR_IPV4V6_ONLY_ALLOWED = 57, /* PDP type IPv4v6 only allowed---No need to retry */
351     HRIL_PDP_ERR_NON_IP_ONLY_ALLOWED, /* PDP type non IP only allowed---No need to retry */
352     HRIL_PDP_ERR_MAX_NUM_OF_PDP_CONTEXTS = 65, /* maximum number of PDP contexts reached---No need to retry */
353     HRIL_PDP_ERR_APN_NOT_SUPPORTED_IN_CURRENT_RAT_PLMN, /* requested APN not supported in current RAT
354                                                          * and PLMN combination */
355     HRIL_PDP_ERR_PROTOCOL_ERRORS = 95, /* #95 - 111: protocol errors---No need to retry */
356     HRIL_PDP_ERR_APN_RESTRICTION_VALUE_INCOMPATIBLE = 112, /* APN restriction value incompatible
357                                                             * with active PDP context */
358     HRIL_PDP_ERR_MULT_ACCESSES_PDN_NOT_ALLOWED = 113, /* Multiple accesses to a PDN connection not allowed */
359 } HRilPdpErrorReason;
360 
361 typedef enum {
362     HRIL_EVENT_COUNT_0 = 0,
363     HRIL_EVENT_COUNT_1,
364     HRIL_EVENT_COUNT_2,
365     HRIL_EVENT_COUNT_3,
366     HRIL_EVENT_COUNT_4
367 } HRilSendEventCount;
368 
369 typedef enum { HRIL_SIM_TYPE_UNKNOWN = 0, HRIL_SIM_TYPE_SIM, HRIL_SIM_TYPE_USIM } HRilSimType;
370 
371 typedef enum { HRIL_UNNEED_ACK = 0, HRIL_NEED_ACK } HRilAckTypes;
372 
373 typedef enum {
374     NOTIFICATION_FILTER_ALL = -1,
375     NOTIFICATION_FILTER_NONE = 0,
376     NOTIFICATION_FILTER_SIGNAL_STRENGTH = 1,
377     NOTIFICATION_FILTER_NETWORK_STATE = 2,
378     NOTIFICATION_FILTER_DATA_CALL = 4,
379     NOTIFICATION_FILTER_LINK_CAPACITY = 8,
380     NOTIFICATION_FILTER_PHYSICAL_CHANNEL_CONFIG = 16
381 } HRilNotificationFilter;
382 
383 typedef enum {
384     POWER_SAVE_MODE,
385     CHARGING_STATE,
386     LOW_DATA_STATE
387 } HRilDeviceStateType;
388 
389 typedef enum {
390     HRIL_SERVING_CELL_UNKNOWN,
391     HRIL_SERVING_CELL_PRIMARY,
392     HRIL_SERVING_CELL_SECONDARY
393 } HRilCellConnectionStatus;
394 
395 typedef enum {
396     HRIL_RADIO_PROTOCOL_PHASE_INITIAL, /* LM is configured is initial value and value after COMPLETE. */
397     HRIL_RADIO_PROTOCOL_PHASE_CHECK, /* CHECK is sent before UPDATE and indicates that an UPDATE will be
398                                       * forthcoming with these same parameters. */
399     HRIL_RADIO_PROTOCOL_PHASE_UPDATE, /* UPDATE is sent after all LM's receive CHECK and returned success,
400                                        * if any CHECK's fail no UPDATE will be sent. */
401     HRIL_RADIO_PROTOCOL_PHASE_NOTIFY, /* NOTIFY is sent with HNOTI_SIM_RADIO_PROTOCOL_UPDATED. */
402     HRIL_RADIO_PROTOCOL_PHASE_COMPLETE /* COMPLETE is sent after all previous phases have completed.
403                                         * If an error occurs in any previous commands the
404                                         * and fields will be the prior configuration thus
405                                         * restoring the configuration to the previous value. An error returned
406                                         * by this command will generally be ignored or may cause that logical
407                                         * modem to be removed from service */
408 } HRilRadioProtocolPhase;
409 
410 typedef enum {
411     HRIL_RADIO_PROTOCOL_TECH_UNKNOWN = 1 << RADIO_TECHNOLOGY_UNKNOWN,
412     HRIL_RADIO_PROTOCOL_TECH_GSM = 1 << RADIO_TECHNOLOGY_GSM,
413     HRIL_RADIO_PROTOCOL_TECH_1XRTT = 1 << RADIO_TECHNOLOGY_1XRTT,
414     HRIL_RADIO_PROTOCOL_TECH_WCDMA = 1 << RADIO_TECHNOLOGY_WCDMA,
415     HRIL_RADIO_PROTOCOL_TECH_HSPA = 1 << RADIO_TECHNOLOGY_HSPA,
416     HRIL_RADIO_PROTOCOL_TECH_HSPAP = 1 << RADIO_TECHNOLOGY_HSPAP,
417     HRIL_RADIO_PROTOCOL_TECH_TD_SCDMA = 1 << RADIO_TECHNOLOGY_TD_SCDMA,
418     HRIL_RADIO_PROTOCOL_TECH_EVDO = 1 << RADIO_TECHNOLOGY_EVDO,
419     HRIL_RADIO_PROTOCOL_TECH_EHRPD = 1 << RADIO_TECHNOLOGY_EHRPD,
420     HRIL_RADIO_PROTOCOL_TECH_LTE = 1 << RADIO_TECHNOLOGY_LTE,
421     HRIL_RADIO_PROTOCOL_TECH_LTE_CA = 1 << RADIO_TECHNOLOGY_LTE_CA,
422     HRIL_RADIO_PROTOCOL_TECH_IWLAN = 1 << RADIO_TECHNOLOGY_IWLAN,
423     HRIL_RADIO_PROTOCOL_TECH_NR = 1 << RADIO_TECHNOLOGY_NR
424 } HRilRadioProtocolTech;
425 
426 typedef enum {
427     HRIL_RADIO_PROTOCOL_STATUS_NONE,
428     HRIL_RADIO_PROTOCOL_STATUS_SUCCESS,
429     HRIL_RADIO_PROTOCOL_STATUS_FAIL
430 } HRilRadioProtocolStatus;
431 
432 #endif // OHOS_HRIL_ENUM_H
433