ModemManager.SignalThresholdProperties

g GObject.Object GObject.Object ModemManager.SignalThresholdProperties ModemManager.SignalThresholdProperties GObject.Object->ModemManager.SignalThresholdProperties

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_error_rate ()

get_rssi ()

set_error_rate (error_rate_threshold)

set_rssi (rssi_threshold)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class ModemManager.SignalThresholdProperties(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ModemManager.SignalThresholdPropertiesClass

The ModemManager.SignalThresholdProperties structure contains private data and should only be accessed using the provided API.

classmethod new()
Returns:

a ModemManager.SignalThresholdProperties. The returned value should be freed with GObject.Object.unref().

Return type:

ModemManager.SignalThresholdProperties

Creates a new empty ModemManager.SignalThresholdProperties.

New in version 1.20.

get_error_rate()
Returns:

True if the error rate threshold is enabled, False otherwise.

Return type:

bool

Gets whether the error rate threshold is enabled or disabled.

New in version 1.20.

get_rssi()
Returns:

the RSSI threshold, or 0 if disabled.

Return type:

int

Gets the RSSI threshold, in dBm.

New in version 1.20.

set_error_rate(error_rate_threshold)
Parameters:

error_rate_threshold (bool) – True to enable, False to disable.

Enables or disables the error rate threshold.

New in version 1.20.

set_rssi(rssi_threshold)
Parameters:

rssi_threshold (int) – the RSSI threshold, or 0 to disable.

Sets the RSSI threshold, in dBm.

New in version 1.20.