ModemManager.GdbusModem

g GObject.GInterface GObject.GInterface ModemManager.GdbusModem ModemManager.GdbusModem GObject.GInterface->ModemManager.GdbusModem

Implementations:

ModemManager.GdbusModemProxy, ModemManager.GdbusModemSkeleton

Methods

class

interface_info ()

class

override_properties (klass, property_id_begin)

call_command (arg_cmd, arg_timeout, cancellable, callback, *user_data)

call_command_finish (res)

call_command_sync (arg_cmd, arg_timeout, cancellable)

call_create_bearer (arg_properties, cancellable, callback, *user_data)

call_create_bearer_finish (res)

call_create_bearer_sync (arg_properties, cancellable)

call_delete_bearer (arg_bearer, cancellable, callback, *user_data)

call_delete_bearer_finish (res)

call_delete_bearer_sync (arg_bearer, cancellable)

call_enable (arg_enable, cancellable, callback, *user_data)

call_enable_finish (res)

call_enable_sync (arg_enable, cancellable)

call_factory_reset (arg_code, cancellable, callback, *user_data)

call_factory_reset_finish (res)

call_factory_reset_sync (arg_code, cancellable)

call_get_cell_info (cancellable, callback, *user_data)

call_get_cell_info_finish (res)

call_get_cell_info_sync (cancellable)

call_list_bearers (cancellable, callback, *user_data)

call_list_bearers_finish (res)

call_list_bearers_sync (cancellable)

call_reset (cancellable, callback, *user_data)

call_reset_finish (res)

call_reset_sync (cancellable)

call_set_current_bands (arg_bands, cancellable, callback, *user_data)

call_set_current_bands_finish (res)

call_set_current_bands_sync (arg_bands, cancellable)

call_set_current_capabilities (arg_capabilities, cancellable, callback, *user_data)

call_set_current_capabilities_finish (res)

call_set_current_capabilities_sync (arg_capabilities, cancellable)

call_set_current_modes (arg_modes, cancellable, callback, *user_data)

call_set_current_modes_finish (res)

call_set_current_modes_sync (arg_modes, cancellable)

call_set_power_state (arg_state, cancellable, callback, *user_data)

call_set_power_state_finish (res)

call_set_power_state_sync (arg_state, cancellable)

call_set_primary_sim_slot (arg_sim_slot, cancellable, callback, *user_data)

call_set_primary_sim_slot_finish (res)

call_set_primary_sim_slot_sync (arg_sim_slot, cancellable)

complete_command (invocation, response)

complete_create_bearer (invocation, path)

complete_delete_bearer (invocation)

complete_enable (invocation)

complete_factory_reset (invocation)

complete_get_cell_info (invocation, cell_info)

complete_list_bearers (invocation, bearers)

complete_reset (invocation)

complete_set_current_bands (invocation)

complete_set_current_capabilities (invocation)

complete_set_current_modes (invocation)

complete_set_power_state (invocation)

complete_set_primary_sim_slot (invocation)

emit_state_changed (arg_old, arg_new, arg_reason)

Virtual Methods

do_handle_command (invocation, arg_cmd, arg_timeout)

do_handle_create_bearer (invocation, arg_properties)

do_handle_delete_bearer (invocation, arg_bearer)

do_handle_enable (invocation, arg_enable)

do_handle_factory_reset (invocation, arg_code)

do_handle_get_cell_info (invocation)

do_handle_list_bearers (invocation)

do_handle_reset (invocation)

do_handle_set_current_bands (invocation, arg_bands)

do_handle_set_current_capabilities (invocation, arg_capabilities)

do_handle_set_current_modes (invocation, arg_modes)

do_handle_set_power_state (invocation, arg_state)

do_handle_set_primary_sim_slot (invocation, arg_sim_slot)

do_state_changed (arg_old, arg_new, arg_reason)

Properties

Name

Type

Flags

Short Description

access-technologies

int

r/w

AccessTechnologies

bearers

[str]

r/w

Bearers

carrier-configuration

str

r/w

CarrierConfiguration

carrier-configuration-revision

str

r/w

CarrierConfigurationRevision

current-bands

GLib.Variant

r/w

CurrentBands

current-capabilities

int

r/w

CurrentCapabilities

current-modes

GLib.Variant

r/w

CurrentModes

device

str

r/w

Device

device-identifier

str

r/w

DeviceIdentifier

drivers

[str]

r/w

Drivers

equipment-identifier

str

r/w

EquipmentIdentifier

hardware-revision

str

r/w

HardwareRevision

manufacturer

str

r/w

Manufacturer

max-active-bearers

int

r/w

MaxActiveBearers

max-active-multiplexed-bearers

int

r/w

MaxActiveMultiplexedBearers

max-bearers

int

r/w

MaxBearers

model

str

r/w

Model

own-numbers

[str]

r/w

OwnNumbers

physdev

str

r/w

Physdev

plugin

str

r/w

Plugin

ports

GLib.Variant

r/w

Ports

power-state

int

r/w

PowerState

primary-port

str

r/w

PrimaryPort

primary-sim-slot

int

r/w

PrimarySimSlot

revision

str

r/w

Revision

signal-quality

GLib.Variant

r/w

SignalQuality

sim

str

r/w

Sim

sim-slots

[str]

r/w

SimSlots

state

int

r/w

State

state-failed-reason

int

r/w

StateFailedReason

supported-bands

GLib.Variant

r/w

SupportedBands

supported-capabilities

GLib.Variant

r/w

SupportedCapabilities

supported-ip-families

int

r/w

SupportedIpFamilies

supported-modes

GLib.Variant

r/w

SupportedModes

unlock-required

int

r/w

UnlockRequired

unlock-retries

GLib.Variant

r/w

UnlockRetries

Signals

Name

Short Description

handle-command

Signal emitted when a remote caller is invoking the ‘Command() [gdbus-method-org-freedesktop-ModemManager1-Modem.Command]’ D-Bus method.

handle-create-bearer

Signal emitted when a remote caller is invoking the ‘CreateBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer]’ D-Bus method.

handle-delete-bearer

Signal emitted when a remote caller is invoking the ‘DeleteBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.DeleteBearer]’ D-Bus method.

handle-enable

Signal emitted when a remote caller is invoking the ‘Enable() [gdbus-method-org-freedesktop-ModemManager1-Modem.Enable]’ D-Bus method.

handle-factory-reset

Signal emitted when a remote caller is invoking the ‘FactoryReset() [gdbus-method-org-freedesktop-ModemManager1-Modem.FactoryReset]’ D-Bus method.

handle-get-cell-info

Signal emitted when a remote caller is invoking the ‘GetCellInfo() [gdbus-method-org-freedesktop-ModemManager1-Modem.GetCellInfo]’ D-Bus method.

handle-list-bearers

Signal emitted when a remote caller is invoking the ‘ListBearers() [gdbus-method-org-freedesktop-ModemManager1-Modem.ListBearers]’ D-Bus method.

handle-reset

Signal emitted when a remote caller is invoking the ‘Reset() [gdbus-method-org-freedesktop-ModemManager1-Modem.Reset]’ D-Bus method.

handle-set-current-bands

Signal emitted when a remote caller is invoking the ‘SetCurrentBands() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentBands]’ D-Bus method.

handle-set-current-capabilities

Signal emitted when a remote caller is invoking the ‘SetCurrentCapabilities() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentCapabilities]’ D-Bus method.

handle-set-current-modes

Signal emitted when a remote caller is invoking the ‘SetCurrentModes() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentModes]’ D-Bus method.

handle-set-power-state

Signal emitted when a remote caller is invoking the ‘SetPowerState() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPowerState]’ D-Bus method.

handle-set-primary-sim-slot

Signal emitted when a remote caller is invoking the ‘SetPrimarySimSlot() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPrimarySimSlot]’ D-Bus method.

state-changed

On the client-side, this signal is emitted whenever the D-Bus signal ‘“StateChanged” [gdbus-signal-org-freedesktop-ModemManager1-Modem.StateChanged]’ is received.

Fields

None

Class Details

class ModemManager.GdbusModem
Bases:

GObject.GInterface

Structure:

ModemManager.GdbusModemIface

Abstract interface type for the D-Bus interface ‘org.freedesktop.ModemManager1.Modem [gdbus-interface-org-freedesktop-ModemManager1-Modem.top_of_page]’.

classmethod interface_info()
Returns:

A Gio.DBusInterfaceInfo. Do not free.

Return type:

Gio.DBusInterfaceInfo

Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem [gdbus-interface-org-freedesktop-ModemManager1-Modem.top_of_page]’ D-Bus interface.

classmethod override_properties(klass, property_id_begin)
Parameters:
Returns:

The last property id.

Return type:

int

Overrides all GObject.Object properties in the ModemManager.GdbusModem interface for a concrete class. The properties are overridden in the order they are defined.

call_command(arg_cmd, arg_timeout, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘Command() [gdbus-method-org-freedesktop-ModemManager1-Modem.Command]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_command_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_command_sync() for the synchronous, blocking version of this method.

call_command_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_command().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_response:

Return location for return parameter or None to ignore.

Return type:

(bool, out_response: str)

Finishes an operation started with ModemManager.GdbusModem.call_command().

call_command_sync(arg_cmd, arg_timeout, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_response:

Return location for return parameter or None to ignore.

Return type:

(bool, out_response: str)

Synchronously invokes the ‘Command() [gdbus-method-org-freedesktop-ModemManager1-Modem.Command]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_command() for the asynchronous version of this method.

call_create_bearer(arg_properties, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘CreateBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_create_bearer_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_create_bearer_sync() for the synchronous, blocking version of this method.

call_create_bearer_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_create_bearer().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_path:

Return location for return parameter or None to ignore.

Return type:

(bool, out_path: str)

Finishes an operation started with ModemManager.GdbusModem.call_create_bearer().

call_create_bearer_sync(arg_properties, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_path:

Return location for return parameter or None to ignore.

Return type:

(bool, out_path: str)

Synchronously invokes the ‘CreateBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_create_bearer() for the asynchronous version of this method.

call_delete_bearer(arg_bearer, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘DeleteBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.DeleteBearer]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_delete_bearer_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_delete_bearer_sync() for the synchronous, blocking version of this method.

call_delete_bearer_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_delete_bearer().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModem.call_delete_bearer().

call_delete_bearer_sync(arg_bearer, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘DeleteBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.DeleteBearer]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_delete_bearer() for the asynchronous version of this method.

call_enable(arg_enable, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘Enable() [gdbus-method-org-freedesktop-ModemManager1-Modem.Enable]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_enable_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_enable_sync() for the synchronous, blocking version of this method.

call_enable_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_enable().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModem.call_enable().

call_enable_sync(arg_enable, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘Enable() [gdbus-method-org-freedesktop-ModemManager1-Modem.Enable]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_enable() for the asynchronous version of this method.

call_factory_reset(arg_code, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘FactoryReset() [gdbus-method-org-freedesktop-ModemManager1-Modem.FactoryReset]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_factory_reset_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_factory_reset_sync() for the synchronous, blocking version of this method.

call_factory_reset_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_factory_reset().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModem.call_factory_reset().

call_factory_reset_sync(arg_code, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘FactoryReset() [gdbus-method-org-freedesktop-ModemManager1-Modem.FactoryReset]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_factory_reset() for the asynchronous version of this method.

call_get_cell_info(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘GetCellInfo() [gdbus-method-org-freedesktop-ModemManager1-Modem.GetCellInfo]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_get_cell_info_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_get_cell_info_sync() for the synchronous, blocking version of this method.

call_get_cell_info_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_get_cell_info().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_cell_info:

Return location for return parameter or None to ignore.

Return type:

(bool, out_cell_info: GLib.Variant)

Finishes an operation started with ModemManager.GdbusModem.call_get_cell_info().

call_get_cell_info_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_cell_info:

Return location for return parameter or None to ignore.

Return type:

(bool, out_cell_info: GLib.Variant)

Synchronously invokes the ‘GetCellInfo() [gdbus-method-org-freedesktop-ModemManager1-Modem.GetCellInfo]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_get_cell_info() for the asynchronous version of this method.

call_list_bearers(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘ListBearers() [gdbus-method-org-freedesktop-ModemManager1-Modem.ListBearers]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_list_bearers_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_list_bearers_sync() for the synchronous, blocking version of this method.

call_list_bearers_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_list_bearers().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_bearers:

Return location for return parameter or None to ignore.

Return type:

(bool, out_bearers: [str])

Finishes an operation started with ModemManager.GdbusModem.call_list_bearers().

call_list_bearers_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

out_bearers:

Return location for return parameter or None to ignore.

Return type:

(bool, out_bearers: [str])

Synchronously invokes the ‘ListBearers() [gdbus-method-org-freedesktop-ModemManager1-Modem.ListBearers]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_list_bearers() for the asynchronous version of this method.

call_reset(cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘Reset() [gdbus-method-org-freedesktop-ModemManager1-Modem.Reset]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_reset_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_reset_sync() for the synchronous, blocking version of this method.

call_reset_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_reset().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModem.call_reset().

call_reset_sync(cancellable)
Parameters:

cancellable (Gio.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘Reset() [gdbus-method-org-freedesktop-ModemManager1-Modem.Reset]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_reset() for the asynchronous version of this method.

call_set_current_bands(arg_bands, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘SetCurrentBands() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentBands]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_set_current_bands_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_set_current_bands_sync() for the synchronous, blocking version of this method.

call_set_current_bands_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_set_current_bands().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModem.call_set_current_bands().

call_set_current_bands_sync(arg_bands, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘SetCurrentBands() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentBands]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_set_current_bands() for the asynchronous version of this method.

call_set_current_capabilities(arg_capabilities, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘SetCurrentCapabilities() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentCapabilities]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_set_current_capabilities_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_set_current_capabilities_sync() for the synchronous, blocking version of this method.

call_set_current_capabilities_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_set_current_capabilities().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModem.call_set_current_capabilities().

call_set_current_capabilities_sync(arg_capabilities, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘SetCurrentCapabilities() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentCapabilities]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_set_current_capabilities() for the asynchronous version of this method.

call_set_current_modes(arg_modes, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘SetCurrentModes() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentModes]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_set_current_modes_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_set_current_modes_sync() for the synchronous, blocking version of this method.

call_set_current_modes_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_set_current_modes().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModem.call_set_current_modes().

call_set_current_modes_sync(arg_modes, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘SetCurrentModes() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentModes]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_set_current_modes() for the asynchronous version of this method.

call_set_power_state(arg_state, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘SetPowerState() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPowerState]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_set_power_state_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_set_power_state_sync() for the synchronous, blocking version of this method.

call_set_power_state_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_set_power_state().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModem.call_set_power_state().

call_set_power_state_sync(arg_state, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘SetPowerState() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPowerState]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_set_power_state() for the asynchronous version of this method.

call_set_primary_sim_slot(arg_sim_slot, cancellable, callback, *user_data)
Parameters:

Asynchronously invokes the ‘SetPrimarySimSlot() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPrimarySimSlot]’ D-Bus method on self. When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusModem.call_set_primary_sim_slot_finish() to get the result of the operation.

See ModemManager.GdbusModem.call_set_primary_sim_slot_sync() for the synchronous, blocking version of this method.

call_set_primary_sim_slot_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusModem.call_set_primary_sim_slot().

Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.GdbusModem.call_set_primary_sim_slot().

call_set_primary_sim_slot_sync(arg_sim_slot, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the call succeeded, False if error is set.

Return type:

bool

Synchronously invokes the ‘SetPrimarySimSlot() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPrimarySimSlot]’ D-Bus method on self. The calling thread is blocked until a reply is received.

See ModemManager.GdbusModem.call_set_primary_sim_slot() for the asynchronous version of this method.

complete_command(invocation, response)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘Command() [gdbus-method-org-freedesktop-ModemManager1-Modem.Command]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_create_bearer(invocation, path)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘CreateBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_delete_bearer(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘DeleteBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.DeleteBearer]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_enable(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘Enable() [gdbus-method-org-freedesktop-ModemManager1-Modem.Enable]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_factory_reset(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘FactoryReset() [gdbus-method-org-freedesktop-ModemManager1-Modem.FactoryReset]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_get_cell_info(invocation, cell_info)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘GetCellInfo() [gdbus-method-org-freedesktop-ModemManager1-Modem.GetCellInfo]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_list_bearers(invocation, bearers)
Parameters:

Helper function used in service implementations to finish handling invocations of the ‘ListBearers() [gdbus-method-org-freedesktop-ModemManager1-Modem.ListBearers]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_reset(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘Reset() [gdbus-method-org-freedesktop-ModemManager1-Modem.Reset]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_set_current_bands(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘SetCurrentBands() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentBands]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_set_current_capabilities(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘SetCurrentCapabilities() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentCapabilities]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_set_current_modes(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘SetCurrentModes() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentModes]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_set_power_state(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘SetPowerState() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPowerState]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

complete_set_primary_sim_slot(invocation)
Parameters:

invocation (Gio.DBusMethodInvocation) – A Gio.DBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the ‘SetPrimarySimSlot() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPrimarySimSlot]’ D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free invocation, you cannot use it afterwards.

emit_state_changed(arg_old, arg_new, arg_reason)
Parameters:
  • arg_old (int) – Argument to pass with the signal.

  • arg_new (int) – Argument to pass with the signal.

  • arg_reason (int) – Argument to pass with the signal.

Emits the ‘“StateChanged” [gdbus-signal-org-freedesktop-ModemManager1-Modem.StateChanged]’ D-Bus signal.

do_handle_command(invocation, arg_cmd, arg_timeout) virtual
Parameters:
Return type:

bool

do_handle_create_bearer(invocation, arg_properties) virtual
Parameters:
Return type:

bool

do_handle_delete_bearer(invocation, arg_bearer) virtual
Parameters:
Return type:

bool

do_handle_enable(invocation, arg_enable) virtual
Parameters:
Return type:

bool

do_handle_factory_reset(invocation, arg_code) virtual
Parameters:
Return type:

bool

do_handle_get_cell_info(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_list_bearers(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_reset(invocation) virtual
Parameters:

invocation (Gio.DBusMethodInvocation) –

Return type:

bool

do_handle_set_current_bands(invocation, arg_bands) virtual
Parameters:
Return type:

bool

do_handle_set_current_capabilities(invocation, arg_capabilities) virtual
Parameters:
Return type:

bool

do_handle_set_current_modes(invocation, arg_modes) virtual
Parameters:
Return type:

bool

do_handle_set_power_state(invocation, arg_state) virtual
Parameters:
Return type:

bool

do_handle_set_primary_sim_slot(invocation, arg_sim_slot) virtual
Parameters:
Return type:

bool

do_state_changed(arg_old, arg_new, arg_reason) virtual
Parameters:
  • arg_old (int) –

  • arg_new (int) –

  • arg_reason (int) –

Signal Details

ModemManager.GdbusModem.signals.handle_command(gdbus_modem, invocation, arg_cmd, arg_timeout)
Signal Name:

handle-command

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘Command() [gdbus-method-org-freedesktop-ModemManager1-Modem.Command]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_command() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_create_bearer(gdbus_modem, invocation, arg_properties)
Signal Name:

handle-create-bearer

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘CreateBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_create_bearer() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_delete_bearer(gdbus_modem, invocation, arg_bearer)
Signal Name:

handle-delete-bearer

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘DeleteBearer() [gdbus-method-org-freedesktop-ModemManager1-Modem.DeleteBearer]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_delete_bearer() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_enable(gdbus_modem, invocation, arg_enable)
Signal Name:

handle-enable

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘Enable() [gdbus-method-org-freedesktop-ModemManager1-Modem.Enable]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_enable() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_factory_reset(gdbus_modem, invocation, arg_code)
Signal Name:

handle-factory-reset

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘FactoryReset() [gdbus-method-org-freedesktop-ModemManager1-Modem.FactoryReset]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_factory_reset() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_get_cell_info(gdbus_modem, invocation)
Signal Name:

handle-get-cell-info

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘GetCellInfo() [gdbus-method-org-freedesktop-ModemManager1-Modem.GetCellInfo]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_get_cell_info() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_list_bearers(gdbus_modem, invocation)
Signal Name:

handle-list-bearers

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘ListBearers() [gdbus-method-org-freedesktop-ModemManager1-Modem.ListBearers]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_list_bearers() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_reset(gdbus_modem, invocation)
Signal Name:

handle-reset

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘Reset() [gdbus-method-org-freedesktop-ModemManager1-Modem.Reset]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_reset() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_set_current_bands(gdbus_modem, invocation, arg_bands)
Signal Name:

handle-set-current-bands

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘SetCurrentBands() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentBands]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_set_current_bands() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_set_current_capabilities(gdbus_modem, invocation, arg_capabilities)
Signal Name:

handle-set-current-capabilities

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘SetCurrentCapabilities() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentCapabilities]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_set_current_capabilities() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_set_current_modes(gdbus_modem, invocation, arg_modes)
Signal Name:

handle-set-current-modes

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘SetCurrentModes() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetCurrentModes]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_set_current_modes() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_set_power_state(gdbus_modem, invocation, arg_state)
Signal Name:

handle-set-power-state

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘SetPowerState() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPowerState]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_set_power_state() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.handle_set_primary_sim_slot(gdbus_modem, invocation, arg_sim_slot)
Signal Name:

handle-set-primary-sim-slot

Flags:

RUN_LAST

Parameters:
Returns:

Gio.DBUS_METHOD_INVOCATION_HANDLED or True if the invocation was handled, Gio.DBUS_METHOD_INVOCATION_UNHANDLED or False to let other signal handlers run.

Return type:

bool

Signal emitted when a remote caller is invoking the ‘SetPrimarySimSlot() [gdbus-method-org-freedesktop-ModemManager1-Modem.SetPrimarySimSlot]’ D-Bus method.

If a signal handler returns True, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call ModemManager.GdbusModem.complete_set_primary_sim_slot() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the Gio.DBusError.UNKNOWN_METHOD error is returned.

ModemManager.GdbusModem.signals.state_changed(gdbus_modem, arg_old, arg_new, arg_reason)
Signal Name:

state-changed

Flags:

RUN_LAST

Parameters:
  • gdbus_modem (ModemManager.GdbusModem) – The object which received the signal

  • arg_old (int) – Argument.

  • arg_new (int) – Argument.

  • arg_reason (int) – Argument.

On the client-side, this signal is emitted whenever the D-Bus signal ‘“StateChanged” [gdbus-signal-org-freedesktop-ModemManager1-Modem.StateChanged]’ is received.

On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.

Property Details

ModemManager.GdbusModem.props.access_technologies
Name:

access-technologies

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“AccessTechnologies” [gdbus-property-org-freedesktop-ModemManager1-Modem.AccessTechnologies]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.bearers
Name:

bearers

Type:

[str]

Default Value:

[]

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Bearers” [gdbus-property-org-freedesktop-ModemManager1-Modem.Bearers]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.carrier_configuration
Name:

carrier-configuration

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“CarrierConfiguration” [gdbus-property-org-freedesktop-ModemManager1-Modem.CarrierConfiguration]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.carrier_configuration_revision
Name:

carrier-configuration-revision

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“CarrierConfigurationRevision” [gdbus-property-org-freedesktop-ModemManager1-Modem.CarrierConfigurationRevision]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.current_bands
Name:

current-bands

Type:

GLib.Variant

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“CurrentBands” [gdbus-property-org-freedesktop-ModemManager1-Modem.CurrentBands]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.current_capabilities
Name:

current-capabilities

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“CurrentCapabilities” [gdbus-property-org-freedesktop-ModemManager1-Modem.CurrentCapabilities]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.current_modes
Name:

current-modes

Type:

GLib.Variant

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“CurrentModes” [gdbus-property-org-freedesktop-ModemManager1-Modem.CurrentModes]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.device
Name:

device

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Device” [gdbus-property-org-freedesktop-ModemManager1-Modem.Device]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.device_identifier
Name:

device-identifier

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“DeviceIdentifier” [gdbus-property-org-freedesktop-ModemManager1-Modem.DeviceIdentifier]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.drivers
Name:

drivers

Type:

[str]

Default Value:

[]

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Drivers” [gdbus-property-org-freedesktop-ModemManager1-Modem.Drivers]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.equipment_identifier
Name:

equipment-identifier

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“EquipmentIdentifier” [gdbus-property-org-freedesktop-ModemManager1-Modem.EquipmentIdentifier]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.hardware_revision
Name:

hardware-revision

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“HardwareRevision” [gdbus-property-org-freedesktop-ModemManager1-Modem.HardwareRevision]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.manufacturer
Name:

manufacturer

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Manufacturer” [gdbus-property-org-freedesktop-ModemManager1-Modem.Manufacturer]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.max_active_bearers
Name:

max-active-bearers

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“MaxActiveBearers” [gdbus-property-org-freedesktop-ModemManager1-Modem.MaxActiveBearers]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.max_active_multiplexed_bearers
Name:

max-active-multiplexed-bearers

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“MaxActiveMultiplexedBearers” [gdbus-property-org-freedesktop-ModemManager1-Modem.MaxActiveMultiplexedBearers]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.max_bearers
Name:

max-bearers

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“MaxBearers” [gdbus-property-org-freedesktop-ModemManager1-Modem.MaxBearers]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.model
Name:

model

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Model” [gdbus-property-org-freedesktop-ModemManager1-Modem.Model]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.own_numbers
Name:

own-numbers

Type:

[str]

Default Value:

[]

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“OwnNumbers” [gdbus-property-org-freedesktop-ModemManager1-Modem.OwnNumbers]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.physdev
Name:

physdev

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Physdev” [gdbus-property-org-freedesktop-ModemManager1-Modem.Physdev]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.plugin
Name:

plugin

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Plugin” [gdbus-property-org-freedesktop-ModemManager1-Modem.Plugin]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.ports
Name:

ports

Type:

GLib.Variant

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Ports” [gdbus-property-org-freedesktop-ModemManager1-Modem.Ports]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.power_state
Name:

power-state

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“PowerState” [gdbus-property-org-freedesktop-ModemManager1-Modem.PowerState]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.primary_port
Name:

primary-port

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“PrimaryPort” [gdbus-property-org-freedesktop-ModemManager1-Modem.PrimaryPort]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.primary_sim_slot
Name:

primary-sim-slot

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“PrimarySimSlot” [gdbus-property-org-freedesktop-ModemManager1-Modem.PrimarySimSlot]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.revision
Name:

revision

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Revision” [gdbus-property-org-freedesktop-ModemManager1-Modem.Revision]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.signal_quality
Name:

signal-quality

Type:

GLib.Variant

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“SignalQuality” [gdbus-property-org-freedesktop-ModemManager1-Modem.SignalQuality]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.sim
Name:

sim

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“Sim” [gdbus-property-org-freedesktop-ModemManager1-Modem.Sim]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.sim_slots
Name:

sim-slots

Type:

[str]

Default Value:

[]

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“SimSlots” [gdbus-property-org-freedesktop-ModemManager1-Modem.SimSlots]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.state
Name:

state

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“State” [gdbus-property-org-freedesktop-ModemManager1-Modem.State]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.state_failed_reason
Name:

state-failed-reason

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“StateFailedReason” [gdbus-property-org-freedesktop-ModemManager1-Modem.StateFailedReason]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.supported_bands
Name:

supported-bands

Type:

GLib.Variant

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“SupportedBands” [gdbus-property-org-freedesktop-ModemManager1-Modem.SupportedBands]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.supported_capabilities
Name:

supported-capabilities

Type:

GLib.Variant

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“SupportedCapabilities” [gdbus-property-org-freedesktop-ModemManager1-Modem.SupportedCapabilities]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.supported_ip_families
Name:

supported-ip-families

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“SupportedIpFamilies” [gdbus-property-org-freedesktop-ModemManager1-Modem.SupportedIpFamilies]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.supported_modes
Name:

supported-modes

Type:

GLib.Variant

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“SupportedModes” [gdbus-property-org-freedesktop-ModemManager1-Modem.SupportedModes]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.unlock_required
Name:

unlock-required

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“UnlockRequired” [gdbus-property-org-freedesktop-ModemManager1-Modem.UnlockRequired]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

ModemManager.GdbusModem.props.unlock_retries
Name:

unlock-retries

Type:

GLib.Variant

Default Value:

None

Flags:

READABLE, WRITABLE

Represents the D-Bus property ‘“UnlockRetries” [gdbus-property-org-freedesktop-ModemManager1-Modem.UnlockRetries]’.

Since the D-Bus property for this GObject.Object property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.