## Common enumerations and flags Common enumerations and flags |

## Synopsis

    enum                QmiService;

    const gchar *       qmi_service_get_string              (QmiService val);

## Object Hierarchy

      GEnum
       +----QmiService

## Description

This section defines common enumerations and flags used in the interface.

## Details

### enum QmiService

    typedef enum {
        /* Unknown service */
        QMI_SERVICE_UNKNOWN = -1,
        /* Control service */
        QMI_SERVICE_CTL = 0x00,
        /* Wireless Data Service */
        QMI_SERVICE_WDS = 0x01,
        /* Device Management Service */
        QMI_SERVICE_DMS = 0x02,
        /* Network Access Service */
        QMI_SERVICE_NAS = 0x03,
        /* Quality Of Service service */
        QMI_SERVICE_QOS = 0x04,
        /* Wireless Messaging Service */
        QMI_SERVICE_WMS = 0x05,
        /* Position Determination Service */
        QMI_SERVICE_PDS = 0x06,
        /* Authentication service */
        QMI_SERVICE_AUTH = 0x07,
        /* AT service */
        QMI_SERVICE_AT = 0x08,
        /* Voice service */
        QMI_SERVICE_VOICE = 0x09,
        /* Card Application Toolkit service (major version 2) */
        QMI_SERVICE_CAT2 = 0x0A,
        /* User Identity Module service */
        QMI_SERVICE_UIM = 0x0B,
        /* Phonebook Management service */
        QMI_SERVICE_PBM = 0x0C,
        /* Location service (~ PDS major version 2) */
        QMI_SERVICE_LOC = 0x10,
        /* No idea what this one means.. Search And Rescue? */
        QMI_SERVICE_SAR = 0x11,
        /* Remote Filesystem service */
        QMI_SERVICE_RMTFS = 0x14,
        /* Card Application Toolkit service */
        QMI_SERVICE_CAT = 0xE0,
        /* Remote Management Service */
        QMI_SERVICE_RMS = 0xE1,
        /* Open Mobile Alliance device management service */
        QMI_SERVICE_OMA = 0xE2
    } QmiService;

QMI services.

`QMI_SERVICE_UNKNOWN` | Unknown service.
`QMI_SERVICE_CTL` | Control service.
`QMI_SERVICE_WDS` | Wireless Data Service.
`QMI_SERVICE_DMS` | Device Management Service.
`QMI_SERVICE_NAS` | Network Access Service.
`QMI_SERVICE_QOS` | Quality Of Service service.
`QMI_SERVICE_WMS` | Wireless Messaging Service.
`QMI_SERVICE_PDS` | Position Determination Service.
`QMI_SERVICE_AUTH` | Authentication service.
`QMI_SERVICE_AT` | AT service.
`QMI_SERVICE_VOICE` | Voice service.
`QMI_SERVICE_CAT2` | Card Application Toolkit service (v2).
`QMI_SERVICE_UIM` | User Identity Module service.
`QMI_SERVICE_PBM` | Phonebook Management service.
`QMI_SERVICE_LOC` | Location service (~ PDS v2).
`QMI_SERVICE_SAR` | SAR.
`QMI_SERVICE_RMTFS` | Remote Filesystem service.
`QMI_SERVICE_CAT` | Card Application Toolkit service (v1).
`QMI_SERVICE_RMS` | Remote Management Service.
`QMI_SERVICE_OMA` | Open Mobile Alliance device management service.

### qmi_service_get_string ()

    const gchar *       qmi_service_get_string              (QmiService val);

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

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