ModemManager.SimpleStatus¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Access technologies used by the modem |
||
r/w |
Registration state in the CDMA1x network |
||
r/w |
Registration state in the EV-DO network |
||
r/w |
Network Identifier of the serving CDMA1x network |
||
r/w |
System Identifier of the serving CDMA1x network |
||
r/w |
Frequency bands used by the modem |
||
r/w |
Code of the current operator in the 3GPP network |
||
r/w |
Name of the current operator in the 3GPP network |
||
r/w |
Registration state in the 3GPP network |
||
r/w |
Subscription state of the account (deprecated) |
||
r/w |
Signal quality reported by the modem |
||
r/w |
State of the modem |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ModemManager.SimpleStatus(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ModemManager.SimpleStatus
structure contains private data and should only be accessed using the provided API.- get_3gpp_operator_code()¶
- Returns:
the operator code, or
None
if unknown. Do not free the returned value, it is owned by self.- Return type:
Gets the MCC/MNC of the operator of the 3GPP network where the modem is registered.
New in version 1.0.
- get_3gpp_operator_name()¶
- Returns:
the operator name, or
None
if unknown. Do not free the returned value, it is owned by self.- Return type:
Gets the name of the operator of the 3GPP network where the modem is registered.
New in version 1.0.
- get_3gpp_registration_state()¶
- Returns:
- Return type:
Gets the current state of the registration in the 3GPP network.
New in version 1.0.
- get_3gpp_subscription_state()¶
- Returns:
- Return type:
Gets the current subscription status of the account.
New in version 1.0.
Deprecated since version 1.12.0.: The value of this property can only be obtained with operator specific logic (e.g. processing specific PCO info), and therefore it doesn’t make sense to expose it in the ModemManager interface.
- get_access_technologies()¶
- Returns:
a bitmask of
ModemManager.ModemAccessTechnology
values.- Return type:
Gets the currently used access technologies.
New in version 1.0.
- get_cdma_cdma1x_registration_state()¶
- Returns:
- Return type:
Gets the current state of the registration in the CDMA-1x network.
New in version 1.0.
- get_cdma_evdo_registration_state()¶
- Returns:
- Return type:
Gets the current state of the registration in the EV-DO network.
New in version 1.0.
- get_cdma_nid()¶
- Returns:
the NID, or
ModemManager.MODEM_CDMA_NID_UNKNOWN
if unknown.- Return type:
Gets the Network Identification number of the CDMA network.
New in version 1.0.
- get_cdma_sid()¶
- Returns:
the SID, or
ModemManager.MODEM_CDMA_SID_UNKNOWN
if unknown.- Return type:
Gets the System Identification number of the CDMA network.
New in version 1.0.
- get_current_bands()¶
- Returns:
- bands:
location for an array of
ModemManager.ModemBand
values. Do not free the returned value, it is owned by self.- n_bands:
number of elements in bands.
- Return type:
(bands:
ModemManager.ModemBand
, n_bands:int
)
Gets the currently used frequency bands.
New in version 1.0.
- get_signal_quality()¶
- Returns:
the signal quality.
- recent:
indication of whether the given signal quality is considered recent.
- Return type:
Gets the signal quality.
New in version 1.0.
- get_state()¶
- Returns:
- Return type:
Gets the state of the modem.
New in version 1.0.
Property Details¶
- ModemManager.SimpleStatus.props.access_technologies¶
- Name:
access-technologies
- Type:
- Default Value:
- Flags:
Access technologies used by the modem
- ModemManager.SimpleStatus.props.cdma_cdma1x_registration_state¶
- Name:
cdma-cdma1x-registration-state
- Type:
- Default Value:
- Flags:
Registration state in the CDMA1x network
- ModemManager.SimpleStatus.props.cdma_evdo_registration_state¶
- Name:
cdma-evdo-registration-state
- Type:
- Default Value:
- Flags:
Registration state in the EV-DO network
- ModemManager.SimpleStatus.props.cdma_nid¶
-
Network Identifier of the serving CDMA1x network
- ModemManager.SimpleStatus.props.cdma_sid¶
-
System Identifier of the serving CDMA1x network
- ModemManager.SimpleStatus.props.current_bands¶
- Name:
current-bands
- Type:
- Default Value:
- Flags:
Frequency bands used by the modem
- ModemManager.SimpleStatus.props.m3gpp_operator_code¶
-
Code of the current operator in the 3GPP network
- ModemManager.SimpleStatus.props.m3gpp_operator_name¶
-
Name of the current operator in the 3GPP network
- ModemManager.SimpleStatus.props.m3gpp_registration_state¶
- Name:
m3gpp-registration-state
- Type:
- Default Value:
- Flags:
Registration state in the 3GPP network
- ModemManager.SimpleStatus.props.m3gpp_subscription_state¶
- Name:
m3gpp-subscription-state
- Type:
- Default Value:
- Flags:
Subscription state of the account (deprecated)
- ModemManager.SimpleStatus.props.signal_quality¶
- Name:
signal-quality
- Type:
- Default Value:
- Flags:
Signal quality reported by the modem
- ModemManager.SimpleStatus.props.state¶
- Name:
state
- Type:
- Default Value:
- Flags:
State of the modem