## DMS enumerations and flags DMS enumerations and flags |

## Synopsis

    enum                QmiDmsDataServiceCapability;
    enum                QmiDmsSimCapability;
    enum                QmiDmsBandCapability;
    enum                QmiDmsLteBandCapability;
    enum                QmiDmsRadioInterface;
    enum                QmiDmsPowerState;
    enum                QmiDmsUimPinId;
    enum                QmiDmsUimPinStatus;
    enum                QmiDmsOperatingMode;
    enum                QmiDmsOfflineReason;
    enum                QmiDmsTimeSource;
    enum                QmiDmsActivationState;
    enum                QmiDmsUimFacility;
    enum                QmiDmsUimFacilityState;
    enum                QmiDmsUimState;
    enum                QmiDmsTimeReferenceType;
    enum                QmiDmsFirmwareImageType;

    const gchar *       qmi_dms_data_service_capability_get_string
                                                            (QmiDmsDataServiceCapability val);
    const gchar *       qmi_dms_sim_capability_get_string   (QmiDmsSimCapability val);
    gchar *             qmi_dms_band_capability_build_string_from_mask
                                                            (QmiDmsBandCapability mask);
    gchar *             qmi_dms_lte_band_capability_build_string_from_mask
                                                            (QmiDmsLteBandCapability mask);
    const gchar *       qmi_dms_radio_interface_get_string  (QmiDmsRadioInterface val);
    gchar *             qmi_dms_power_state_build_string_from_mask
                                                            (QmiDmsPowerState mask);
    const gchar *       qmi_dms_uim_pin_id_get_string       (QmiDmsUimPinId val);
    const gchar *       qmi_dms_uim_pin_status_get_string   (QmiDmsUimPinStatus val);
    const gchar *       qmi_dms_operating_mode_get_string   (QmiDmsOperatingMode val);
    gchar *             qmi_dms_offline_reason_build_string_from_mask
                                                            (QmiDmsOfflineReason mask);
    const gchar *       qmi_dms_time_source_get_string      (QmiDmsTimeSource val);
    const gchar *       qmi_dms_activation_state_get_string (QmiDmsActivationState val);
    const gchar *       qmi_dms_uim_facility_get_string     (QmiDmsUimFacility val);
    const gchar *       qmi_dms_uim_facility_state_get_string
                                                            (QmiDmsUimFacilityState val);
    const gchar *       qmi_dms_uim_state_get_string        (QmiDmsUimState val);
    const gchar *       qmi_dms_time_reference_type_get_string
                                                            (QmiDmsTimeReferenceType val);
    const gchar *       qmi_dms_firmware_image_type_get_string
                                                            (QmiDmsFirmwareImageType val);

## Object Hierarchy

      GEnum
       +----QmiDmsDataServiceCapability

      GEnum
       +----QmiDmsSimCapability

      GEnum
       +----QmiDmsRadioInterface

      GFlags
       +----QmiDmsPowerState

      GEnum
       +----QmiDmsUimPinId

      GEnum
       +----QmiDmsUimPinStatus

      GEnum
       +----QmiDmsOperatingMode

      GFlags
       +----QmiDmsOfflineReason

      GEnum
       +----QmiDmsTimeSource

      GEnum
       +----QmiDmsActivationState

      GEnum
       +----QmiDmsUimFacility

      GEnum
       +----QmiDmsUimFacilityState

      GEnum
       +----QmiDmsUimState

      GEnum
       +----QmiDmsTimeReferenceType

      GEnum
       +----QmiDmsFirmwareImageType

## Description

This section defines enumerations and flags used in the DMS service interface.

## Details

### enum QmiDmsDataServiceCapability

    typedef enum {
        QMI_DMS_DATA_SERVICE_CAPABILITY_NONE                   = 0,
        QMI_DMS_DATA_SERVICE_CAPABILITY_CS                     = 1,
        QMI_DMS_DATA_SERVICE_CAPABILITY_PS                     = 2,
        QMI_DMS_DATA_SERVICE_CAPABILITY_SIMULTANEOUS_CS_PS     = 3,
        QMI_DMS_DATA_SERVICE_CAPABILITY_NON_SIMULTANEOUS_CS_PS = 4
    } QmiDmsDataServiceCapability;

Data service capability.

`QMI_DMS_DATA_SERVICE_CAPABILITY_NONE` | No data services supported.
`QMI_DMS_DATA_SERVICE_CAPABILITY_CS` | Only CS supported.
`QMI_DMS_DATA_SERVICE_CAPABILITY_PS` | Only PS supported.
`QMI_DMS_DATA_SERVICE_CAPABILITY_SIMULTANEOUS_CS_PS` | Simultaneous CS and PS supported.
`QMI_DMS_DATA_SERVICE_CAPABILITY_NON_SIMULTANEOUS_CS_PS` | Non simultaneous CS and PS supported.

### enum QmiDmsSimCapability

    typedef enum {
        QMI_DMS_SIM_CAPABILITY_NOT_SUPPORTED = 1,
        QMI_DMS_SIM_CAPABILITY_SUPPORTED     = 2
    } QmiDmsSimCapability;

SIM capability.

`QMI_DMS_SIM_CAPABILITY_NOT_SUPPORTED` | SIM not supported.
`QMI_DMS_SIM_CAPABILITY_SUPPORTED` | SIM is supported.

### enum QmiDmsBandCapability

    typedef enum {
        QMI_DMS_BAND_CAPABILITY_BC_0_A_SYSTEM    = 1 << 0,
        QMI_DMS_BAND_CAPABILITY_BC_0_B_SYSTEM    = 1 << 1,
        QMI_DMS_BAND_CAPABILITY_BC_1_ALL_BLOCKS  = 1 << 2,
        QMI_DMS_BAND_CAPABILITY_BC_2             = 1 << 3,
        QMI_DMS_BAND_CAPABILITY_BC_3_A_SYSTEM    = 1 << 4,
        QMI_DMS_BAND_CAPABILITY_BC_4_ALL_BLOCKS  = 1 << 5,
        QMI_DMS_BAND_CAPABILITY_BC_5_ALL_BLOCKS  = 1 << 6,
        QMI_DMS_BAND_CAPABILITY_GSM_DCS_1800     = 1 << 7,
        QMI_DMS_BAND_CAPABILITY_GSM_900_EXTENDED = 1 << 8,
        QMI_DMS_BAND_CAPABILITY_GSM_900_PRIMARY  = 1 << 9,
        QMI_DMS_BAND_CAPABILITY_BC_6             = 1 << 10,
        QMI_DMS_BAND_CAPABILITY_BC_7             = 1 << 11,
        QMI_DMS_BAND_CAPABILITY_BC_8             = 1 << 12,
        QMI_DMS_BAND_CAPABILITY_BC_9             = 1 << 13,
        QMI_DMS_BAND_CAPABILITY_BC_10            = 1 << 14,
        QMI_DMS_BAND_CAPABILITY_BC_11            = 1 << 15,
        QMI_DMS_BAND_CAPABILITY_GSM_450          = 1 << 16,
        QMI_DMS_BAND_CAPABILITY_GSM_480          = 1 << 17,
        QMI_DMS_BAND_CAPABILITY_GSM_750          = 1 << 18,
        QMI_DMS_BAND_CAPABILITY_GSM_850          = 1 << 19,
        QMI_DMS_BAND_CAPABILITY_GSM_900_RAILWAYS = 1 << 20,
        QMI_DMS_BAND_CAPABILITY_GSM_PCS_1900     = 1 << 21,
        QMI_DMS_BAND_CAPABILITY_WCDMA_2100       = 1 << 22,
        QMI_DMS_BAND_CAPABILITY_WCDMA_PCS_1900   = 1 << 23,
        QMI_DMS_BAND_CAPABILITY_WCDMA_DCS_1800   = 1 << 24,
        QMI_DMS_BAND_CAPABILITY_WCDMA_1700_US    = 1 << 25,
        QMI_DMS_BAND_CAPABILITY_WCDMA_850_US     = 1 << 26,
        QMI_DMS_BAND_CAPABILITY_WCDMA_800        = 1 << 27,
        QMI_DMS_BAND_CAPABILITY_BC_12            = 1 << 28,
        QMI_DMS_BAND_CAPABILITY_BC_14            = 1 << 29,
        /* Bit 30 reserved */
        QMI_DMS_BAND_CAPABILITY_BC_15            = 1 << 31,
        /* Bits 32-47 reserved */
        QMI_DMS_BAND_CAPABILITY_WCDMA_2600       = ((guint64) 1) << 48,
        QMI_DMS_BAND_CAPABILITY_WCDMA_900        = ((guint64) 1) << 49,
        QMI_DMS_BAND_CAPABILITY_WCDMA_1700_JAPAN = ((guint64) 1) << 50,
        /* Bits 51-55 reserved */
        QMI_DMS_BAND_CAPABILITY_BC_16            = ((guint64) 1) << 56,
        QMI_DMS_BAND_CAPABILITY_BC_17            = ((guint64) 1) << 57,
        QMI_DMS_BAND_CAPABILITY_BC_18            = ((guint64) 1) << 58,
        QMI_DMS_BAND_CAPABILITY_BC_19            = ((guint64) 1) << 59,
        QMI_DMS_BAND_CAPABILITY_WCDMA_850_JAPAN  = ((guint64) 1) << 60,
        QMI_DMS_BAND_CAPABILITY_WCDMA_1500       = ((guint64) 1) << 61
        /* Bits 62-63 reserved */
    } QmiDmsBandCapability;

Frequency band capabilities.

`QMI_DMS_BAND_CAPABILITY_BC_0_A_SYSTEM` | Band class 0, A-system.
`QMI_DMS_BAND_CAPABILITY_BC_0_B_SYSTEM` | Band class 0, B-system.
`QMI_DMS_BAND_CAPABILITY_BC_1_ALL_BLOCKS` | Band class 1, all blocks.
`QMI_DMS_BAND_CAPABILITY_BC_2` | Band class 2.
`QMI_DMS_BAND_CAPABILITY_BC_3_A_SYSTEM` | Band class 3, A-system.
`QMI_DMS_BAND_CAPABILITY_BC_4_ALL_BLOCKS` | Band class 4, all blocks.
`QMI_DMS_BAND_CAPABILITY_BC_5_ALL_BLOCKS` | Band class 5, all blocks.
`QMI_DMS_BAND_CAPABILITY_GSM_DCS_1800` | GSM DCS band.
`QMI_DMS_BAND_CAPABILITY_GSM_900_EXTENDED` | GSM Extended GSM band (900).
`QMI_DMS_BAND_CAPABILITY_GSM_900_PRIMARY` | GSM Primary GSM band (900).
`QMI_DMS_BAND_CAPABILITY_BC_6` | Band class 6.
`QMI_DMS_BAND_CAPABILITY_BC_7` | Band class 7.
`QMI_DMS_BAND_CAPABILITY_BC_8` | Band class 8.
`QMI_DMS_BAND_CAPABILITY_BC_9` | Band class 9.
`QMI_DMS_BAND_CAPABILITY_BC_10` | Band class 10.
`QMI_DMS_BAND_CAPABILITY_BC_11` | Band class 11.
`QMI_DMS_BAND_CAPABILITY_GSM_450` | GSM 450 band.
`QMI_DMS_BAND_CAPABILITY_GSM_480` | GSM 480 band.
`QMI_DMS_BAND_CAPABILITY_GSM_750` | GSM 750 band.
`QMI_DMS_BAND_CAPABILITY_GSM_850` | GSM 850 band.
`QMI_DMS_BAND_CAPABILITY_GSM_900_RAILWAYS` | GSM railways band (900).
`QMI_DMS_BAND_CAPABILITY_GSM_PCS_1900` | GSM PCS band (1900).
`QMI_DMS_BAND_CAPABILITY_WCDMA_2100` | WCDMA 2100 band (Europe, Japan, China).
`QMI_DMS_BAND_CAPABILITY_WCDMA_PCS_1900` | WCDMA PCS 1900 band (US).
`QMI_DMS_BAND_CAPABILITY_WCDMA_DCS_1800` | WCDMA DCS 1800 band (Europe, China).
`QMI_DMS_BAND_CAPABILITY_WCDMA_1700_US` | WCDMA 1700 band (US).
`QMI_DMS_BAND_CAPABILITY_WCDMA_850_US` | WCDMA 850 band (US).
`QMI_DMS_BAND_CAPABILITY_WCDMA_800` | QWCDMA 850 band (Japan).
`QMI_DMS_BAND_CAPABILITY_BC_12` | Band class 12.
`QMI_DMS_BAND_CAPABILITY_BC_14` | Band class 14.
`QMI_DMS_BAND_CAPABILITY_BC_15` | Band class 15.
`QMI_DMS_BAND_CAPABILITY_WCDMA_2600` | WCDMA 2600 band (Europe).
`QMI_DMS_BAND_CAPABILITY_WCDMA_900` | WCDMA 900 band (Europe, Japan).
`QMI_DMS_BAND_CAPABILITY_WCDMA_1700_JAPAN` | WCDMA 1700 band (Japan).
`QMI_DMS_BAND_CAPABILITY_BC_16` | Band class 16.
`QMI_DMS_BAND_CAPABILITY_BC_17` | Band class 17.
`QMI_DMS_BAND_CAPABILITY_BC_18` | Band class 18.
`QMI_DMS_BAND_CAPABILITY_BC_19` | Band class 19.
`QMI_DMS_BAND_CAPABILITY_WCDMA_850_JAPAN` | WCDMA 850 band (Japan)
`QMI_DMS_BAND_CAPABILITY_WCDMA_1500` | WCDMA 1500 band.

### enum QmiDmsLteBandCapability

    typedef enum {
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_1  = 1 << 0,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_2  = 1 << 1,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_3  = 1 << 2,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_4  = 1 << 3,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_5  = 1 << 4,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_6  = 1 << 5,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_7  = 1 << 6,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_8  = 1 << 7,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_9  = 1 << 8,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_10 = 1 << 9,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_11 = 1 << 10,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_12 = 1 << 11,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_13 = 1 << 12,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_14 = 1 << 13,
        /* Bit 14-15 reserved */
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_17 = 1 << 16,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_18 = 1 << 17,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_19 = 1 << 18,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_20 = 1 << 19,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_21 = 1 << 20,
        /* Bit 21-22 reserved */
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_24 = 1 << 23,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_25 = 1 << 24,
        /* Bit 25-31 reserved */
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_33 = ((guint64) 1) << 32,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_34 = ((guint64) 1) << 33,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_35 = ((guint64) 1) << 34,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_36 = ((guint64) 1) << 35,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_37 = ((guint64) 1) << 36,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_38 = ((guint64) 1) << 37,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_39 = ((guint64) 1) << 38,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_40 = ((guint64) 1) << 39,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_41 = ((guint64) 1) << 40,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_42 = ((guint64) 1) << 41,
        QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_43 = ((guint64) 1) << 42
        /* Bit 43-64 reserved */
    } QmiDmsLteBandCapability;

LTE-specific Frequency bands.

`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_1` | LTE EUTRAN Band 1
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_2` | LTE EUTRAN Band 2.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_3` | LTE EUTRAN Band 3.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_4` | LTE EUTRAN Band 4.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_5` | LTE EUTRAN Band 5.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_6` | LTE EUTRAN Band 6.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_7` | LTE EUTRAN Band 7.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_8` | LTE EUTRAN Band 8.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_9` | LTE EUTRAN Band 9.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_10` | LTE EUTRAN Band 10.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_11` | LTE EUTRAN Band 11.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_12` | LTE EUTRAN Band 12.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_13` | LTE EUTRAN Band 13.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_14` | LTE EUTRAN Band 14.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_17` | LTE EUTRAN Band 17.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_18` | LTE EUTRAN Band 18.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_19` | LTE EUTRAN Band 19.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_20` | LTE EUTRAN Band 20.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_21` | LTE EUTRAN Band 21.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_24` | LTE EUTRAN Band 24.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_25` | LTE EUTRAN Band 25.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_33` | LTE EUTRAN Band 33.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_34` | LTE EUTRAN Band 34.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_35` | LTE EUTRAN Band 35.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_36` | LTE EUTRAN Band 36.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_37` | LTE EUTRAN Band 37.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_38` | LTE EUTRAN Band 38.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_39` | LTE EUTRAN Band 39.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_40` | LTE EUTRAN Band 40.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_41` | LTE EUTRAN Band 41.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_42` | LTE EUTRAN Band 42.
`QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_43` | LTE EUTRAN Band 43.

### enum QmiDmsRadioInterface

    typedef enum {
        QMI_DMS_RADIO_INTERFACE_CDMA20001X = 1,
        QMI_DMS_RADIO_INTERFACE_EVDO       = 2,
        QMI_DMS_RADIO_INTERFACE_GSM        = 4,
        QMI_DMS_RADIO_INTERFACE_UMTS       = 5,
        QMI_DMS_RADIO_INTERFACE_LTE        = 8
    } QmiDmsRadioInterface;

Radio interface type.

`QMI_DMS_RADIO_INTERFACE_CDMA20001X` | CDMA2000 1x.
`QMI_DMS_RADIO_INTERFACE_EVDO` | CDMA2000 HRPD (1xEV-DO)
`QMI_DMS_RADIO_INTERFACE_GSM` | GSM.
`QMI_DMS_RADIO_INTERFACE_UMTS` | UMTS.
`QMI_DMS_RADIO_INTERFACE_LTE` | LTE.

### enum QmiDmsPowerState

    typedef enum {
        QMI_DMS_POWER_STATE_EXTERNAL_SOURCE   = 1 << 0,
        QMI_DMS_POWER_STATE_BATTERY_CONNECTED = 1 << 1,
        QMI_DMS_POWER_STATE_BATTERY_CHARGING  = 1 << 2,
        QMI_DMS_POWER_STATE_FAULT             = 1 << 3,
    } QmiDmsPowerState;

Flags specifying the current power state.

If `QMI_DMS_POWER_STATE_EXTERNAL_SOURCE` is set, the device is powerered by an external source; otherwise it is powered by a battery.

If `QMI_DMS_POWER_STATE_BATTERY_CONNECTED` is set, the battery is connected; otherwise the battery is not connected.

If `QMI_DMS_POWER_STATE_BATTERY_CHARGING` is set, the battery is being charged; otherwise the battery is not being charged.

If `QMI_DMS_POWER_STATE_FAULT` is set, a power fault has been detected.

`QMI_DMS_POWER_STATE_EXTERNAL_SOURCE` | Powered by an external source.
`QMI_DMS_POWER_STATE_BATTERY_CONNECTED` | Battery is connected.
`QMI_DMS_POWER_STATE_BATTERY_CHARGING` | Battery is currently being charged.
`QMI_DMS_POWER_STATE_FAULT` | Recognized power fault.

### enum QmiDmsUimPinId

    typedef enum {
        QMI_DMS_UIM_PIN_ID_PIN  = 1,
        QMI_DMS_UIM_PIN_ID_PIN2 = 2
    } QmiDmsUimPinId;

The PIN identifier.

`QMI_DMS_UIM_PIN_ID_PIN` | PIN.
`QMI_DMS_UIM_PIN_ID_PIN2` | PIN2.

### enum QmiDmsUimPinStatus

    typedef enum {
        QMI_DMS_UIM_PIN_STATUS_NOT_INITIALIZED      = 0,
        QMI_DMS_UIM_PIN_STATUS_ENABLED_NOT_VERIFIED = 1,
        QMI_DMS_UIM_PIN_STATUS_ENABLED_VERIFIED     = 2,
        QMI_DMS_UIM_PIN_STATUS_DISABLED             = 3,
        QMI_DMS_UIM_PIN_STATUS_BLOCKED              = 4,
        QMI_DMS_UIM_PIN_STATUS_PERMANENTLY_BLOCKED  = 5,
        QMI_DMS_UIM_PIN_STATUS_UNBLOCKED            = 6,
        QMI_DMS_UIM_PIN_STATUS_CHANGED              = 7,
    } QmiDmsUimPinStatus;

The PIN status.

`QMI_DMS_UIM_PIN_STATUS_NOT_INITIALIZED` | Not initialized.
`QMI_DMS_UIM_PIN_STATUS_ENABLED_NOT_VERIFIED` | Enabled, not verified.
`QMI_DMS_UIM_PIN_STATUS_ENABLED_VERIFIED` | Enabled, verified.
`QMI_DMS_UIM_PIN_STATUS_DISABLED` | Disabled.
`QMI_DMS_UIM_PIN_STATUS_BLOCKED` | Blocked.
`QMI_DMS_UIM_PIN_STATUS_PERMANENTLY_BLOCKED` | Permanently Blocked.
`QMI_DMS_UIM_PIN_STATUS_UNBLOCKED` | Unblocked.
`QMI_DMS_UIM_PIN_STATUS_CHANGED` | Changed.

### enum QmiDmsOperatingMode

    typedef enum {
        QMI_DMS_OPERATING_MODE_ONLINE                = 0,
        QMI_DMS_OPERATING_MODE_LOW_POWER             = 1,
        QMI_DMS_OPERATING_MODE_FACTORY_TEST          = 2,
        QMI_DMS_OPERATING_MODE_OFFLINE               = 3,
        QMI_DMS_OPERATING_MODE_RESET                 = 4,
        QMI_DMS_OPERATING_MODE_SHUTTING_DOWN         = 5,
        QMI_DMS_OPERATING_MODE_PERSISTENT_LOW_POWER  = 6,
        QMI_DMS_OPERATING_MODE_MODE_ONLY_LOW_POWER   = 7,
        QMI_DMS_OPERATING_MODE_UNKNOWN               = 0xFF
    } QmiDmsOperatingMode;

Operating mode of the device.

`QMI_DMS_OPERATING_MODE_ONLINE` | Device can acquire a system and make calls.
`QMI_DMS_OPERATING_MODE_LOW_POWER` | Device has temporarily disabled RF.
`QMI_DMS_OPERATING_MODE_FACTORY_TEST` | Special mode for manufacturer tests.
`QMI_DMS_OPERATING_MODE_OFFLINE` | Device has deactivated RF and is partially shutdown.
`QMI_DMS_OPERATING_MODE_RESET` | Device is in the process of power cycling.
`QMI_DMS_OPERATING_MODE_SHUTTING_DOWN` | Device is in the process of shutting down.
`QMI_DMS_OPERATING_MODE_PERSISTENT_LOW_POWER` | Device has disabled RF and state persists even after a reset.
`QMI_DMS_OPERATING_MODE_MODE_ONLY_LOW_POWER` | Mode-only Low Power.
`QMI_DMS_OPERATING_MODE_UNKNOWN` | Unknown.

### enum QmiDmsOfflineReason

    typedef enum {
        QMI_DMS_OFFLINE_REASON_HOST_IMAGE_MISCONFIGURATION = 1 << 0,
        QMI_DMS_OFFLINE_REASON_PRI_IMAGE_MISCONFIGURATION  = 1 << 1,
        QMI_DMS_OFFLINE_REASON_PRI_VERSION_INCOMPATIBLE    = 1 << 2,
        QMI_DMS_OFFLINE_REASON_DEVICE_MEMORY_FULL          = 1 << 3
    } QmiDmsOfflineReason;

Reasons for being in Offline (`QMI_DMS_OPERATING_MODE_OFFLINE`) state.

`QMI_DMS_OFFLINE_REASON_HOST_IMAGE_MISCONFIGURATION` | Host image misconfiguration.
`QMI_DMS_OFFLINE_REASON_PRI_IMAGE_MISCONFIGURATION` | PRI image misconfiguration.
`QMI_DMS_OFFLINE_REASON_PRI_VERSION_INCOMPATIBLE` | PRI version incompatible.
`QMI_DMS_OFFLINE_REASON_DEVICE_MEMORY_FULL` | Memory full, cannot copy PRI information.

### enum QmiDmsTimeSource

    typedef enum {
        QMI_DMS_TIME_SOURCE_DEVICE        = 0,
        QMI_DMS_TIME_SOURCE_CDMA_NETWORK  = 1,
        QMI_DMS_TIME_SOURCE_HDR_NETWORK   = 2,
    } QmiDmsTimeSource;

Source of the timestamp.

`QMI_DMS_TIME_SOURCE_DEVICE` | 32 kHz device clock.
`QMI_DMS_TIME_SOURCE_CDMA_NETWORK` | CDMA network.
`QMI_DMS_TIME_SOURCE_HDR_NETWORK` | HDR network.

### enum QmiDmsActivationState

    typedef enum {
        QMI_DMS_ACTIVATION_STATE_NOT_ACTIVATED       = 0x00,
        QMI_DMS_ACTIVATION_STATE_ACTIVATED           = 0x01,
        QMI_DMS_ACTIVATION_STATE_CONNECTING          = 0x02,
        QMI_DMS_ACTIVATION_STATE_CONNECTED           = 0x03,
        QMI_DMS_ACTIVATION_STATE_OTASP_AUTHENTICATED = 0x04,
        QMI_DMS_ACTIVATION_STATE_OTASP_NAM           = 0x05,
        QMI_DMS_ACTIVATION_STATE_OTASP_MDN           = 0x06,
        QMI_DMS_ACTIVATION_STATE_OTASP_IMSI          = 0x07,
        QMI_DMS_ACTIVATION_STATE_OTASP_PRL           = 0x08,
        QMI_DMS_ACTIVATION_STATE_OTASP_SPC           = 0x09,
        QMI_DMS_ACTIVATION_STATE_OTASP_COMMITED      = 0x0A
    } QmiDmsActivationState;

State of the service activation.

`QMI_DMS_ACTIVATION_STATE_NOT_ACTIVATED` | Service not activated.
`QMI_DMS_ACTIVATION_STATE_ACTIVATED` | Service is activated.
`QMI_DMS_ACTIVATION_STATE_CONNECTING` | Connection in progress for automatic activation.
`QMI_DMS_ACTIVATION_STATE_CONNECTED` | Connection connected for automatic activation.
`QMI_DMS_ACTIVATION_STATE_OTASP_AUTHENTICATED` | OTASP security authenticated.
`QMI_DMS_ACTIVATION_STATE_OTASP_NAM` | OTASP NAM downloaded.
`QMI_DMS_ACTIVATION_STATE_OTASP_MDN` | OTASP MDN downloaded.
`QMI_DMS_ACTIVATION_STATE_OTASP_IMSI` | OTASP IMSI downloaded.
`QMI_DMS_ACTIVATION_STATE_OTASP_PRL` | OTASP PRL downloaded.
`QMI_DMS_ACTIVATION_STATE_OTASP_SPC` | OTASP SPC downloaded.
`QMI_DMS_ACTIVATION_STATE_OTASP_COMMITED` | OTASP settings committed.

### enum QmiDmsUimFacility

    typedef enum {
        QMI_DMS_UIM_FACILITY_PN = 0,
        QMI_DMS_UIM_FACILITY_PU = 1,
        QMI_DMS_UIM_FACILITY_PP = 2,
        QMI_DMS_UIM_FACILITY_PC = 3,
        QMI_DMS_UIM_FACILITY_PF = 4
    } QmiDmsUimFacility;

UIM personalization facilities.

`QMI_DMS_UIM_FACILITY_PN` | Network personalization facility.
`QMI_DMS_UIM_FACILITY_PU` | Network subset personalization facility.
`QMI_DMS_UIM_FACILITY_PP` | Service provider facility.
`QMI_DMS_UIM_FACILITY_PC` | Corporate personalization facility.
`QMI_DMS_UIM_FACILITY_PF` | UIM personalization facility.

### enum QmiDmsUimFacilityState

    typedef enum {
        QMI_DMS_UIM_FACILITY_STATE_DEACTIVATED = 0,
        QMI_DMS_UIM_FACILITY_STATE_ACTIVATED   = 1,
        QMI_DMS_UIM_FACILITY_STATE_BLOCKED     = 2
    } QmiDmsUimFacilityState;

`QMI_DMS_UIM_FACILITY_STATE_DEACTIVATED` | Facility is deactivated.
`QMI_DMS_UIM_FACILITY_STATE_ACTIVATED` | Facility is activated.
`QMI_DMS_UIM_FACILITY_STATE_BLOCKED` | Facility is blocked.

### enum QmiDmsUimState

    typedef enum {
        QMI_DMS_UIM_STATE_INITIALIZATION_COMPLETED = 0x00,
        QMI_DMS_UIM_STATE_LOCKED_OR_FAILED         = 0x01,
        QMI_DMS_UIM_STATE_NOT_PRESENT              = 0x02,
        QMI_DMS_UIM_STATE_RESERVED                 = 0x03,
        QMI_DMS_UIM_STATE_UNKNOWN                  = 0xFF
    } QmiDmsUimState;

State of the UIM.

`QMI_DMS_UIM_STATE_INITIALIZATION_COMPLETED` | UIM initialization completed.
`QMI_DMS_UIM_STATE_LOCKED_OR_FAILED` | UIM is locked or failed.
`QMI_DMS_UIM_STATE_NOT_PRESENT` | No UIM in the device.
`QMI_DMS_UIM_STATE_RESERVED` | Reserved, unknown.
`QMI_DMS_UIM_STATE_UNKNOWN` | UIM state currently unavailable.

### enum QmiDmsTimeReferenceType

    typedef enum {
        QMI_DMS_TIME_REFERENCE_TYPE_USER = 0
    } QmiDmsTimeReferenceType;

Time reference type.

`QMI_DMS_TIME_REFERENCE_TYPE_USER` | User time.

### enum QmiDmsFirmwareImageType

    typedef enum {
        QMI_DMS_FIRMWARE_IMAGE_TYPE_MODEM = 0,
        QMI_DMS_FIRMWARE_IMAGE_TYPE_PRI   = 1
    } QmiDmsFirmwareImageType;

Type of firmware image.

`QMI_DMS_FIRMWARE_IMAGE_TYPE_MODEM` | Modem image.
`QMI_DMS_FIRMWARE_IMAGE_TYPE_PRI` | PRI image.

### qmi_dms_data_service_capability_get_string ()

    const gchar *       qmi_dms_data_service_capability_get_string
                                                            (QmiDmsDataServiceCapability val);

Gets the nickname string for the QmiDmsDataServiceCapability specified at `val`.

`val` : | a QmiDmsDataServiceCapability.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_sim_capability_get_string ()

    const gchar *       qmi_dms_sim_capability_get_string   (QmiDmsSimCapability val);

Gets the nickname string for the QmiDmsSimCapability specified at `val`.

`val` : | a QmiDmsSimCapability.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_band_capability_build_string_from_mask ()

    gchar *             qmi_dms_band_capability_build_string_from_mask
                                                            (QmiDmsBandCapability mask);

Builds a string containing a comma-separated list of nicknames for each QmiDmsBandCapability in `mask`.

`mask` : | bitmask of QmiDmsBandCapability values.
Returns : | a string with the list of nicknames, or `NULL` if none given. The returned value should be freed with `g_free()`. [transfer full]

### qmi_dms_lte_band_capability_build_string_from_mask ()

    gchar *             qmi_dms_lte_band_capability_build_string_from_mask
                                                            (QmiDmsLteBandCapability mask);

Builds a string containing a comma-separated list of nicknames for each QmiDmsLteBandCapability in `mask`.

`mask` : | bitmask of QmiDmsLteBandCapability values.
Returns : | a string with the list of nicknames, or `NULL` if none given. The returned value should be freed with `g_free()`. [transfer full]

### qmi_dms_radio_interface_get_string ()

    const gchar *       qmi_dms_radio_interface_get_string  (QmiDmsRadioInterface val);

Gets the nickname string for the QmiDmsRadioInterface specified at `val`.

`val` : | a QmiDmsRadioInterface.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_power_state_build_string_from_mask ()

    gchar *             qmi_dms_power_state_build_string_from_mask
                                                            (QmiDmsPowerState mask);

Builds a string containing a comma-separated list of nicknames for each QmiDmsPowerState in `mask`.

`mask` : | bitmask of QmiDmsPowerState values.
Returns : | a string with the list of nicknames, or `NULL` if none given. The returned value should be freed with `g_free()`. [transfer full]

### qmi_dms_uim_pin_id_get_string ()

    const gchar *       qmi_dms_uim_pin_id_get_string       (QmiDmsUimPinId val);

Gets the nickname string for the QmiDmsUimPinId specified at `val`.

`val` : | a QmiDmsUimPinId.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_uim_pin_status_get_string ()

    const gchar *       qmi_dms_uim_pin_status_get_string   (QmiDmsUimPinStatus val);

Gets the nickname string for the QmiDmsUimPinStatus specified at `val`.

`val` : | a QmiDmsUimPinStatus.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_operating_mode_get_string ()

    const gchar *       qmi_dms_operating_mode_get_string   (QmiDmsOperatingMode val);

Gets the nickname string for the QmiDmsOperatingMode specified at `val`.

`val` : | a QmiDmsOperatingMode.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_offline_reason_build_string_from_mask ()

    gchar *             qmi_dms_offline_reason_build_string_from_mask
                                                            (QmiDmsOfflineReason mask);

Builds a string containing a comma-separated list of nicknames for each QmiDmsOfflineReason in `mask`.

`mask` : | bitmask of QmiDmsOfflineReason values.
Returns : | a string with the list of nicknames, or `NULL` if none given. The returned value should be freed with `g_free()`. [transfer full]

### qmi_dms_time_source_get_string ()

    const gchar *       qmi_dms_time_source_get_string      (QmiDmsTimeSource val);

Gets the nickname string for the QmiDmsTimeSource specified at `val`.

`val` : | a QmiDmsTimeSource.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_activation_state_get_string ()

    const gchar *       qmi_dms_activation_state_get_string (QmiDmsActivationState val);

Gets the nickname string for the QmiDmsActivationState specified at `val`.

`val` : | a QmiDmsActivationState.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_uim_facility_get_string ()

    const gchar *       qmi_dms_uim_facility_get_string     (QmiDmsUimFacility val);

Gets the nickname string for the QmiDmsUimFacility specified at `val`.

`val` : | a QmiDmsUimFacility.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_uim_facility_state_get_string ()

    const gchar *       qmi_dms_uim_facility_state_get_string
                                                            (QmiDmsUimFacilityState val);

Gets the nickname string for the QmiDmsUimFacilityState specified at `val`.

`val` : | a QmiDmsUimFacilityState.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_uim_state_get_string ()

    const gchar *       qmi_dms_uim_state_get_string        (QmiDmsUimState val);

Gets the nickname string for the QmiDmsUimState specified at `val`.

`val` : | a QmiDmsUimState.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_time_reference_type_get_string ()

    const gchar *       qmi_dms_time_reference_type_get_string
                                                            (QmiDmsTimeReferenceType val);

Gets the nickname string for the QmiDmsTimeReferenceType specified at `val`.

`val` : | a QmiDmsTimeReferenceType.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]

### qmi_dms_firmware_image_type_get_string ()

    const gchar *       qmi_dms_firmware_image_type_get_string
                                                            (QmiDmsFirmwareImageType val);

Gets the nickname string for the QmiDmsFirmwareImageType specified at `val`.

`val` : | a QmiDmsFirmwareImageType.
Returns : | a string with the nickname, or `NULL` if not found. Do not free the returned value. [transfer none]