Flags

Details

class Mbim.CellularClass(value)

Bases: GObject.GFlags

Cellular class.

New in version 1.0.

NONE = 0

None.

New in version 1.30.

GSM = 1

Device is 3GPP.

CDMA = 2

Device is 3GPP2.

class Mbim.CtrlCaps(value)

Bases: GObject.GFlags

Control capabilities.

New in version 1.0.

NONE = 0

None.

New in version 1.28.

REG_MANUAL = 1

Device allows manual network selection.

SIM_HOT_SWAP_CAPABLE = 128

Device supports SIM hot-swap (MS MBIMEx v3.0).

New in version 1.28.

MULTI_CARRIER = 16

Device can work with multiple providers.

HW_RADIO_SWITCH = 2

Device has a hardware radio power switch.

ESIM = 32

Device supports eSIM (MS MBIMEx v3.0).

New in version 1.28.

CDMA_MOBILE_IP = 4

The CDMA function supports Mobile IP.

UE_POLICY_ROUTE_SELECTION = 64

Device supports including the route selection descriptors as part of the UE policies (MS MBIMEx v3.0).

New in version 1.28.

CDMA_SIMPLE_IP = 8

The CDMA function supports Simple IP.

class Mbim.DataClass(value)

Bases: GObject.GFlags

Data class.

Both 5G related values are introduced in MBIM Extension v2.0, but given the update is compatible with the original MBIM enumeration, devices may report them without having enabled MBIM Extension v2.0 support.

This type is updated in MBIM Extension v3.0 in a non-backwards compatible way, see Mbim.DataClassV3.

New in version 1.0.

CUSTOM = -2147483648

Custom.

NONE = 0

None.

New in version 1.30.

GPRS = 1

GPRS.

3XRTT = 1048576
_3XRTT = 1048576

3xRTT.

5G_SA = 128
_5G_SA = 128

5G SA (MS MBIMEx v2.0).

New in version 1.28.

1XEVDO = 131072
_1XEVDO = 131072

1xEV-DO.

HSUPA = 16

HSUPA.

EDGE = 2

EDGE.

1XEVDO_REVB = 2097152
_1XEVDO_REVB = 2097152

1xEV-DO RevB.

1XEVDO_REVA = 262144
_1XEVDO_REVA = 262144

1xEV-DO RevA

LTE = 32

LTE.

UMTS = 4

UMTS.

UMB = 4194304

UMB.

1XEVDV = 524288
_1XEVDV = 524288

1xEV-DV.

5G_NSA = 64
_5G_NSA = 64

5G NSA (MS MBIMEx v2.0).

New in version 1.28.

1XRTT = 65536
_1XRTT = 65536

1xRTT.

HSDPA = 8

HSDPA.

class Mbim.DataClassV3(value)

Bases: GObject.GFlags

Data class update in MBIMEx v3.0.

There is now a single flag for 5G, and the new Mbim.DataSubclass helps to identify the specific 5G setup.

This type should be considered incompatible with Mbim.DataClass.

New in version 1.28.

CUSTOM = -2147483648

Custom.

NONE = 0

None.

New in version 1.30.

GPRS = 1

GPRS.

3XRTT = 1048576
_3XRTT = 1048576

3xRTT.

1XEVDO = 131072
_1XEVDO = 131072

1xEV-DO.

HSUPA = 16

HSUPA.

EDGE = 2

EDGE.

1XEVDO_REVB = 2097152
_1XEVDO_REVB = 2097152

1xEV-DO RevB.

1XEVDO_REVA = 262144
_1XEVDO_REVA = 262144

1xEV-DO RevA

LTE = 32

LTE.

UMTS = 4

UMTS.

UMB = 4194304

UMB.

1XEVDV = 524288
_1XEVDV = 524288

1xEV-DV.

5G = 64
_5G = 64

5G.

1XRTT = 65536
_1XRTT = 65536

1xRTT.

HSDPA = 8

HSDPA.

class Mbim.DataSubclass(value)

Bases: GObject.GFlags

Flags specifying the data subclass.

New in version 1.28.

NONE = 0

No data subclass.

5G_ENDC = 1
_5G_ENDC = 1

EUTRAN and NR dual connectivity as in 5G option 3.

5G_NGENDC = 16
_5G_NGENDC = 16

Next-gen eLTE and NR dual connectivity as in 5G option 7.

5G_NR = 2
_5G_NR = 2

Standalone NR as in 5G option 2.

5G_NEDC = 4
_5G_NEDC = 4

NR and EUTRAN dual connectivity as in 5G option 4.

5G_ELTE = 8
_5G_ELTE = 8

eLTE as in 5G option 5.

class Mbim.DeviceOpenFlags(value)

Bases: GLib.Flags

Flags to specify which actions to be performed when the device is open.

New in version 1.10.

NONE = 0

None.

PROXY = 1

Try to open the port through the ‘mbim-proxy’.

MS_MBIMEX_V2 = 2

Try to enable MS MBIMEx 2.0 support.

New in version 1.28.

MS_MBIMEX_V3 = 4

Try to enable MS MBIMEx 3.0 support.

New in version 1.28.

class Mbim.FrequencyRange(value)

Bases: GObject.GFlags

Frequency Range.

New in version 1.28.

UNKNOWN = 0

Unknown.

1 = 1
_1 = 1

Frequency range 1 (FR1) in 3GPP TS 38.101-1 (Sub-6G).

2 = 2
_2 = 2

FR2 in 3GPP TS 38.101-2 (mmWave).

class Mbim.IPConfigurationAvailableFlag(value)

Bases: GObject.GFlags

Mask of available information about an IP address.

New in version 1.0.

NONE = 0

No info available.

ADDRESS = 1

Address info available.

GATEWAY = 2

Gateway info available.

DNS = 4

DNS info available.

MTU = 8

MTU info available.

class Mbim.ProviderState(value)

Bases: GObject.GFlags

State of the provider.

New in version 1.2.

UNKNOWN = 0

Unknown.

HOME = 1

Home operator.

REGISTERED = 16

Currently registered to the provider.

FORBIDDEN = 2

Provider blocked.

PREFERRED_MULTICARRIER = 32

Provider is a preferred multicarrier network.

PREFERRED = 4

Provider is in the preferred list.

VISIBLE = 8

Provider is visible.

class Mbim.ReadyInfoFlag(value)

Bases: GObject.GFlags

Flag specifying how the ready info is treated.

New in version 1.0.

NONE = 0

Device in normal mode.

New in version 1.16.

PROTECT_UNIQUE_ID = 1

Request to avoid displaying subscriber ID.

class Mbim.RegistrationFlag(value)

Bases: GObject.GFlags

Registration flags.

New in version 1.0.

NONE = 0

None.

MANUAL_SELECTION_NOT_AVAILABLE = 1

Network doesn’t support manual network selection.

PACKET_SERVICE_AUTOMATIC_ATTACH = 2

Modem should auto-attach to the network after registration.

New in version 1.8.

class Mbim.SimClass(value)

Bases: GObject.GFlags

SIM class.

New in version 1.0.

NONE = 0

None.

New in version 1.30.

LOGICAL = 1

No physical SIM.

REMOVABLE = 2

Physical removable SIM.

class Mbim.SmsCaps(value)

Bases: GObject.GFlags

SMS capabilities.

New in version 1.0.

NONE = 0

None.

New in version 1.30.

PDU_RECEIVE = 1

Can receive in PDU mode.

PDU_SEND = 2

Can send in PDU mode.

TEXT_RECEIVE = 4

Can receive in text mode.

TEXT_SEND = 8

Can send in text mode.

class Mbim.SmsStatusFlag(value)

Bases: GObject.GFlags

SMS status flags.

New in version 1.4.

NONE = 0

None.

MESSAGE_STORE_FULL = 1

Message store is full.

NEW_MESSAGE = 2

New non-Class 0 message arrived.

class Mbim.SubscriberReadyStatusFlag(value)

Bases: GObject.GFlags

Flags specifying SIM related details.

New in version 1.28.

NONE = 0

None.

ESIM = 1

Whether the SIM is an eSIM or not.

SIM_REMOVABILITY_KNOWN = 2

Whether the SIM removability details are know or not.

SIM_REMOVABLE = 4

Whether the SIM is removable or not, valid only if MBIM_SUBSCRIBER_READY_STATUS_FLAG_SIM_REMOVABLITY_KNOWN is also given.