Common enumerations and flags

Common enumerations and flags — Common enumerations and flags in the library.

Functions

Types and Values

Object Hierarchy

    GEnum
    ├── QmiDataEndpointType
    ├── QmiEndian
    ├── QmiService
    ╰── QmiSioPort

Description

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

Functions

qmi_service_get_string ()

const gchar *
qmi_service_get_string (QmiService val);

Gets the nickname string for the QmiService specified at val .

Parameters

val

a QmiService.

 

Returns

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

[transfer none]

Since: 1.0


qmi_endian_get_string ()

const gchar *
qmi_endian_get_string (QmiEndian val);

Gets the nickname string for the QmiEndian specified at val .

Parameters

val

a QmiEndian.

 

Returns

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

[transfer none]

Since: 1.28


qmi_data_endpoint_type_get_string ()

const gchar *
qmi_data_endpoint_type_get_string (QmiDataEndpointType val);

Gets the nickname string for the QmiDataEndpointType specified at val .

Parameters

val

a QmiDataEndpointType.

 

Returns

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

[transfer none]

Since: 1.18


qmi_sio_port_get_string ()

const gchar *
qmi_sio_port_get_string (QmiSioPort val);

Gets the nickname string for the QmiSioPort specified at val .

Parameters

val

a QmiSioPort.

 

Returns

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

[transfer none]

Since: 1.28

Types and Values

enum QmiService

QMI services.

Members

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_QCHAT

QCHAT service. Since: 1.8.

 

QMI_SERVICE_RMTFS

Remote file system service.

 

QMI_SERVICE_TEST

Test service. Since: 1.8.

 

QMI_SERVICE_LOC

Location service (~ PDS v2).

 

QMI_SERVICE_SAR

Specific absorption rate service.

 

QMI_SERVICE_IMS

IMS settings service. Since: 1.8.

 

QMI_SERVICE_ADC

Analog to digital converter driver service. Since: 1.8.

 

QMI_SERVICE_CSD

Core sound driver service. Since: 1.8.

 

QMI_SERVICE_MFS

Modem embedded file system service. Since: 1.8.

 

QMI_SERVICE_TIME

Time service. Since: 1.8.

 

QMI_SERVICE_TS

Thermal sensors service. Since: 1.8.

 

QMI_SERVICE_TMD

Thermal mitigation device service. Since: 1.8.

 

QMI_SERVICE_SAP

Service access proxy service. Since: 1.8.

 

QMI_SERVICE_WDA

Wireless data administrative service. Since: 1.8.

 

QMI_SERVICE_TSYNC

TSYNC control service. Since: 1.8.

 

QMI_SERVICE_RFSA

Remote file system access service. Since: 1.8.

 

QMI_SERVICE_CSVT

Circuit switched videotelephony service. Since: 1.8.

 

QMI_SERVICE_QCMAP

Qualcomm mobile access point service. Since: 1.8.

 

QMI_SERVICE_IMSP

IMS presence service. Since: 1.8.

 

QMI_SERVICE_IMSVT

IMS videotelephony service. Since: 1.8.

 

QMI_SERVICE_IMSA

IMS application service. Since: 1.8.

 

QMI_SERVICE_COEX

Coexistence service. Since: 1.8.

 

QMI_SERVICE_PDC

Persistent device configuration service. Since: 1.8.

 

QMI_SERVICE_STX

Simultaneous transmit service. Since: 1.8.

 

QMI_SERVICE_BIT

Bearer independent transport service. Since: 1.8.

 

QMI_SERVICE_IMSRTP

IMS RTP service. Since: 1.8.

 

QMI_SERVICE_RFRPE

RF radiated performance enhancement service. Since: 1.8.

 

QMI_SERVICE_DSD

Data system determination service. Since: 1.8.

 

QMI_SERVICE_SSCTL

Subsystem control service. Since: 1.8.

 

QMI_SERVICE_DPM

Data Port Mapper service. Since: 1.30.

 

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_FOX

Foxconn General Modem Service. Since: 1.32.

 

QMI_SERVICE_FOTA

Firmware Over The Air service. Since: 1.24.

 

QMI_SERVICE_GMS

Telit General Modem Service. Since: 1.24.

 

QMI_SERVICE_GAS

Telit General Application Service. Since: 1.24.

 

QMI_SERVICE_ATR

Telit AT Relay Service. Since: 1.34.

 

QMI_SERVICE_SSC

Snapdragon Sensore Core Service. Since: 1.34.

 

Since: 1.0


enum QmiEndian

Type of endianness.

Members

QMI_ENDIAN_LITTLE

Little endian.

 

QMI_ENDIAN_BIG

Big endian.

 

Since: 1.0


enum QmiDataEndpointType

Data Endpoint Type.

Members

QMI_DATA_ENDPOINT_TYPE_UNKNOWN

Unknown. Since 1.30.

 

QMI_DATA_ENDPOINT_TYPE_HSIC

High-speed inter-chip interface. Since 1.30.

 

QMI_DATA_ENDPOINT_TYPE_HSUSB

High-speed USB.

 

QMI_DATA_ENDPOINT_TYPE_PCIE

PCIe. Since: 1.28.

 

QMI_DATA_ENDPOINT_TYPE_EMBEDDED

Embedded. Since 1.28.

 

QMI_DATA_ENDPOINT_TYPE_BAM_DMUX

BAM/DMUX. Since 1.30.

 

QMI_DATA_ENDPOINT_TYPE_UNDEFINED

Undefined.

 

Since: 1.18


enum QmiSioPort

SIO (serial I/O) port numbers. All ports available in the modem have a SIO port number. This enum is incomplete, only few port numbers are publicly known.

Members

QMI_SIO_PORT_NONE

Invalid port number.

 

QMI_SIO_PORT_A2_MUX_RMNET0

A2 MUX (BAM-DMUX) port for rmnet0.

 

QMI_SIO_PORT_A2_MUX_RMNET1

A2 MUX (BAM-DMUX) port for rmnet1.

 

QMI_SIO_PORT_A2_MUX_RMNET2

A2 MUX (BAM-DMUX) port for rmnet2.

 

QMI_SIO_PORT_A2_MUX_RMNET3

A2 MUX (BAM-DMUX) port for rmnet3.

 

QMI_SIO_PORT_A2_MUX_RMNET4

A2 MUX (BAM-DMUX) port for rmnet4.

 

QMI_SIO_PORT_A2_MUX_RMNET5

A2 MUX (BAM-DMUX) port for rmnet5.

 

QMI_SIO_PORT_A2_MUX_RMNET6

A2 MUX (BAM-DMUX) port for rmnet6.

 

QMI_SIO_PORT_A2_MUX_RMNET7

A2 MUX (BAM-DMUX) port for rmnet7.

 

Since: 1.28