1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 2 /* 3 * uqmi -- tiny QMI support implementation 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library; if not, write to the 17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * Boston, MA 02110-1301 USA. 19 * 20 * Copyright (C) 2012 Lanedo GmbH. 21 * Copyright (C) 2012-2017 Aleksander Morgado <aleksander@aleksander.es> 22 */ 23 24 #ifndef _LIBQMI_GLIB_QMI_ENUMS_DMS_H_ 25 #define _LIBQMI_GLIB_QMI_ENUMS_DMS_H_ 26 27 /** 28 * SECTION: qmi-enums-dms 29 * 30 * This section defines enumerations and flags used in the DMS service 31 * interface. 32 */ 33 34 /*****************************************************************************/ 35 /* Helper enums for the 'QMI DMS Get Capabilities' message */ 36 37 /** 38 * QmiDmsDataServiceCapability: 39 * @QMI_DMS_DATA_SERVICE_CAPABILITY_NONE: No data services supported. 40 * @QMI_DMS_DATA_SERVICE_CAPABILITY_CS: Only CS supported. 41 * @QMI_DMS_DATA_SERVICE_CAPABILITY_PS: Only PS supported. 42 * @QMI_DMS_DATA_SERVICE_CAPABILITY_SIMULTANEOUS_CS_PS: Simultaneous CS and PS supported. 43 * @QMI_DMS_DATA_SERVICE_CAPABILITY_NON_SIMULTANEOUS_CS_PS: Non simultaneous CS and PS supported. 44 * 45 * Data service capability. 46 * 47 * Since: 1.0 48 */ 49 typedef enum { /*< since=1.0 >*/ 50 QMI_DMS_DATA_SERVICE_CAPABILITY_NONE = 0, 51 QMI_DMS_DATA_SERVICE_CAPABILITY_CS = 1, 52 QMI_DMS_DATA_SERVICE_CAPABILITY_PS = 2, 53 QMI_DMS_DATA_SERVICE_CAPABILITY_SIMULTANEOUS_CS_PS = 3, 54 QMI_DMS_DATA_SERVICE_CAPABILITY_NON_SIMULTANEOUS_CS_PS = 4 55 } QmiDmsDataServiceCapability; 56 57 /** 58 * QmiDmsSimCapability: 59 * @QMI_DMS_SIM_CAPABILITY_NOT_SUPPORTED: SIM not supported. 60 * @QMI_DMS_SIM_CAPABILITY_SUPPORTED: SIM is supported. 61 * 62 * SIM capability. 63 * 64 * Since: 1.0 65 */ 66 typedef enum { /*< since=1.0 >*/ 67 QMI_DMS_SIM_CAPABILITY_NOT_SUPPORTED = 1, 68 QMI_DMS_SIM_CAPABILITY_SUPPORTED = 2 69 } QmiDmsSimCapability; 70 71 /** 72 * QmiDmsRadioInterface: 73 * @QMI_DMS_RADIO_INTERFACE_CDMA20001X: CDMA2000 1x. 74 * @QMI_DMS_RADIO_INTERFACE_EVDO: CDMA2000 HRPD (1xEV-DO) 75 * @QMI_DMS_RADIO_INTERFACE_GSM: GSM. 76 * @QMI_DMS_RADIO_INTERFACE_UMTS: UMTS. 77 * @QMI_DMS_RADIO_INTERFACE_LTE: LTE. 78 * @QMI_DMS_RADIO_INTERFACE_TDS: TDS. Since 1.32. 79 * @QMI_DMS_RADIO_INTERFACE_5GNR: 5G NR. Since 1.26. 80 * 81 * Radio interface type. 82 * 83 * Since: 1.0 84 */ 85 typedef enum { /*< since=1.0 >*/ 86 QMI_DMS_RADIO_INTERFACE_CDMA20001X = 1, 87 QMI_DMS_RADIO_INTERFACE_EVDO = 2, 88 QMI_DMS_RADIO_INTERFACE_GSM = 4, 89 QMI_DMS_RADIO_INTERFACE_UMTS = 5, 90 QMI_DMS_RADIO_INTERFACE_LTE = 8, 91 QMI_DMS_RADIO_INTERFACE_TDS = 9, 92 QMI_DMS_RADIO_INTERFACE_5GNR = 10, 93 } QmiDmsRadioInterface; 94 95 /*****************************************************************************/ 96 /* Helper enums for the 'QMI DMS Get Power State' message */ 97 98 /** 99 * QmiDmsPowerState: 100 * @QMI_DMS_POWER_STATE_EXTERNAL_SOURCE: Powered by an external source. 101 * @QMI_DMS_POWER_STATE_BATTERY_CONNECTED: Battery is connected. 102 * @QMI_DMS_POWER_STATE_BATTERY_CHARGING: Battery is currently being charged. 103 * @QMI_DMS_POWER_STATE_FAULT: Recognized power fault. 104 * 105 * Flags specifying the current power state. 106 * 107 * If @QMI_DMS_POWER_STATE_EXTERNAL_SOURCE is set, the device is powerered by an 108 * external source; otherwise it is powered by a battery. 109 * 110 * If @QMI_DMS_POWER_STATE_BATTERY_CONNECTED is set, the battery is connected; 111 * otherwise the battery is not connected. 112 * 113 * If @QMI_DMS_POWER_STATE_BATTERY_CHARGING is set, the battery is being charged; 114 * otherwise the battery is not being charged. 115 * 116 * If @QMI_DMS_POWER_STATE_FAULT is set, a power fault has been detected. 117 * 118 * Since: 1.0 119 */ 120 typedef enum { /*< since=1.0 >*/ 121 QMI_DMS_POWER_STATE_EXTERNAL_SOURCE = 1 << 0, 122 QMI_DMS_POWER_STATE_BATTERY_CONNECTED = 1 << 1, 123 QMI_DMS_POWER_STATE_BATTERY_CHARGING = 1 << 2, 124 QMI_DMS_POWER_STATE_FAULT = 1 << 3, 125 } QmiDmsPowerState; 126 127 /*****************************************************************************/ 128 /* Helper enums for the 'QMI DMS UIM Set PIN Protection' message */ 129 130 /** 131 * QmiDmsUimPinId: 132 * @QMI_DMS_UIM_PIN_ID_PIN: PIN. 133 * @QMI_DMS_UIM_PIN_ID_PIN2: PIN2. 134 * 135 * The PIN identifier. 136 * 137 * Since: 1.0 138 */ 139 typedef enum { /*< since=1.0 >*/ 140 QMI_DMS_UIM_PIN_ID_PIN = 1, 141 QMI_DMS_UIM_PIN_ID_PIN2 = 2 142 } QmiDmsUimPinId; 143 144 /*****************************************************************************/ 145 /* Helper enums for the 'QMI DMS UIM Get PIN Status' message */ 146 147 /** 148 * QmiDmsUimPinStatus: 149 * @QMI_DMS_UIM_PIN_STATUS_NOT_INITIALIZED: Not initialized. 150 * @QMI_DMS_UIM_PIN_STATUS_ENABLED_NOT_VERIFIED: Enabled, not verified. 151 * @QMI_DMS_UIM_PIN_STATUS_ENABLED_VERIFIED: Enabled, verified. 152 * @QMI_DMS_UIM_PIN_STATUS_DISABLED: Disabled. 153 * @QMI_DMS_UIM_PIN_STATUS_BLOCKED: Blocked. 154 * @QMI_DMS_UIM_PIN_STATUS_PERMANENTLY_BLOCKED: Permanently Blocked. 155 * @QMI_DMS_UIM_PIN_STATUS_UNBLOCKED: Unblocked. 156 * @QMI_DMS_UIM_PIN_STATUS_CHANGED: Changed. 157 * 158 * The PIN status. 159 * 160 * Since: 1.0 161 */ 162 typedef enum { /*< since=1.0 >*/ 163 QMI_DMS_UIM_PIN_STATUS_NOT_INITIALIZED = 0, 164 QMI_DMS_UIM_PIN_STATUS_ENABLED_NOT_VERIFIED = 1, 165 QMI_DMS_UIM_PIN_STATUS_ENABLED_VERIFIED = 2, 166 QMI_DMS_UIM_PIN_STATUS_DISABLED = 3, 167 QMI_DMS_UIM_PIN_STATUS_BLOCKED = 4, 168 QMI_DMS_UIM_PIN_STATUS_PERMANENTLY_BLOCKED = 5, 169 QMI_DMS_UIM_PIN_STATUS_UNBLOCKED = 6, 170 QMI_DMS_UIM_PIN_STATUS_CHANGED = 7, 171 } QmiDmsUimPinStatus; 172 173 /*****************************************************************************/ 174 /* Helper enums for the 'QMI DMS Get Operating Mode' message */ 175 176 /** 177 * QmiDmsOperatingMode: 178 * @QMI_DMS_OPERATING_MODE_ONLINE: Device can acquire a system and make calls. 179 * @QMI_DMS_OPERATING_MODE_LOW_POWER: Device has temporarily disabled RF. 180 * @QMI_DMS_OPERATING_MODE_PERSISTENT_LOW_POWER: Device has disabled RF and state persists even after a reset. 181 * @QMI_DMS_OPERATING_MODE_FACTORY_TEST: Special mode for manufacturer tests. 182 * @QMI_DMS_OPERATING_MODE_OFFLINE: Device has deactivated RF and is partially shutdown. 183 * @QMI_DMS_OPERATING_MODE_RESET: Device is in the process of power cycling. 184 * @QMI_DMS_OPERATING_MODE_SHUTTING_DOWN: Device is in the process of shutting down. 185 * @QMI_DMS_OPERATING_MODE_MODE_ONLY_LOW_POWER: Mode-only Low Power. 186 * @QMI_DMS_OPERATING_MODE_UNKNOWN: Unknown. 187 * 188 * Operating mode of the device. 189 * 190 * Since: 1.0 191 */ 192 typedef enum { /*< since=1.0 >*/ 193 QMI_DMS_OPERATING_MODE_ONLINE = 0, 194 QMI_DMS_OPERATING_MODE_LOW_POWER = 1, 195 QMI_DMS_OPERATING_MODE_FACTORY_TEST = 2, 196 QMI_DMS_OPERATING_MODE_OFFLINE = 3, 197 QMI_DMS_OPERATING_MODE_RESET = 4, 198 QMI_DMS_OPERATING_MODE_SHUTTING_DOWN = 5, 199 QMI_DMS_OPERATING_MODE_PERSISTENT_LOW_POWER = 6, 200 QMI_DMS_OPERATING_MODE_MODE_ONLY_LOW_POWER = 7, 201 QMI_DMS_OPERATING_MODE_UNKNOWN = 0xFF 202 } QmiDmsOperatingMode; 203 204 /** 205 * QmiDmsOfflineReason: 206 * @QMI_DMS_OFFLINE_REASON_HOST_IMAGE_MISCONFIGURATION: Host image misconfiguration. 207 * @QMI_DMS_OFFLINE_REASON_PRI_IMAGE_MISCONFIGURATION: PRI image misconfiguration. 208 * @QMI_DMS_OFFLINE_REASON_PRI_VERSION_INCOMPATIBLE: PRI version incompatible. 209 * @QMI_DMS_OFFLINE_REASON_DEVICE_MEMORY_FULL: Memory full, cannot copy PRI information. 210 * 211 * Reasons for being in Offline (@QMI_DMS_OPERATING_MODE_OFFLINE) state. 212 * 213 * Since: 1.0 214 */ 215 typedef enum { /*< since=1.0 >*/ 216 QMI_DMS_OFFLINE_REASON_HOST_IMAGE_MISCONFIGURATION = 1 << 0, 217 QMI_DMS_OFFLINE_REASON_PRI_IMAGE_MISCONFIGURATION = 1 << 1, 218 QMI_DMS_OFFLINE_REASON_PRI_VERSION_INCOMPATIBLE = 1 << 2, 219 QMI_DMS_OFFLINE_REASON_DEVICE_MEMORY_FULL = 1 << 3 220 } QmiDmsOfflineReason; 221 222 /*****************************************************************************/ 223 /* Helper enums for the 'QMI DMS Get Time' message */ 224 225 /** 226 * QmiDmsTimeSource: 227 * @QMI_DMS_TIME_SOURCE_DEVICE: 32 kHz device clock. 228 * @QMI_DMS_TIME_SOURCE_CDMA_NETWORK: CDMA network. 229 * @QMI_DMS_TIME_SOURCE_HDR_NETWORK: HDR network. 230 * 231 * Source of the timestamp. 232 * 233 * Since: 1.0 234 */ 235 typedef enum { /*< since=1.0 >*/ 236 QMI_DMS_TIME_SOURCE_DEVICE = 0, 237 QMI_DMS_TIME_SOURCE_CDMA_NETWORK = 1, 238 QMI_DMS_TIME_SOURCE_HDR_NETWORK = 2, 239 } QmiDmsTimeSource; 240 241 /*****************************************************************************/ 242 /* Helper enums for the 'QMI DMS Get Activation State' message */ 243 244 /** 245 * QmiDmsActivationState: 246 * @QMI_DMS_ACTIVATION_STATE_NOT_ACTIVATED: Service not activated. 247 * @QMI_DMS_ACTIVATION_STATE_ACTIVATED: Service is activated. 248 * @QMI_DMS_ACTIVATION_STATE_CONNECTING: Connection in progress for automatic activation. 249 * @QMI_DMS_ACTIVATION_STATE_CONNECTED: Connection connected for automatic activation. 250 * @QMI_DMS_ACTIVATION_STATE_OTASP_AUTHENTICATED: OTASP security authenticated. 251 * @QMI_DMS_ACTIVATION_STATE_OTASP_NAM: OTASP NAM downloaded. 252 * @QMI_DMS_ACTIVATION_STATE_OTASP_MDN: OTASP MDN downloaded. 253 * @QMI_DMS_ACTIVATION_STATE_OTASP_IMSI: OTASP IMSI downloaded. 254 * @QMI_DMS_ACTIVATION_STATE_OTASP_PRL: OTASP PRL downloaded. 255 * @QMI_DMS_ACTIVATION_STATE_OTASP_SPC: OTASP SPC downloaded. 256 * @QMI_DMS_ACTIVATION_STATE_OTASP_COMMITED: OTASP settings committed. 257 * 258 * State of the service activation. 259 * 260 * Since: 1.0 261 */ 262 typedef enum { /*< since=1.0 >*/ 263 QMI_DMS_ACTIVATION_STATE_NOT_ACTIVATED = 0x00, 264 QMI_DMS_ACTIVATION_STATE_ACTIVATED = 0x01, 265 QMI_DMS_ACTIVATION_STATE_CONNECTING = 0x02, 266 QMI_DMS_ACTIVATION_STATE_CONNECTED = 0x03, 267 QMI_DMS_ACTIVATION_STATE_OTASP_AUTHENTICATED = 0x04, 268 QMI_DMS_ACTIVATION_STATE_OTASP_NAM = 0x05, 269 QMI_DMS_ACTIVATION_STATE_OTASP_MDN = 0x06, 270 QMI_DMS_ACTIVATION_STATE_OTASP_IMSI = 0x07, 271 QMI_DMS_ACTIVATION_STATE_OTASP_PRL = 0x08, 272 QMI_DMS_ACTIVATION_STATE_OTASP_SPC = 0x09, 273 QMI_DMS_ACTIVATION_STATE_OTASP_COMMITED = 0x0A 274 } QmiDmsActivationState; 275 276 /*****************************************************************************/ 277 /* Helper enums for the 'QMI DMS UIM Get CK Status' message */ 278 279 /** 280 * QmiDmsUimFacility: 281 * @QMI_DMS_UIM_FACILITY_PN: Network personalization facility. 282 * @QMI_DMS_UIM_FACILITY_PU: Network subset personalization facility. 283 * @QMI_DMS_UIM_FACILITY_PP: Service provider facility. 284 * @QMI_DMS_UIM_FACILITY_PC: Corporate personalization facility. 285 * @QMI_DMS_UIM_FACILITY_PF: UIM personalization facility. 286 * 287 * UIM personalization facilities. 288 * 289 * Since: 1.0 290 */ 291 typedef enum { /*< since=1.0 >*/ 292 QMI_DMS_UIM_FACILITY_PN = 0, 293 QMI_DMS_UIM_FACILITY_PU = 1, 294 QMI_DMS_UIM_FACILITY_PP = 2, 295 QMI_DMS_UIM_FACILITY_PC = 3, 296 QMI_DMS_UIM_FACILITY_PF = 4 297 } QmiDmsUimFacility; 298 299 /** 300 * QmiDmsUimFacilityState: 301 * @QMI_DMS_UIM_FACILITY_STATE_DEACTIVATED: Facility is deactivated. 302 * @QMI_DMS_UIM_FACILITY_STATE_ACTIVATED: Facility is activated. 303 * @QMI_DMS_UIM_FACILITY_STATE_BLOCKED: Facility is blocked. 304 * 305 * State of the UIM facility. 306 * 307 * Since: 1.0 308 */ 309 typedef enum { /*< since=1.0 >*/ 310 QMI_DMS_UIM_FACILITY_STATE_DEACTIVATED = 0, 311 QMI_DMS_UIM_FACILITY_STATE_ACTIVATED = 1, 312 QMI_DMS_UIM_FACILITY_STATE_BLOCKED = 2 313 } QmiDmsUimFacilityState; 314 315 /*****************************************************************************/ 316 /* Helper enums for the 'QMI DMS UIM Get State' message */ 317 318 /** 319 * QmiDmsUimState: 320 * @QMI_DMS_UIM_STATE_INITIALIZATION_COMPLETED: UIM initialization completed. 321 * @QMI_DMS_UIM_STATE_LOCKED_OR_FAILED: UIM is locked or failed. 322 * @QMI_DMS_UIM_STATE_NOT_PRESENT: No UIM in the device. 323 * @QMI_DMS_UIM_STATE_RESERVED: Reserved, unknown. 324 * @QMI_DMS_UIM_STATE_UNKNOWN: UIM state currently unavailable. 325 * 326 * State of the UIM. 327 * 328 * Since: 1.0 329 */ 330 typedef enum { /*< since=1.0 >*/ 331 QMI_DMS_UIM_STATE_INITIALIZATION_COMPLETED = 0x00, 332 QMI_DMS_UIM_STATE_LOCKED_OR_FAILED = 0x01, 333 QMI_DMS_UIM_STATE_NOT_PRESENT = 0x02, 334 QMI_DMS_UIM_STATE_RESERVED = 0x03, 335 QMI_DMS_UIM_STATE_UNKNOWN = 0xFF 336 } QmiDmsUimState; 337 338 /*****************************************************************************/ 339 /* Helper enums for the 'QMI DMS Set Time' message */ 340 341 /** 342 * QmiDmsTimeReferenceType: 343 * @QMI_DMS_TIME_REFERENCE_TYPE_USER: User time. 344 * 345 * Time reference type. 346 * 347 * Since: 1.0 348 */ 349 typedef enum { /*< since=1.0 >*/ 350 QMI_DMS_TIME_REFERENCE_TYPE_USER = 0 351 } QmiDmsTimeReferenceType; 352 353 /*****************************************************************************/ 354 /* Helper enums for the 'QMI DMS Get Firmware Preference' message */ 355 356 /** 357 * QmiDmsFirmwareImageType: 358 * @QMI_DMS_FIRMWARE_IMAGE_TYPE_MODEM: Modem image. 359 * @QMI_DMS_FIRMWARE_IMAGE_TYPE_PRI: PRI image. 360 * 361 * Type of firmware image. 362 * 363 * Since: 1.0 364 */ 365 typedef enum { /*< since=1.0 >*/ 366 QMI_DMS_FIRMWARE_IMAGE_TYPE_MODEM = 0, 367 QMI_DMS_FIRMWARE_IMAGE_TYPE_PRI = 1 368 } QmiDmsFirmwareImageType; 369 370 /*****************************************************************************/ 371 /* Helper enums for the 'QMI DMS Get Boot Image Download Mode' message */ 372 373 /** 374 * QmiDmsBootImageDownloadMode: 375 * @QMI_DMS_BOOT_IMAGE_DOWNLOAD_MODE_NORMAL: Normal operation. 376 * @QMI_DMS_BOOT_IMAGE_DOWNLOAD_MODE_BOOT_AND_RECOVERY: Boot and recovery image download mode. 377 * 378 * Specifies the mode for the next boot. 379 * 380 * Since: 1.18 381 */ 382 typedef enum { /*< since=1.18 >*/ 383 QMI_DMS_BOOT_IMAGE_DOWNLOAD_MODE_NORMAL = 0, 384 QMI_DMS_BOOT_IMAGE_DOWNLOAD_MODE_BOOT_AND_RECOVERY = 1, 385 } QmiDmsBootImageDownloadMode; 386 387 /*****************************************************************************/ 388 /* Helper enums for the 'QMI DMS Get MAC Address' message */ 389 390 /** 391 * QmiDmsMacType: 392 * @QMI_DMS_MAC_TYPE_WLAN: WLAN MAC address. 393 * @QMI_DMS_MAC_TYPE_BT: Bluetooth MAC address. 394 * 395 * Specifies the device from which the MAC address should be queried. 396 * 397 * Since: 1.26 398 */ 399 typedef enum { /*< since=1.26 >*/ 400 QMI_DMS_MAC_TYPE_WLAN = 0, 401 QMI_DMS_MAC_TYPE_BT = 1, 402 } QmiDmsMacType; 403 404 /*****************************************************************************/ 405 /* Helper enums for the 'QMI DMS HP Change Device Mode' message */ 406 407 /** 408 * QmiDmsHpDeviceMode: 409 * @QMI_DMS_HP_DEVICE_MODE_FASTBOOT: Fastboot download mode. 410 * 411 * HP specific device modes. 412 * 413 * Since: 1.18 414 */ 415 typedef enum { /*< since=1.18 >*/ 416 QMI_DMS_HP_DEVICE_MODE_FASTBOOT = 5, 417 } QmiDmsHpDeviceMode; 418 419 /*****************************************************************************/ 420 /* Helper enums for the 'QMI DMS Swi Get USB Composition' message */ 421 422 /** 423 * QmiDmsSwiUsbComposition: 424 * @QMI_DMS_SWI_USB_COMPOSITION_UNKNOWN: Unknown. 425 * @QMI_DMS_SWI_USB_COMPOSITION_0: HIP, DM, NMEA, AT, MDM1, MDM2, MDM3, MS. 426 * @QMI_DMS_SWI_USB_COMPOSITION_1: HIP, DM, NMEA, AT, MDM1, MS. 427 * @QMI_DMS_SWI_USB_COMPOSITION_2: HIP, DM, NMEA, AT, NIC1, MS. 428 * @QMI_DMS_SWI_USB_COMPOSITION_3: HIP, DM, NMEA, AT, MDM1, NIC1, MS. 429 * @QMI_DMS_SWI_USB_COMPOSITION_4: HIP, DM, NMEA, AT, NIC1, NIC2, NIC3, MS. 430 * @QMI_DMS_SWI_USB_COMPOSITION_5: HIP, DM, NMEA, AT, ECM1, MS. 431 * @QMI_DMS_SWI_USB_COMPOSITION_6: DM, NMEA, AT, QMI. 432 * @QMI_DMS_SWI_USB_COMPOSITION_7: DM, NMEA, AT, RMNET1, RMNET2, RMNET3. 433 * @QMI_DMS_SWI_USB_COMPOSITION_8: DM, NMEA, AT, MBIM. 434 * @QMI_DMS_SWI_USB_COMPOSITION_9: MBIM. 435 * @QMI_DMS_SWI_USB_COMPOSITION_10: NMEA, MBIM. 436 * @QMI_DMS_SWI_USB_COMPOSITION_11: DM, MBIM. 437 * @QMI_DMS_SWI_USB_COMPOSITION_12: DM, NMEA, MBIM. 438 * @QMI_DMS_SWI_USB_COMPOSITION_13: Dual configuration: USB composition 6 and USB composition 8. 439 * @QMI_DMS_SWI_USB_COMPOSITION_14: Dual configuration: USB composition 6 and USB composition 9. 440 * @QMI_DMS_SWI_USB_COMPOSITION_15: Dual configuration: USB composition 6 and USB composition 10. 441 * @QMI_DMS_SWI_USB_COMPOSITION_16: Dual configuration: USB composition 6 and USB composition 11. 442 * @QMI_DMS_SWI_USB_COMPOSITION_17: Dual configuration: USB composition 6 and USB composition 12. 443 * @QMI_DMS_SWI_USB_COMPOSITION_18: Dual configuration: USB composition 7 and USB composition 8. 444 * @QMI_DMS_SWI_USB_COMPOSITION_19: Dual configuration: USB composition 7 and USB composition 9. 445 * @QMI_DMS_SWI_USB_COMPOSITION_20: Dual configuration: USB composition 7 and USB composition 10. 446 * @QMI_DMS_SWI_USB_COMPOSITION_21: Dual configuration: USB composition 7 and USB composition 11. 447 * @QMI_DMS_SWI_USB_COMPOSITION_22: Dual configuration: USB composition 7 and USB composition 12. 448 * 449 * Sierra Wireless USB composition modes. 450 * 451 * Since: 1.20 452 */ 453 typedef enum { /*< since=1.20 >*/ 454 QMI_DMS_SWI_USB_COMPOSITION_UNKNOWN = -1, 455 QMI_DMS_SWI_USB_COMPOSITION_0 = 0, 456 QMI_DMS_SWI_USB_COMPOSITION_1 = 1, 457 QMI_DMS_SWI_USB_COMPOSITION_2 = 2, 458 QMI_DMS_SWI_USB_COMPOSITION_3 = 3, 459 QMI_DMS_SWI_USB_COMPOSITION_4 = 4, 460 QMI_DMS_SWI_USB_COMPOSITION_5 = 5, 461 QMI_DMS_SWI_USB_COMPOSITION_6 = 6, 462 QMI_DMS_SWI_USB_COMPOSITION_7 = 7, 463 QMI_DMS_SWI_USB_COMPOSITION_8 = 8, 464 QMI_DMS_SWI_USB_COMPOSITION_9 = 9, 465 QMI_DMS_SWI_USB_COMPOSITION_10 = 10, 466 QMI_DMS_SWI_USB_COMPOSITION_11 = 11, 467 QMI_DMS_SWI_USB_COMPOSITION_12 = 12, 468 QMI_DMS_SWI_USB_COMPOSITION_13 = 13, 469 QMI_DMS_SWI_USB_COMPOSITION_14 = 14, 470 QMI_DMS_SWI_USB_COMPOSITION_15 = 15, 471 QMI_DMS_SWI_USB_COMPOSITION_16 = 16, 472 QMI_DMS_SWI_USB_COMPOSITION_17 = 17, 473 QMI_DMS_SWI_USB_COMPOSITION_18 = 18, 474 QMI_DMS_SWI_USB_COMPOSITION_19 = 19, 475 QMI_DMS_SWI_USB_COMPOSITION_20 = 20, 476 QMI_DMS_SWI_USB_COMPOSITION_21 = 21, 477 QMI_DMS_SWI_USB_COMPOSITION_22 = 22, 478 } QmiDmsSwiUsbComposition; 479 480 /** 481 * qmi_dms_swi_usb_composition_get_description: 482 * @value: a #QmiDmsSwiUsbComposition. 483 * 484 * Gets a text description of the Sierra Wireless USB composition. 485 * 486 * Since: 1.20 487 * Returns: a string. 488 */ 489 const char *qmi_dms_swi_usb_composition_get_description (QmiDmsSwiUsbComposition value); 490 491 /*****************************************************************************/ 492 /* Helper enums for the 'QMI DMS Foxconn Change Device Mode' message */ 493 494 /** 495 * QmiDmsFoxconnDeviceMode: 496 * @QMI_DMS_FOXCONN_DEVICE_MODE_UNKNOWN: Unknown mode. 497 * @QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_ONLINE: Fastboot download mode for full partition files. 498 * @QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_OTA: Fastboot download mode for OTA files. 499 * 500 * Foxconn specific device modes. 501 * 502 * Since: 1.26 503 */ 504 typedef enum { /*< since=1.26 >*/ 505 QMI_DMS_FOXCONN_DEVICE_MODE_UNKNOWN = 0, 506 QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_ONLINE = 0x05, 507 QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_OTA = 0x0A, 508 } QmiDmsFoxconnDeviceMode; 509 510 /*****************************************************************************/ 511 /* Helper enums for the 'QMI DMS Foxconn Get Firmware Version' message */ 512 513 /** 514 * QmiDmsFoxconnFirmwareVersionType: 515 * @QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG: E.g. T77W968.F0.0.0.2.3.GC.004. 516 * @QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG_APPS: E.g. T77W968.F0.0.0.2.3.GC.004.011. 517 * @QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_APPS: E.g. 011. 518 * 519 * Foxconn specific firmware version types. 520 * 521 * Since: 1.26 522 */ 523 typedef enum { /*< since=1.26 >*/ 524 QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG = 0x00, 525 QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG_APPS = 0x01, 526 QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_APPS = 0x02, 527 } QmiDmsFoxconnFirmwareVersionType; 528 529 #endif /* _LIBQMI_GLIB_QMI_ENUMS_DMS_H_ */ 530
This page was automatically generated by LXR 0.3.1. • OpenWrt