Constants

Details

Qmi.CID_BROADCAST = 255

A symbol specifying the broadcast CID.

New in version 1.0.

Qmi.CID_NONE = 0

A symbol specifying a special CID value that references no CID.

New in version 1.0.

Qmi.CLIENT_CID = 'client-cid'

Symbol defining the Qmi.Client :client-cid property.

New in version 1.0.

Qmi.CLIENT_DEVICE = 'client-device'

Symbol defining the Qmi.Client :client-device property.

New in version 1.0.

Qmi.CLIENT_SERVICE = 'client-service'

Symbol defining the Qmi.Client :client-service property.

New in version 1.0.

Qmi.CLIENT_VALID = 'client-valid'

Symbol defining the Qmi.Client :client-valid property.

New in version 1.20.

Qmi.CLIENT_VERSION_MAJOR = 'client-version-major'

Symbol defining the Qmi.Client :client-version-major property.

New in version 1.0.

Qmi.CLIENT_VERSION_MINOR = 'client-version-minor'

Symbol defining the Qmi.Client :client-version-minor property.

New in version 1.0.

Qmi.DBUS_ERROR_PREFIX = 'org.freedesktop.libqmi.Error'

Symbol defining the common string prefix used for all libqmi errors in DBus.

New in version 1.0.

Qmi.DEVICE_FILE = 'device-file'

Symbol defining the Qmi.Device :device-file property.

New in version 1.0.

Qmi.DEVICE_NODE = 'device-node'
Qmi.DEVICE_NO_FILE_CHECK = 'device-no-file-check'

Symbol defining the Qmi.Device :device-no-file-check property.

New in version 1.12.

Qmi.DEVICE_PROXY_PATH = 'device-proxy-path'

Symbol defining the Qmi.Device :device-proxy-path property.

New in version 1.12.

Qmi.DEVICE_SIGNAL_INDICATION = 'indication'

Symbol defining the Qmi.Device ::indication signal.

New in version 1.8.

Qmi.DEVICE_SIGNAL_REMOVED = 'device-removed'
Qmi.DEVICE_WWAN_IFACE = 'device-wwan-iface'

Symbol defining the Qmi.Device :device-wwan-iface property.

New in version 1.14.

Qmi.MAJOR_VERSION = 1

Evaluates to the major version number of libqmi-glib which this source is compiled against.

New in version 1.6.

Qmi.MBIM_QMUX_SUPPORTED = 1

Symbol to expose wether QMI over MBIM is supported. The symbol is always defined and set to either or 1 or 0.

E.g.:

#if QMI_MBIM_QMUX_SUPPORTED
    // do something
#endif

New in version 1.16.

Qmi.MESSAGE_QMUX_MARKER = 1

First byte of every QMI message.

New in version 1.0.

Qmi.MESSAGE_VENDOR_GENERIC = 0

Generic vendor id (0x0000).

New in version 1.18.

Qmi.MICRO_VERSION = 0

Evaluates to the micro version number of libqmi-glib which this source compiled against.

New in version 1.6.

Qmi.MINOR_VERSION = 26

Evaluates to the minor version number of libqmi-glib which this source is compiled against.

New in version 1.6.

Qmi.PROXY_N_CLIENTS = 'qmi-proxy-n-clients'

Symbol defining the Qmi.Proxy :qmi-proxy-n-clients property.

New in version 1.8.

Qmi.PROXY_SOCKET_PATH = 'qmi-proxy'

Symbol defining the default abstract socket name where the Qmi.Proxy will listen.

New in version 1.8.

Qmi.QRTR_SUPPORTED = 0

Symbol to expose wether QMI over QRTR is supported. The symbol is always defined and set to either or 1 or 0.

E.g.:

#if QMI_QRTR_SUPPORTED
    // do something
#endif

New in version 1.26.

Qmi.WDS_RATE_UNAVAILABLE = -1

The TX/RX rate information is unavailable or cannot be measured.

New in version 1.22.4.