DSD enumerations and flags: libqmi-glib Reference Manual

## DSD enumerations and flags DSD enumerations and flags — Enumerations and flags in the DSD service. |

## Functions

const gchar * | qmi_dsd_apn_type_get_string ()
gchar * | qmi_dsd_apn_type_preference_build_string_from_mask ()
const gchar * | qmi_dsd_data_system_network_type_get_string ()
const gchar * | qmi_dsd_radio_access_technology_get_string ()
gchar * | qmi_dsd_so_mask_build_string_from_mask ()

## Types and Values

enum | QmiDsdApnType
enum | QmiDsdApnTypePreference
enum | QmiDsdDataSystemNetworkType
enum | QmiDsdRadioAccessTechnology
enum | QmiDsdSoMask

## Object Hierarchy

        GEnum
        ├── QmiDsdApnType
        ├── QmiDsdDataSystemNetworkType
        ╰── QmiDsdRadioAccessTechnology

## Description

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

## Functions

### qmi_dsd_apn_type_get_string ()

    const gchar *
    qmi_dsd_apn_type_get_string (QmiDsdApnType val);

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

#### Parameters

val | a QmiDsdApnType. |

#### Returns

a string with the nickname, or `NULL` if not found. Do not free the returned value.

[transfer none]

Since: 1.26

### qmi_dsd_apn_type_preference_build_string_from_mask ()

    gchar *
    qmi_dsd_apn_type_preference_build_string_from_mask
                                   (QmiDsdApnTypePreference mask);

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

#### Parameters

mask | bitmask of QmiDsdApnTypePreference 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]

Since: 1.26

### qmi_dsd_data_system_network_type_get_string ()

    const gchar *
    qmi_dsd_data_system_network_type_get_string
                                   (QmiDsdDataSystemNetworkType val);

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

#### Parameters

val | a QmiDsdDataSystemNetworkType. |

#### Returns

a string with the nickname, or `NULL` if not found. Do not free the returned value.

[transfer none]

Since: 1.32

### qmi_dsd_radio_access_technology_get_string ()

    const gchar *
    qmi_dsd_radio_access_technology_get_string
                                   (QmiDsdRadioAccessTechnology val);

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

#### Parameters

val | a QmiDsdRadioAccessTechnology. |

#### Returns

a string with the nickname, or `NULL` if not found. Do not free the returned value.

[transfer none]

Since: 1.32

### qmi_dsd_so_mask_build_string_from_mask ()

    gchar *
    qmi_dsd_so_mask_build_string_from_mask
                                   (QmiDsdSoMask mask);

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

#### Parameters

mask | bitmask of QmiDsdSoMask 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]

Since: 1.32

## Types and Values

### enum QmiDsdApnType

APN type.

#### Members

QMI_DSD_APN_TYPE_DEFAULT | Default/Internet traffic. |
QMI_DSD_APN_TYPE_IMS | IMS. |
QMI_DSD_APN_TYPE_MMS | Multimedia Messaging Service. |
QMI_DSD_APN_TYPE_DUN | Dial Up Network. |
QMI_DSD_APN_TYPE_SUPL | Secure User Plane Location. |
QMI_DSD_APN_TYPE_HIPRI | High Priority Mobile Data. |
QMI_DSD_APN_TYPE_FOTA | over the air administration. |
QMI_DSD_APN_TYPE_CBS | Carrier Branded Services. |
QMI_DSD_APN_TYPE_IA | Initial Attach. |
QMI_DSD_APN_TYPE_EMERGENCY | Emergency. |

Since: 1.26

### enum QmiDsdApnTypePreference

APN type preference as a bitmask.

#### Members

QMI_DSD_APN_TYPE_PREFERENCE_DEFAULT | Default/Internet traffic. |
QMI_DSD_APN_TYPE_PREFERENCE_IMS | IMS. |
QMI_DSD_APN_TYPE_PREFERENCE_MMS | Multimedia Messaging Service. |
QMI_DSD_APN_TYPE_PREFERENCE_DUN | Dial Up Network. |
QMI_DSD_APN_TYPE_PREFERENCE_SUPL | Secure User Plane Location. |
QMI_DSD_APN_TYPE_PREFERENCE_HIPRI | High Priority Mobile Data. |
QMI_DSD_APN_TYPE_PREFERENCE_FOTA | over the air administration. |
QMI_DSD_APN_TYPE_PREFERENCE_CBS | Carrier Branded Services. |
QMI_DSD_APN_TYPE_PREFERENCE_IA | Initial Attach. |
QMI_DSD_APN_TYPE_PREFERENCE_EMERGENCY | Emergency. |

Since: 1.26

### enum QmiDsdDataSystemNetworkType

Network type of the data system.

#### Members

QMI_DSD_DATA_SYSTEM_NETWORK_TYPE_3GPP | 3GPP network type. |
QMI_DSD_DATA_SYSTEM_NETWORK_TYPE_3GPP2 | 3GPP2 network type. |
QMI_DSD_DATA_SYSTEM_NETWORK_TYPE_WLAN | WLAN network type. |

Since: 1.32

### enum QmiDsdRadioAccessTechnology

Radio access technology.

#### Members

QMI_DSD_RADIO_ACCESS_TECHNOLOGY_UNKNOWN | Unknown. |
QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_WCDMA | WCDMA. |
QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_GERAN | GERAN. |
QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_LTE | LTE. |
QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_TDSCDMA | TD-SDCMA. |
QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_WLAN | 3GPP WLAN. |
QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP_5G | 5G. |
QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_1X | CDMA 1x. |
QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_HRPD | CDMA EVDO, HRPD. |
QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_EHRPD | CDMA EVDO with eHRPD. |
QMI_DSD_RADIO_ACCESS_TECHNOLOGY_3GPP2_WLAN | 3GPP2 WLAN. |

Since: 1.32

### enum QmiDsdSoMask

Service Option (SO) mask.

#### Members

QMI_DSD_3GPP_SO_MASK_WCDMA | WCDMA. |
QMI_DSD_3GPP_SO_MASK_HSDPA | HSDPA. |
QMI_DSD_3GPP_SO_MASK_HSUPA | HSUPA. |
QMI_DSD_3GPP_SO_MASK_HSDPAPLUS | HSDPAPLUS. |
QMI_DSD_3GPP_SO_MASK_DC_HSDPAPLUS | DC HSDPAPLUS. |
QMI_DSD_3GPP_SO_MASK_64_QAM | 64 QAM. |
QMI_DSD_3GPP_SO_MASK_HSPA | HSPA. |
QMI_DSD_3GPP_SO_MASK_GPRS | GPRS. |
QMI_DSD_3GPP_SO_MASK_EDGE | EDGE. |
QMI_DSD_3GPP_SO_MASK_GSM | GSM. |
QMI_DSD_3GPP_SO_MASK_S2B | S2B. |
QMI_DSD_3GPP_SO_MASK_LTE_LIMITED_SRVC | LTE Limited Service. |
QMI_DSD_3GPP_SO_MASK_LTE_FDD | LTE FDD. |
QMI_DSD_3GPP_SO_MASK_LTE_TDD | LTE TDD. |
QMI_DSD_3GPP_SO_MASK_TDSCDMA | TDSCDMA. |
QMI_DSD_3GPP_SO_MASK_DC_HSUPA | DC_HSUPA. |
QMI_DSD_3GPP_SO_MASK_LTE_CA_DL | LTE CA DL. |
QMI_DSD_3GPP_SO_MASK_LTE_CA_UL | LTE CA UL. |
QMI_DSD_3GPP_SO_MASK_S2B_LIMITED_SRVC | S2B Limited Service. |
QMI_DSD_3GPP_SO_MASK_FOUR_POINT_FIVE_G | 4.5G. |
QMI_DSD_3GPP_SO_MASK_FOUR_POINT_FIVE_G_PLUS | 4.5G+. |
QMI_DSD_3GPP2_SO_MASK_1X_IS95 | 1X IS95. |
QMI_DSD_3GPP2_SO_MASK_1X_IS2000 | 1X IS2000. |
QMI_DSD_3GPP2_SO_MASK_1X_IS2000_REL_A | 1X IS2000 REL A. |
QMI_DSD_3GPP2_SO_MASK_HDR_REV0_DPA | HDR REV0 DPA. |
QMI_DSD_3GPP2_SO_MASK_HDR_REVA_DPA | HDR REVB DPA. |
QMI_DSD_3GPP2_SO_MASK_HDR_REVB_DPA | HDR REVB DPA. |
QMI_DSD_3GPP2_SO_MASK_HDR_REVA_MPA | HDR REVA MPA. |
QMI_DSD_3GPP2_SO_MASK_HDR_REVB_MPA | HDR REVB MPA. |
QMI_DSD_3GPP2_SO_MASK_HDR_REVA_EMPA | HDR REVA EMPA. |
QMI_DSD_3GPP2_SO_MASK_HDR_REVB_EMPA | HDR REVB EMPA. |
QMI_DSD_3GPP2_SO_MASK_HDR_REVB_MMPA | HDR REVB MMPA. |
QMI_DSD_3GPP2_SO_MASK_HDR_EVDO_FMC | HDR EVDO FMC. |
QMI_DSD_3GPP2_SO_MASK_1X_CS | 1X Circuit Switched. |
QMI_DSD_3GPP_SO_MASK_5G_TDD | 5G TDD. |
QMI_DSD_3GPP_SO_MASK_5G_SUB6 | 5G SUB6. |
QMI_DSD_3GPP_SO_MASK_5G_MMWAVE | 5G MMWAVE. |
QMI_DSD_3GPP_SO_MASK_5G_NSA | 5G NSA. |
QMI_DSD_3GPP_SO_MASK_5G_SA | 5G SA. |

Since: 1.32