GAS enumerations and flags

GAS enumerations and flags — Enumerations and flags in the GAS service.

Functions

Types and Values

Object Hierarchy

    GEnum
    ├── QmiGasFirmwareListingMode
    ╰── QmiGasUsbCompositionEndpointType

Description

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

Functions

qmi_gas_firmware_listing_mode_get_string ()

const gchar *
qmi_gas_firmware_listing_mode_get_string
                               (QmiGasFirmwareListingMode val);

Gets the nickname string for the QmiGasFirmwareListingMode specified at val .

Parameters

val

a QmiGasFirmwareListingMode.

 

Returns

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

[transfer none]

Since: 1.24


qmi_gas_usb_composition_endpoint_type_get_string ()

const gchar *
qmi_gas_usb_composition_endpoint_type_get_string
                               (QmiGasUsbCompositionEndpointType val);

Gets the nickname string for the QmiGasUsbCompositionEndpointType specified at val .

Parameters

val

a QmiGasUsbCompositionEndpointType.

 

Returns

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

[transfer none]

Since: 1.32

Types and Values

enum QmiGasFirmwareListingMode

Mode when retrieving a list of stored firmwares.

Members

QMI_GAS_FIRMWARE_LISTING_MODE_ACTIVE_FIRMWARE

List only the active firmware.

 

QMI_GAS_FIRMWARE_LISTING_MODE_ALL_FIRMWARE

List all stored firmwares.

 

QMI_GAS_FIRMWARE_LISTING_MODE_SPECIFIC_FIRMWARE

List only specific firmware with condition.

 

Since: 1.24


enum QmiGasUsbCompositionEndpointType

Peripheral endpoint type.

Members

QMI_GAS_USB_COMPOSITION_ENDPOINT_TYPE_HSUSB

High-speed USB.

 

QMI_GAS_USB_COMPOSITION_ENDPOINT_TYPE_HSIC

High-speed inter-chip interface.

 

Since: 1.32