ModemManager Namespace

Header: #include <ModemManager>
CMake: find_package(KF6 REQUIRED COMPONENTS ModemManagerQt)
target_link_libraries(mytarget PRIVATE KF6::ModemManagerQt)

Classes

class Bearer
class BearerProperties
class Call
class Interface
class IpConfig
class Modem
class Modem3gpp
class Modem3gppUssd
class ModemCdma
class ModemDevice
(since 1.1.94) class ModemFirmware
class ModemLocation
class ModemMessaging
(since 1.1.92) class ModemOma
(since 1.1.94) class ModemSignal
class ModemSimple
class ModemTime
class ModemVoice
class NetworkTimezone
class Notifier
class Sim
class Sms

Types

Functions

ModemManager::ModemDevice::Ptr findModemDevice(const QString &uni)
ModemManager::ModemDevice::List modemDevices()
ModemManager::Notifier *notifier()
void scanDevices()

Detailed Description

This namespace allows to query the underlying system to discover the available modem interfaces responsibility to notify when a modem interface or a modem appears or disappears.

Note that it's implemented as a singleton and encapsulates the backend logic.

Classes

class Bearer

The Bearer class. More...

class BearerProperties

This class represents bearer properties used for creating of new bearers. More...

class Call

Provides an interface to manipulate and control a call. More...

class Interface

class IpConfig

This class represents IP configuration. More...

class Modem

The Modem class. More...

class Modem3gpp

The Modem3gpp class. More...

class Modem3gppUssd

The Modem3gppUssd class. More...

class ModemCdma

The ModemCdma class. More...

class ModemDevice

class ModemFirmware

The ModemFirmware class. More...

class ModemLocation

The ModemLocation class. More...

class ModemMessaging

The ModemMessaging class. More...

class ModemOma

The ModemManager Open Mobile Alliance interface. More...

class ModemSignal

The ModemSignal class. More...

class ModemSimple

The ModemSimple class. More...

class ModemTime

The ModemTime class. More...

class ModemVoice

The ModemVoice class. More...

class NetworkTimezone

This class represents the timezone data provided by the network. More...

class Notifier

class Sim

The Sim class. More...

class Sms

Provides an interface to manipulate and control an SMS. More...

Type Documentation

ModemManager::CurrentModesType

ModemManager::DBUSManagerStruct

ModemManager::LocationInformationMap

ModemManager::MMVariantMapMap

ModemManager::OmaSessionType

ModemManager::OmaSessionTypes

ModemManager::Port

ModemManager::PortList

ModemManager::QVariantMapList

ModemManager::SignalQualityPair

ModemManager::SupportedModesType

ModemManager::UIntList

ModemManager::UIntListList

ModemManager::UnlockRetriesMap

ModemManager::ValidityPair

Function Documentation

ModemManager::ModemDevice::Ptr ModemManager::findModemDevice(const QString &uni)

Find a new ModemManagerInterface object given its UDI.

Note: only Modem-inherited objects are returned (not SMS, SIM or Bearer objects)

uni the identifier of the modem interface to find Returns a valid Modem object if there's a device having the given UDI, an invalid one otherwise

ModemManager::ModemDevice::List ModemManager::modemDevices()

Retrieves the list of all modem interfaces Unique Device Identifiers (UDIs) in the system. This method is the equivalent of enumerateDevices described in Modem Manager specification.

Note: only HW modems are returned (Gsm or Cdma)

Returns the list of modem interfaces available in this system

ModemManager::Notifier *ModemManager::notifier()

void ModemManager::scanDevices()

Start a new scan for connected modem devices.