NM.DeviceModem¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
|||
r |
|||
r |
|||
r |
|||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.DeviceModem(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_apn()¶
-
The access point name the modem is connected to.
New in version 1.20.
- get_current_capabilities()¶
- Returns:
the generic access technology families the modem supports without a firmware reload or other reinitialization
- Return type:
Returns a bitfield of the generic access technology families the modem supports without a firmware reload or reinitialization. This value represents the network types the modem can immediately connect to.
- get_device_id()¶
- Returns:
a device-id string
- Return type:
An identifier used by the modem backend (ModemManager) that aims to uniquely identify the a device. Can be used to match a connection to a particular device.
New in version 1.20.
- get_modem_capabilities()¶
- Returns:
the generic access technology families the modem supports
- Return type:
Returns a bitfield of the generic access technology families the modem supports. Not all capabilities are available concurrently however; some may require a firmware reload or reinitialization.
Property Details¶
- NM.DeviceModem.props.apn¶
-
New in version 1.20.
- NM.DeviceModem.props.current_capabilities¶
- Name:
current-capabilities
- Type:
- Default Value:
- Flags:
The generic family of access technologies the modem currently supports without a firmware reload or reinitialization.
- NM.DeviceModem.props.device_id¶
-
New in version 1.20.
- NM.DeviceModem.props.modem_capabilities¶
- Name:
modem-capabilities
- Type:
- Default Value:
- Flags:
The generic family of access technologies the modem supports. Not all capabilities are available at the same time however; some modems require a firmware reload or other reinitialization to switch between eg CDMA/EVDO and GSM/UMTS.