Enums

Details

class Mbim.ActivationCommand(value)

Bases: GObject.GEnum

Activation Command.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.ActivationCommand) – a Mbim.ActivationCommand.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.ActivationCommand specified at val.

New in version 1.0.

DEACTIVATE = 0

Deactivate.

ACTIVATE = 1

Activate.

class Mbim.ActivationState(value)

Bases: GObject.GEnum

Activation State.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.ActivationState) – a Mbim.ActivationState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.ActivationState specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown.

ACTIVATED = 1

Activated.

ACTIVATING = 2

Activating.

DEACTIVATED = 3

Deactivated.

DEACTIVATING = 4

Deactivating.

class Mbim.AtdsProviderPlmnMode(value)

Bases: GObject.GEnum

Provider PLMN mode.

New in version 1.16.

classmethod get_string(val)
Parameters:val (Mbim.AtdsProviderPlmnMode) – a Mbim.AtdsProviderPlmnMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.AtdsProviderPlmnMode specified at val.

New in version 1.16.

GSM = 0

GSM.

UTRAN = 6

UTRAN (UMTS).

LTE = 7

LTE.

class Mbim.AtdsRatMode(value)

Bases: GObject.GEnum

RAT mode preferences.

New in version 1.16.

classmethod get_string(val)
Parameters:val (Mbim.AtdsRatMode) – a Mbim.AtdsRatMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.AtdsRatMode specified at val.

New in version 1.16.

AUTOMATIC = 0

Automatic.

2G_ONLY = 1
_2G_ONLY = 1

2G only.

3G_ONLY = 2
_3G_ONLY = 2

3G only.

4G_ONLY = 3
_4G_ONLY = 3

4G only.

class Mbim.AuthProtocol(value)

Bases: GObject.GEnum

Auth Protocol.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.AuthProtocol) – a Mbim.AuthProtocol.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.AuthProtocol specified at val.

New in version 1.0.

NONE = 0

None.

PAP = 1

Pap.

CHAP = 2

Chap.

MSCHAPV2 = 3

V2.

class Mbim.CidAtds(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.ATDS service.

New in version 1.16.

classmethod get_string(val)
Parameters:val (Mbim.CidAtds) – a Mbim.CidAtds.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidAtds specified at val.

New in version 1.16.

UNKNOWN = 0

Unknown command.

SIGNAL = 1

Radio signal information.

LOCATION = 2

Cell location information.

OPERATORS = 3

Operator selection.

RAT = 4

Radio Access Technology selection.

REGISTER_STATE = 9

Registration state.

class Mbim.CidAuth(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.AUTH service.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.CidAuth) – a Mbim.CidAuth.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidAuth specified at val.

New in version 1.0.

UNKNOWN = 0

Unknow command

AKA = 1

AKA.

AKAP = 2

AKAP.

SIM = 3

SIM.

class Mbim.CidBasicConnect(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.BASIC_CONNECT service.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.CidBasicConnect) – a Mbim.CidBasicConnect.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidBasicConnect specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown command.

DEVICE_CAPS = 1

Device capabilities.

PACKET_SERVICE = 10

Packet service.

SIGNAL_STATE = 11

Signal state.

CONNECT = 12

Connect.

PROVISIONED_CONTEXTS = 13

Provisioned contexts.

SERVICE_ACTIVATION = 14

Service activation.

IP_CONFIGURATION = 15

IP configuration.

DEVICE_SERVICES = 16

Device services.

DEVICE_SERVICE_SUBSCRIBE_LIST = 19

Device service subscribe list.

New in version 1.8.

SUBSCRIBER_READY_STATUS = 2

Subscriber ready status.

PACKET_STATISTICS = 20

Packet statistics.

NETWORK_IDLE_HINT = 21

Network idle hint.

EMERGENCY_MODE = 22

Emergency mode.

IP_PACKET_FILTERS = 23

IP packet filters.

MULTICARRIER_PROVIDERS = 24

Multicarrier providers.

RADIO_STATE = 3

Radio state.

PIN = 4

PIN.

PIN_LIST = 5

PIN list.

HOME_PROVIDER = 6

Home provider.

PREFERRED_PROVIDERS = 7

Preferred providers.

VISIBLE_PROVIDERS = 8

Visible providers.

REGISTER_STATE = 9

Register state.

class Mbim.CidDss(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.DSS service.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.CidDss) – a Mbim.CidDss.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidDss specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown command.

CONNECT = 1

Connect.

class Mbim.CidIntelFirmwareUpdate(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.INTEL_FIRMWARE_UPDATE service.

New in version 1.16.

classmethod get_string(val)
Parameters:val (Mbim.CidIntelFirmwareUpdate) – a Mbim.CidIntelFirmwareUpdate.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidIntelFirmwareUpdate specified at val.

New in version 1.16.

UNKNOWN = 0

Unknown command.

MODEM_REBOOT = 1

Reboot modem for firmware update.

class Mbim.CidMsBasicConnectExtensions(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.MS_BASIC_CONNECT_EXTENSIONS service.

New in version 1.18.

classmethod get_string(val)
Parameters:val (Mbim.CidMsBasicConnectExtensions) – a Mbim.CidMsBasicConnectExtensions.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidMsBasicConnectExtensions specified at val.

New in version 1.18.

UNKNOWN = 0

Unknown command.

PROVISIONED_CONTEXTS = 1

Provisioned contexts (v2).

DEVICE_RESET = 10

Device reset.

NETWORK_BLACKLIST = 2

Network blacklist.

LTE_ATTACH_CONFIGURATION = 3

LTE attach configuration.

LTE_ATTACH_STATUS = 4

LTE attach status.

SYS_CAPS = 5

System capabilities.

DEVICE_CAPS = 6

Device capabilities (v2).

DEVICE_SLOT_MAPPINGS = 7

Device slot mappings.

SLOT_INFO_STATUS = 8

Slot info status.

PCO = 9

Protocol configuration operations (PCO).

class Mbim.CidMsFirmwareId(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.MS_FIRMWARE_ID service.

New in version 1.8.

classmethod get_string(val)
Parameters:val (Mbim.CidMsFirmwareId) – a Mbim.CidMsFirmwareId.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidMsFirmwareId specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown command.

GET = 1

Get Firmware ID.

class Mbim.CidMsHostShutdown(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.MS_HOST_SHUTDOWN service.

New in version 1.8.

classmethod get_string(val)
Parameters:val (Mbim.CidMsHostShutdown) – a Mbim.CidMsHostShutdown.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidMsHostShutdown specified at val.

New in version 1.8.

UNKNOWN = 0

Unknown command.

NOTIFY = 1

Notify that the host is shutting down.

class Mbim.CidPhonebook(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.PHONEBOOK service.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.CidPhonebook) – a Mbim.CidPhonebook.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidPhonebook specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown command.

CONFIGURATION = 1

Configuration.

READ = 2

Read.

DELETE = 3

Delete.

WRITE = 4

Write.

class Mbim.CidProxyControl(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.PROXY_CONTROL service.

New in version 1.10.

classmethod get_string(val)
Parameters:val (Mbim.CidProxyControl) – a Mbim.CidProxyControl.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidProxyControl specified at val.

New in version 1.10.

UNKNOWN = 0

Unknown command.

CONFIGURATION = 1

Configuration.

class Mbim.CidQmi(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.QMI service.

New in version 1.14.

classmethod get_string(val)
Parameters:val (Mbim.CidQmi) – a Mbim.CidQmi.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidQmi specified at val.

New in version 1.14.

UNKNOWN = 0

Unknown command.

MSG = 1

Send QMI request and receive QMI response.

class Mbim.CidSms(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.SMS service.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.CidSms) – a Mbim.CidSms.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidSms specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown command.

CONFIGURATION = 1

SMS configuration.

READ = 2

Read.

SEND = 3

Send.

DELETE = 4

Delete.

MESSAGE_STORE_STATUS = 5

Store message status.

class Mbim.CidStk(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.STK service.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.CidStk) – a Mbim.CidStk.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidStk specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown command.

PAC = 1

PAC.

TERMINAL_RESPONSE = 2

Terminal response.

ENVELOPE = 3

Envelope.

class Mbim.CidUssd(value)

Bases: GObject.GEnum

MBIM commands in the Mbim.Service.USSD service.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.CidUssd) – a Mbim.CidUssd.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CidUssd specified at val.

New in version 1.0.

USSD_UNKNOWN = 0

Unknown command.

New in version 1.4.

USSD = 1

USSD operation.

class Mbim.Compression(value)

Bases: GObject.GEnum

Compression.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.Compression) – a Mbim.Compression.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.Compression specified at val.

New in version 1.0.

NONE = 0

None.

ENABLE = 1

Enable.

class Mbim.ContextIpType(value)

Bases: GObject.GEnum

Context IP Type.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.ContextIpType) – a Mbim.ContextIpType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.ContextIpType specified at val.

New in version 1.0.

DEFAULT = 0

It is up to the function to decide, the host does not care.

IPV4 = 1

IPv4 context.

IPV6 = 2

IPv6 context.

IPV4V6 = 3

The context is IPv4, IPv6 or dualstack IPv4v6.

IPV4_AND_IPV6 = 4

Both an IPv4 and an IPv6 context.

class Mbim.ContextSource(value)

Bases: GObject.GEnum

Source of context creation.

New in version 1.18.

classmethod get_string(val)
Parameters:val (Mbim.ContextSource) – a Mbim.ContextSource.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.ContextSource specified at val.

New in version 1.18.

ADMIN = 0

Context created by enterprise IT.

USER = 1

Context created by user.

OPERATOR = 2

Context created by operator.

MODEM = 3

Context created by modem manufacturer.

DEVICE = 4

Context created by OS APN database.

class Mbim.ContextType(value)

Bases: GObject.GEnum

Enumeration of the generic MBIM context types.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.ContextType) – a Mbim.ContextType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.ContextType specified at val.

New in version 1.0.

INVALID = 0

Invalid context type.

NONE = 1

Context not yet provisioned.

INTERNET = 2

Connection to the Internet.

VPN = 3

Connection to a VPN.

VOICE = 4

Connection to a VoIP service.

VIDEO_SHARE = 5

Connection to a video sharing service.

PURCHASE = 6

Connection to an over-the-air activation site.

IMS = 7

Connection to IMS.

MMS = 8

Connection to MMS.

LOCAL = 9

A local.

class Mbim.CoreError(value)

Bases: GObject.GEnum

Common errors that may be reported by libmbim-glib.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.CoreError) – a Mbim.CoreError.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.CoreError specified at val.

classmethod quark()
Return type:int
FAILED = 0

Operation failed.

WRONGSTATE = 1

Operation cannot be executed in the current state.

TIMEOUT = 2

Operation timed out.

INVALIDARGS = 3

Invalid arguments given.

INVALIDMESSAGE = 4

MBIM message is invalid.

UNSUPPORTED = 5

Not supported.

ABORTED = 6

Operation aborted.

UNKNOWNSTATE = 7

State is unknown.

New in version 1.16.

class Mbim.DeviceType(value)

Bases: GObject.GEnum

Type of device.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.DeviceType) – a Mbim.DeviceType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.DeviceType specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown type.

EMBEDDED = 1

Device is embedded in the system.

REMOVABLE = 2

Device is removable.

REMOTE = 3

Device is remote.

class Mbim.DssLinkState(value)

Bases: GObject.GEnum

Action performed in the link state.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.DssLinkState) – a Mbim.DssLinkState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.DssLinkState specified at val.

New in version 1.4.

DEACTIVATE = 0

Deactivate.

ACTIVATE = 1

Activate.

class Mbim.EmergencyModeState(value)

Bases: GObject.GEnum

Emergency mode state.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.EmergencyModeState) – a Mbim.EmergencyModeState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.EmergencyModeState specified at val.

New in version 1.4.

OFF = 0

Off.

ON = 1

On.

class Mbim.LteAttachContextOperation(value)

Bases: GObject.GEnum

Command to run when updating LTE attach configuration.

New in version 1.18.

classmethod get_string(val)
Parameters:val (Mbim.LteAttachContextOperation) – a Mbim.LteAttachContextOperation.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.LteAttachContextOperation specified at val.

New in version 1.18.

DEFAULT = 0

Overwrite existing contexts.

RESTORE_FACTORY = 1

Restore factory preconfigured contexts.

class Mbim.LteAttachContextRoamingControl(value)

Bases: GObject.GEnum

Type of roaming control.

New in version 1.18.

classmethod get_string(val)
Parameters:val (Mbim.LteAttachContextRoamingControl) – a Mbim.LteAttachContextRoamingControl.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.LteAttachContextRoamingControl specified at val.

New in version 1.18.

HOME = 0

Context allowed to be used on home network.

PARTNER = 1

Context allowed to be used on partner network.

NON_PARTNER = 2

Context allowed to be used on non-partner network.

class Mbim.LteAttachState(value)

Bases: GObject.GEnum

LTE attach state.

New in version 1.18.

classmethod get_string(val)
Parameters:val (Mbim.LteAttachState) – a Mbim.LteAttachState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.LteAttachState specified at val.

New in version 1.18.

DETACHED = 0

Detached.

ATTACHED = 1

Attached.

class Mbim.MessageCommandType(value)

Bases: GObject.GEnum

Type of command message.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.MessageCommandType) – a Mbim.MessageCommandType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.MessageCommandType specified at val.

New in version 1.0.

UNKNOWN = -1

Unknown type.

QUERY = 0

Query command.

SET = 1

Set command.

class Mbim.MessageType(value)

Bases: GObject.GEnum

Type of MBIM messages.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.MessageType) – a Mbim.MessageType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.MessageType specified at val.

New in version 1.0.

INDICATE_STATUS = -2147483641

Unsolicited message from the function.

FUNCTION_ERROR = -2147483644

Function-reported error in the communication.

COMMAND_DONE = -2147483645

Response to command request.

CLOSE_DONE = -2147483646

Response to close request.

OPEN_DONE = -2147483647

Response to initialization request.

INVALID = 0

Invalid MBIM message.

OPEN = 1

Initialization request.

CLOSE = 2

Close request.

COMMAND = 3

Command request.

HOST_ERROR = 4

Host-reported error in the communication.

class Mbim.NetworkIdleHintState(value)

Bases: GObject.GEnum

Enable or disable network idle hint.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.NetworkIdleHintState) – a Mbim.NetworkIdleHintState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.NetworkIdleHintState specified at val.

New in version 1.4.

DISABLED = 0

Disabled.

ENABLED = 1

Enabled.

class Mbim.NwError(value)

Bases: GObject.GEnum

Network errors.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.NwError) – a Mbim.NwError.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.NwError specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown or unset error.

IMPLICITLY_DETACHED = 10

Implicitly detached.

New in version 1.10.

CONDITIONAL_IE_ERROR = 100

Conditional IE error.

New in version 1.10.

MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101

Message not compatible with protocol state.

New in version 1.10.

PLMN_NOT_ALLOWED = 11

PLMN not allowed.

PROTOCOL_ERROR_UNSPECIFIED = 111

Protocol error, unspecified.

New in version 1.10.

APN_RESTRICTION_VALUE_INCOMPATIBLE_WITH_ACTIVE_PDP_CONTEXT = 112

APN restriction value incompatible with active PDP context.

New in version 1.18.

MULTIPLE_ACCESSES_TO_A_PDN_CONNECTION_NOT_ALLOWED = 113

Multiple accesses to a PDN connection not allowed.

New in version 1.18.

LOCATION_AREA_NOT_ALLOWED = 12

Location area not allowed.

ROAMING_NOT_ALLOWED_IN_LOCATION_AREA = 13

Roaming not allowed in the location area.

GPRS_NOT_ALLOWED_IN_PLMN = 14

GPRS not allowed in PLMN.

NO_CELLS_IN_LOCATION_AREA = 15

No cells in location area.

MSC_TEMPORARILY_NOT_REACHABLE = 16

MSC temporarily not reachable.

New in version 1.10.

NETWORK_FAILURE = 17

Network failure.

IMSI_UNKNOWN_IN_HLR = 2

IMSI unknown in the HLR.

MAC_FAILURE = 20

MAC failure.

New in version 1.10.

SYNCH_FAILURE = 21

Synch failure.

New in version 1.10.

CONGESTION = 22

Congestion.

GSM_AUTHENTICATION_UNACCEPTABLE = 23

GSM authentication unacceptable.

New in version 1.10.

NOT_AUTHORIZED_FOR_CSG = 25

Not authorized for this CSG.

New in version 1.10.

INSUFFICIENT_RESOURCES = 26

Insufficient resources.

New in version 1.18.

MISSING_OR_UNKNOWN_APN = 27

Missing or unknown access point name.

New in version 1.10.

UNKNOWN_PDP_ADDRESS_OR_TYPE = 28

Unknown PDP address or PDP type.

New in version 1.18.

USER_AUTHENTICATION_FAILED = 29

User authentication failed.

New in version 1.18.

ILLEGAL_MS = 3

Illegal MS.

New in version 1.10.

ACTIVATION_REJECTED_BY_GGSN_OR_GW = 30

Activation rejected by GGSN, Serving GW or PDN GW.

New in version 1.18.

ACTIVATION_REJECTED_UNSPECIFIED = 31

Activation rejected, unspecified.

New in version 1.18.

SERVICE_OPTION_NOT_SUPPORTED = 32

Service option not supported.

New in version 1.10.

REQUESTED_SERVICE_OPTION_NOT_SUBSCRIBED = 33

Requested service option not subscribed.

New in version 1.10.

SERVICE_OPTION_TEMPORARILY_OUT_OF_ORDER = 34

Service option temporarily out of order.

New in version 1.10.

IMSI_UNKNOWN_IN_VLR = 4

IMSI unknown in the VLR.

NO_PDP_CONTEXT_ACTIVATED = 40

No PDP context activated.

New in version 1.10.

IMEI_NOT_ACCEPTED = 5

IMEI not accepted.

New in version 1.10.

PDP_TYPE_IPV4_ONLY_ALLOWED = 50

PDP type IPv4 only allowed.

New in version 1.18.

PDP_TYPE_IPV6_ONLY_ALLOWED = 51

PDP type IPv6 only allowed.

New in version 1.18.

ILLEGAL_ME = 6

Illegal ME.

MAXIMUM_NUMBER_OF_PDP_CONTEXTS_REACHED = 65

Maximum number of PDP contexts reached.

New in version 1.18.

REQUESTED_APN_NOT_SUPPORTED_IN_CURRENT_RAT_AND_PLMN = 66

Requested APN not supported in current RAT and PLMN combination.

New in version 1.18.

GPRS_NOT_ALLOWED = 7

GPRS not allowed.

GPRS_AND_NON_GPRS_NOT_ALLOWED = 8

GPRS and non-GPRS not allowed.

MS_IDENTITY_NOT_DERIVED_BY_NETWORK = 9

MS identity cannot be derived by the network.

New in version 1.10.

SEMANTICALLY_INCORRECT_MESSAGE = 95

Semantically incorrect message.

New in version 1.10.

INVALID_MANDATORY_INFORMATION = 96

Invalid mandatory information.

New in version 1.10.

MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED = 97

Message type non-existent or not implemented.

New in version 1.10.

MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98

Message type not compatible with protocol state.

New in version 1.10.

INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED = 99

Information element non-existent or not implemented.

New in version 1.10.

class Mbim.PacketServiceAction(value)

Bases: GObject.GEnum

Packet Service Action.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.PacketServiceAction) – a Mbim.PacketServiceAction.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PacketServiceAction specified at val.

New in version 1.0.

ATTACH = 0

Attach.

DETACH = 1

Detach.

class Mbim.PacketServiceState(value)

Bases: GObject.GEnum

Packet Service State.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.PacketServiceState) – a Mbim.PacketServiceState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PacketServiceState specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown.

ATTACHING = 1

Attaching.

ATTACHED = 2

Attached.

DETACHING = 3

Detaching.

DETACHED = 4

Detached.

class Mbim.PcoType(value)

Bases: GObject.GEnum

Type of PCO structure.

New in version 1.18.

classmethod get_string(val)
Parameters:val (Mbim.PcoType) – a Mbim.PcoType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PcoType specified at val.

New in version 1.18.

COMPLETE = 0

The PCO structure is complete.

PARTIAL = 1

The PCO structure is a subset of what was received from the network.

class Mbim.PhonebookFlag(value)

Bases: GObject.GEnum

Flags to use when reading the phonebook.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.PhonebookFlag) – a Mbim.PhonebookFlag.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PhonebookFlag specified at val.

New in version 1.4.

ALL = 0

Request all.

INDEX = 1

Request single entry by index.

class Mbim.PhonebookState(value)

Bases: GObject.GEnum

Phonebook state.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.PhonebookState) – a Mbim.PhonebookState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PhonebookState specified at val.

New in version 1.4.

NOT_INITIALIZED = 0

Not initialized.

INITIALIZED = 1

Initialized

class Mbim.PhonebookWriteFlag(value)

Bases: GObject.GEnum

Flags to use when writing the phonebook.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.PhonebookWriteFlag) – a Mbim.PhonebookWriteFlag.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PhonebookWriteFlag specified at val.

New in version 1.4.

UNUSED = 0

Store the record in an unused slot.

INDEX = 1

Index where to store the record.

class Mbim.PinFormat(value)

Bases: GObject.GEnum

Format of the expected PIN code.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.PinFormat) – a Mbim.PinFormat.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PinFormat specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown format.

NUMERIC = 1

Numeric-only format.

ALPHANUMERIC = 2

Alphanumeric format.

class Mbim.PinMode(value)

Bases: GObject.GEnum

Whether the lock is enabled or disabled.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.PinMode) – a Mbim.PinMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PinMode specified at val.

New in version 1.0.

NOT_SUPPORTED = 0

Not supported.

ENABLED = 1

Enabled.

DISABLED = 2

Disabled.

class Mbim.PinOperation(value)

Bases: GObject.GEnum

Operation to perform on the PIN.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.PinOperation) – a Mbim.PinOperation.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PinOperation specified at val.

New in version 1.0.

ENTER = 0

Enter the specified PIN into the device.

ENABLE = 1

Enable the specified PIN.

DISABLE = 2

Disable the specified PIN.

CHANGE = 3

Change the specified PIN.

class Mbim.PinState(value)

Bases: GObject.GEnum

PIN States.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.PinState) – a Mbim.PinState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PinState specified at val.

New in version 1.0.

UNLOCKED = 0

The device does not require a PIN.

LOCKED = 1

The device requires the user to enter a PIN.

class Mbim.PinType(value)

Bases: GObject.GEnum

PIN Types.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.PinType) – a Mbim.PinType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.PinType specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown or unset.

CUSTOM = 1

The PIN type is a custom type and is none of the other PIN types listed in this enumeration.

SUBSIDY_PIN = 10

The subsidy unlock key.

PUK1 = 11

The Personal Identification Number1 Unlock Key (PUK1).

PUK2 = 12

The Personal Identification Number2 Unlock Key (PUK2).

DEVICE_FIRST_SIM_PUK = 13

The device to very first SIM PIN unlock key.

NETWORK_PUK = 14

The network personalization unlock key.

NETWORK_SUBSET_PUK = 15

The network subset personalization unlock key.

SERVICE_PROVIDER_PUK = 16

The service provider (SP) personalization unlock key.

CORPORATE_PUK = 17

The corporate personalization unlock key.

PIN1 = 2

The PIN1 key.

PIN2 = 3

The PIN2 key.

DEVICE_SIM_PIN = 4

The device to SIM key.

DEVICE_FIRST_SIM_PIN = 5

The device to very first SIM key.

NETWORK_PIN = 6

The network personalization key.

NETWORK_SUBSET_PIN = 7

The network subset personalization key.

SERVICE_PROVIDER_PIN = 8

The service provider (SP) personalization key.

CORPORATE_PIN = 9

The corporate personalization key.

class Mbim.ProtocolError(value)

Bases: GObject.GEnum

MBIM protocol errors.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.ProtocolError) – a Mbim.ProtocolError.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.ProtocolError specified at val.

classmethod quark()
Return type:int
INVALID = 0

Invalid MBIM error.

TIMEOUTFRAGMENT = 1

Timeout waiting for fragment.

FRAGMENTOUTOFSEQUENCE = 2

Fragment received out of sequence.

LENGTHMISMATCH = 3

Length mismatch.

DUPLICATEDTID = 4

Duplicated transaction ID.

NOTOPENED = 5

Not opened.

UNKNOWN = 6

Unknown error.

CANCEL = 7

Cancel the operation.

MAXTRANSFER = 8

Maximum control transfer not supported.

class Mbim.RadioSwitchState(value)

Bases: GObject.GEnum

Radio switch state.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.RadioSwitchState) – a Mbim.RadioSwitchState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.RadioSwitchState specified at val.

New in version 1.0.

OFF = 0

Radio is off.

ON = 1

Radio is on.

class Mbim.RegisterAction(value)

Bases: GObject.GEnum

Type of registration requested.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.RegisterAction) – a Mbim.RegisterAction.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.RegisterAction specified at val.

New in version 1.0.

AUTOMATIC = 0

Automatic registration.

MANUAL = 1

Manual registration.

class Mbim.RegisterMode(value)

Bases: GObject.GEnum

Type of registration requested.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.RegisterMode) – a Mbim.RegisterMode.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.RegisterMode specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown.

AUTOMATIC = 1

Automatic registration.

MANUAL = 2

Manual registration.

class Mbim.RegisterState(value)

Bases: GObject.GEnum

Registration state.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.RegisterState) – a Mbim.RegisterState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.RegisterState specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown registration state.

DEREGISTERED = 1

Not registered.

SEARCHING = 2

Searching.

HOME = 3

Registered in home network.

ROAMING = 4

Registered in roaming network.

PARTNER = 5

Registered in a preferred roaming network.

DENIED = 6

Registration denied.

class Mbim.Service(value)

Bases: GObject.GEnum

Enumeration of the generic MBIM services.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.Service) – a Mbim.Service.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.Service specified at val.

New in version 1.0.

classmethod id_is_custom(id)
Parameters:id (int) – ID of the service
Returns:True if service is custom, False otherwise.
Return type:bool

Checks whether id is a custom or standard service.

New in version 1.10.

classmethod lookup_name(service)
Parameters:service (int) – a Mbim.Service or custom service.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the service.

As opposed to Mbim.Service.get_string(), this methods takes into account custom services that may have been registered by the user.

New in version 1.10.

INVALID = 0

Invalid service.

BASIC_CONNECT = 1

Basic connectivity service.

PROXY_CONTROL = 10

Proxy Control service.

New in version 1.10.

QMI = 11

QMI-over-MBIM service.

New in version 1.14.

ATDS = 12

ATT Device service.

New in version 1.16.

INTEL_FIRMWARE_UPDATE = 13

Intel firmware update service.

New in version 1.16.

MS_BASIC_CONNECT_EXTENSIONS = 14

Microsoft basic connectivity extensions service.

New in version 1.18.

SMS = 2

SMS messaging service.

USSD = 3

USSD service.

PHONEBOOK = 4

Phonebook service.

STK = 5

SIM toolkit service.

AUTH = 6

Authentication service.

DSS = 7

Device Service Stream service.

MS_FIRMWARE_ID = 8

Microsoft Firmware ID service.

New in version 1.8.

MS_HOST_SHUTDOWN = 9

Microsoft Host Shutdown service.

New in version 1.8.

class Mbim.SmsCdmaEncoding(value)

Bases: GObject.GEnum

Type of encoding of a CDMA SMS.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.SmsCdmaEncoding) – a Mbim.SmsCdmaEncoding.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.SmsCdmaEncoding specified at val.

New in version 1.4.

OCTET = 0

Octet.

EPM = 1

EPM.

7BIT_ASCII = 2
_7BIT_ASCII = 2

7-bit ASCII.

LA5 = 3

LA5.

UNICODE = 4

Unicode.

SHIFT_JIS = 5

Shift JIS.

KOREAN = 6

Korean.

LATIN_HEBREW = 7

Latin hebrew.

LATIN = 8

Latin.

GSM_7BIT = 9

7-bit GSM.

class Mbim.SmsCdmaLang(value)

Bases: GObject.GEnum

Language of a CDMA SMS.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.SmsCdmaLang) – a Mbim.SmsCdmaLang.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.SmsCdmaLang specified at val.

New in version 1.4.

UNKNOWN = 0

Unknown language.

ENGLISH = 1

English.

FRENCH = 2

French.

SPANISH = 3

Spanish.

JAPANESE = 4

Japanese.

KOREAN = 5

Korean.

CHINESE = 6

Chinese.

HEBREW = 7

Hebrew.

class Mbim.SmsFlag(value)

Bases: GObject.GEnum

Flags to use when requesting to read SMS. Mbim.SmsFlag.ALL and Mbim.SmsFlag.NEW are mandatory, all the others are optional.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.SmsFlag) – a Mbim.SmsFlag.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.SmsFlag specified at val.

New in version 1.4.

ALL = 0

All.

INDEX = 1

Index.

NEW = 2

New.

OLD = 3

Old.

SENT = 4

Sent.

DRAFT = 5

Draft.

class Mbim.SmsFormat(value)

Bases: GObject.GEnum

SMS format.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.SmsFormat) – a Mbim.SmsFormat.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.SmsFormat specified at val.

New in version 1.4.

PDU = 0

PDU format.

CDMA = 1

CDMA format.

class Mbim.SmsStatus(value)

Bases: GObject.GEnum

Status of a SMS message.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.SmsStatus) – a Mbim.SmsStatus.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.SmsStatus specified at val.

New in version 1.4.

NEW = 0

New.

OLD = 1

Old.

DRAFT = 2

Draft.

SENT = 3

Sent.

class Mbim.SmsStatusFlag(value)

Bases: GObject.GEnum

SMS status flags.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.SmsStatusFlag) – a Mbim.SmsStatusFlag.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.SmsStatusFlag specified at val.

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.SmsStorageState(value)

Bases: GObject.GEnum

State of the SMS storage.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.SmsStorageState) – a Mbim.SmsStorageState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.SmsStorageState specified at val.

New in version 1.4.

NOT_INITIALIZED = 0

Storage not initialized.

INITIALIZED = 1

Storage initialized.

class Mbim.StatusError(value)

Bases: GObject.GEnum

Status of the MBIM request.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.StatusError) – a Mbim.StatusError.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.StatusError specified at val.

classmethod quark()
Return type:int
NONE = 0

Success, no error.

BUSY = 1

Busy.

PROVIDERNOTVISIBLE = 10

Provider not visible.

SMSUNKNOWNSMSCADDRESS = 100

Unknown SMSC address.

SMSNETWORKTIMEOUT = 101

Network timeout when sending SMS.

SMSLANGNOTSUPPORTED = 102

Language not supported in SMS.

SMSENCODINGNOTSUPPORTED = 103

Encoding not supported in SMS.

SMSFORMATNOTSUPPORTED = 104

Format not supported in SMS.

DATACLASSNOTAVAILABLE = 11

Data class not available.

PACKETSERVICEDETACHED = 12

Packet service detached.

MAXACTIVATEDCONTEXTS = 13

Max activated contexts.

NOTINITIALIZED = 14

Not initialized.

VOICECALLINPROGRESS = 15

Voice call in progress.

CONTEXTNOTACTIVATED = 16

Context not activated.

SERVICENOTACTIVATED = 17

Service not activated.

INVALIDACCESSSTRING = 18

Invalid access string.

INVALIDUSERNAMEPWD = 19

Invalid user name or password.

FAILURE = 2

Failure.

RADIOPOWEROFF = 20

Radio power off.

INVALIDPARAMETERS = 21

Invalid parameters.

READFAILURE = 22

Read failure.

WRITEFAILURE = 23

Write failure.

NOPHONEBOOK = 25

No phonebook.

PARAMETERTOOLONG = 26

Parameter too long.

STKBUSY = 27

SIM toolkit busy.

OPERATIONNOTALLOWED = 28

Operation not allowed.

MEMORYFAILURE = 29

Memory failure.

SIMNOTINSERTED = 3

SIM not inserted.

INVALIDMEMORYINDEX = 30

Invalid memory index.

MEMORYFULL = 31

Memory full.

FILTERNOTSUPPORTED = 32

Filter not supported.

DSSINSTANCELIMIT = 33

DSS instance limit.

INVALIDDEVICESERVICEOPERATION = 34

Invalid device service operation.

AUTHINCORRECTAUTH = 35

Incorrect AUTN when sending authentication.

AUTHSYNCFAILURE = 36

Synchronization failure during the authentication.

AUTHAMFNOTSET = 37

AMF bit not set in the authentication.

CONTEXTNOTSUPPORTED = 38

ContextType not supported by the operation.

New in version 1.16.

BADSIM = 4

Bad SIM.

PINREQUIRED = 5

PIN required.

PINDISABLED = 6

PIN disabled.

NOTREGISTERED = 7

Not registered.

PROVIDERSNOTFOUND = 8

Providers not found.

NODEVICESUPPORT = 9

No device support.

class Mbim.StkPacProfile(value)

Bases: GObject.GEnum

Proactive command profile.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.StkPacProfile) – a Mbim.StkPacProfile.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.StkPacProfile specified at val.

New in version 1.4.

NOT_HANDLED_BY_FUNCTION_HANDLED_BY_HOST = 0

Command not handled by function but handled by host.

NOT_HANDLED_BY_FUNCTION_MAY_BE_HANDLED_BY_HOST = 1

Command not handled by function but may be handled by host.

HANDLED_BY_FUNCTION_ONLY_TRANSPARENT_TO_HOST = 2

Command handled by function without informing the host.

HANDLED_BY_FUNCTION_NOTIFICATION_TO_HOST_POSSIBLE = 3

Command handled by function without informing the host, but notifications may be sent to host.

HANDLED_BY_FUNCTION_NOTIFICATIONS_TO_HOST_ENABLED = 4

Command handled by function, and the function wil also send notification to the host.

HANDLED_BY_FUNCTION_CAN_BE_OVERRIDEN_BY_HOST = 5

Command handled by function, but the host may request full control of the command.

HANDLED_BY_HOST_FUNCTION_NOT_ABLE_TO_HANDLE = 6

Command will be forwarded to the host. If the host decides not to receive the command, the function will not handle it.

HANDLED_BY_HOST_FUNCTION_ABLE_TO_HANDLE = 7

Command will be forwarded to the host. If the host decides not to receive the command, the function will handle it.

class Mbim.StkPacType(value)

Bases: GObject.GEnum

Type of proactive command.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.StkPacType) – a Mbim.StkPacType.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.StkPacType specified at val.

New in version 1.4.

PROACTIVE_COMMAND = 0

Host is requested to handle the Proactive command.

NOTIFICATION = 1

Proactive command is handled by the function, but the host is notified.

class Mbim.SubscriberReadyState(value)

Bases: GObject.GEnum

Ready state of the subscriber.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.SubscriberReadyState) – a Mbim.SubscriberReadyState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.SubscriberReadyState specified at val.

New in version 1.0.

NOT_INITIALIZED = 0

Not initialized.

INITIALIZED = 1

Initialized.

SIM_NOT_INSERTED = 2

SIM not inserted.

BAD_SIM = 3

Bad SIM.

FAILURE = 4

Failure.

NOT_ACTIVATED = 5

Not activated.

DEVICE_LOCKED = 6

Device locked.

class Mbim.UssdAction(value)

Bases: GObject.GEnum

USSD action.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.UssdAction) – a Mbim.UssdAction.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.UssdAction specified at val.

New in version 1.4.

INITIATE = 0

Initiate USSD session.

CONTINUE = 1

Continue USSD session.

CANCEL = 2

Cancel USSD session.

class Mbim.UssdResponse(value)

Bases: GObject.GEnum

USSD response.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.UssdResponse) – a Mbim.UssdResponse.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.UssdResponse specified at val.

New in version 1.4.

NO_ACTION_REQUIRED = 0

No action required.

ACTION_REQUIRED = 1

An action is required.

TERMINATED_BY_NETWORK = 2

Terminated by network

OTHER_LOCAL_CLIENT = 3

Other local client.

OPERATION_NOT_SUPPORTED = 4

Operation not supported.

NETWORK_TIMEOUT = 5

Network timeout.

class Mbim.UssdSessionState(value)

Bases: GObject.GEnum

Session state.

New in version 1.4.

classmethod get_string(val)
Parameters:val (Mbim.UssdSessionState) – a Mbim.UssdSessionState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.UssdSessionState specified at val.

New in version 1.4.

NEW_SESSION = 0

New session.

EXISTING_SESSION = 1

Existing session.

class Mbim.VisibleProvidersAction(value)

Bases: GObject.GEnum

Type of action to perform when listing visible providers.

New in version 1.2.

classmethod get_string(val)
Parameters:val (Mbim.VisibleProvidersAction) – a Mbim.VisibleProvidersAction.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.VisibleProvidersAction specified at val.

New in version 1.2.

FULL_SCAN = 0

Full scan.

RESTRICTED_SCAN = 1

Locate preferred multicarrier providers.

class Mbim.VoiceCallState(value)

Bases: GObject.GEnum

Voice Call State.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.VoiceCallState) – a Mbim.VoiceCallState.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.VoiceCallState specified at val.

New in version 1.0.

NONE = 0

None.

IN_PROGRESS = 1

Progress.

HANG_UP = 2

Up.

class Mbim.VoiceClass(value)

Bases: GObject.GEnum

Voice class.

New in version 1.0.

classmethod get_string(val)
Parameters:val (Mbim.VoiceClass) – a Mbim.VoiceClass.
Returns:a string with the nickname, or None if not found. Do not free the returned value.
Return type:str

Gets the nickname string for the Mbim.VoiceClass specified at val.

New in version 1.0.

UNKNOWN = 0

Unknown voice class.

NO_VOICE = 1

Device doesn’t support voice.

SEPARATED_VOICE_DATA = 2

Device supports separate voice and data connections.

SIMULTANEOUS_VOICE_DATA = 3

Device supports simultaneous voice and data connections.