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