1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * uqmi -- tiny QMI support implementation
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.
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.
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.
20 * Copyright (C) 2012 Lanedo GmbH.
21 * Copyright (C) 2012-2017 Aleksander Morgado <aleksander@aleksander.es>
24 #ifndef _LIBQMI_GLIB_QMI_ENUMS_DMS_H_
25 #define _LIBQMI_GLIB_QMI_ENUMS_DMS_H_
28 * SECTION: qmi-enums-dms
30 * This section defines enumerations and flags used in the DMS service
34 /*****************************************************************************/
35 /* Helper enums for the 'QMI DMS Get Capabilities' message */
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.
45 * Data service capability.
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
;
58 * QmiDmsSimCapability:
59 * @QMI_DMS_SIM_CAPABILITY_NOT_SUPPORTED: SIM not supported.
60 * @QMI_DMS_SIM_CAPABILITY_SUPPORTED: SIM is supported.
66 typedef enum { /*< since=1.0 >*/
67 QMI_DMS_SIM_CAPABILITY_NOT_SUPPORTED
= 1,
68 QMI_DMS_SIM_CAPABILITY_SUPPORTED
= 2
69 } QmiDmsSimCapability
;
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.
81 * Radio interface type.
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
;
95 /*****************************************************************************/
96 /* Helper enums for the 'QMI DMS Get Power State' message */
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.
105 * Flags specifying the current power state.
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.
110 * If @QMI_DMS_POWER_STATE_BATTERY_CONNECTED is set, the battery is connected;
111 * otherwise the battery is not connected.
113 * If @QMI_DMS_POWER_STATE_BATTERY_CHARGING is set, the battery is being charged;
114 * otherwise the battery is not being charged.
116 * If @QMI_DMS_POWER_STATE_FAULT is set, a power fault has been detected.
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,
127 /*****************************************************************************/
128 /* Helper enums for the 'QMI DMS UIM Set PIN Protection' message */
132 * @QMI_DMS_UIM_PIN_ID_PIN: PIN.
133 * @QMI_DMS_UIM_PIN_ID_PIN2: PIN2.
135 * The PIN identifier.
139 typedef enum { /*< since=1.0 >*/
140 QMI_DMS_UIM_PIN_ID_PIN
= 1,
141 QMI_DMS_UIM_PIN_ID_PIN2
= 2
144 /*****************************************************************************/
145 /* Helper enums for the 'QMI DMS UIM Get PIN Status' message */
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.
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
;
173 /*****************************************************************************/
174 /* Helper enums for the 'QMI DMS Get Operating Mode' message */
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.
188 * Operating mode of the device.
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
;
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.
211 * Reasons for being in Offline (@QMI_DMS_OPERATING_MODE_OFFLINE) state.
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
;
222 /*****************************************************************************/
223 /* Helper enums for the 'QMI DMS Get Time' message */
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.
231 * Source of the timestamp.
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,
241 /*****************************************************************************/
242 /* Helper enums for the 'QMI DMS Get Activation State' message */
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.
258 * State of the service activation.
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
;
276 /*****************************************************************************/
277 /* Helper enums for the 'QMI DMS UIM Get CK Status' message */
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.
287 * UIM personalization facilities.
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
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.
305 * State of the UIM facility.
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
;
315 /*****************************************************************************/
316 /* Helper enums for the 'QMI DMS UIM Get State' message */
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.
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
338 /*****************************************************************************/
339 /* Helper enums for the 'QMI DMS Set Time' message */
342 * QmiDmsTimeReferenceType:
343 * @QMI_DMS_TIME_REFERENCE_TYPE_USER: User time.
345 * Time reference type.
349 typedef enum { /*< since=1.0 >*/
350 QMI_DMS_TIME_REFERENCE_TYPE_USER
= 0
351 } QmiDmsTimeReferenceType
;
353 /*****************************************************************************/
354 /* Helper enums for the 'QMI DMS Get Firmware Preference' message */
357 * QmiDmsFirmwareImageType:
358 * @QMI_DMS_FIRMWARE_IMAGE_TYPE_MODEM: Modem image.
359 * @QMI_DMS_FIRMWARE_IMAGE_TYPE_PRI: PRI image.
361 * Type of firmware image.
365 typedef enum { /*< since=1.0 >*/
366 QMI_DMS_FIRMWARE_IMAGE_TYPE_MODEM
= 0,
367 QMI_DMS_FIRMWARE_IMAGE_TYPE_PRI
= 1
368 } QmiDmsFirmwareImageType
;
370 /*****************************************************************************/
371 /* Helper enums for the 'QMI DMS Get Boot Image Download Mode' message */
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.
378 * Specifies the mode for the next boot.
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
;
387 /*****************************************************************************/
388 /* Helper enums for the 'QMI DMS Get MAC Address' message */
392 * @QMI_DMS_MAC_TYPE_WLAN: WLAN MAC address.
393 * @QMI_DMS_MAC_TYPE_BT: Bluetooth MAC address.
395 * Specifies the device from which the MAC address should be queried.
399 typedef enum { /*< since=1.26 >*/
400 QMI_DMS_MAC_TYPE_WLAN
= 0,
401 QMI_DMS_MAC_TYPE_BT
= 1,
404 /*****************************************************************************/
405 /* Helper enums for the 'QMI DMS HP Change Device Mode' message */
408 * QmiDmsHpDeviceMode:
409 * @QMI_DMS_HP_DEVICE_MODE_FASTBOOT: Fastboot download mode.
411 * HP specific device modes.
415 typedef enum { /*< since=1.18 >*/
416 QMI_DMS_HP_DEVICE_MODE_FASTBOOT
= 5,
417 } QmiDmsHpDeviceMode
;
419 /*****************************************************************************/
420 /* Helper enums for the 'QMI DMS Swi Get USB Composition' message */
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.
449 * Sierra Wireless USB composition modes.
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
;
481 * qmi_dms_swi_usb_composition_get_description:
482 * @value: a #QmiDmsSwiUsbComposition.
484 * Gets a text description of the Sierra Wireless USB composition.
489 const char *qmi_dms_swi_usb_composition_get_description (QmiDmsSwiUsbComposition value
);
491 /*****************************************************************************/
492 /* Helper enums for the 'QMI DMS Foxconn Change Device Mode' message */
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.
500 * Foxconn specific device modes.
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
;
510 /*****************************************************************************/
511 /* Helper enums for the 'QMI DMS Foxconn Get Firmware Version' message */
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.
519 * Foxconn specific firmware version types.
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
;
529 #endif /* _LIBQMI_GLIB_QMI_ENUMS_DMS_H_ */