ModemManager

ModemManager Namespace Reference

Classes

class  Bearer
 
class  BearerProperties
 
class  Call
 
class  IpConfig
 
class  Modem
 
class  Modem3gpp
 
class  Modem3gppUssd
 
class  ModemCdma
 
class  ModemFirmware
 
class  ModemLocation
 
class  ModemMessaging
 
class  ModemOma
 
class  ModemSignal
 
class  ModemSimple
 
class  ModemTime
 
class  ModemVoice
 
class  NetworkTimezone
 
class  Sim
 
class  Sms
 

Typedefs

typedef QMap< QDBusObjectPath, MMVariantMapMapDBUSManagerStruct
 
typedef QMap< MMModemLocationSource, QVariantLocationInformationMap
 
typedef QMap< QString, QVariantMap > MMVariantMapMap
 
typedef QList< Port > PortList
 
typedef QList< QVariantMap > QVariantMapList
 
typedef QList< CurrentModesType > SupportedModesType
 
typedef QList< uint > UIntList
 
typedef QList< QList< uint > > UIntListList
 
typedef QMap< MMModemLock, uint > UnlockRetriesMap
 

Functions

MODEMMANAGERQT_EXPORT ModemDevice::Ptr findModemDevice (const QString &uni)
 
MODEMMANAGERQT_EXPORT ModemDevice::List modemDevices ()
 
MODEMMANAGERQT_EXPORT Notifiernotifier ()
 
MODEMMANAGERQT_EXPORT 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.

Typedef Documentation

◆ DBUSManagerStruct

◆ LocationInformationMap

typedef QMap<MMModemLocationSource, QVariant> ModemManager::LocationInformationMap

Definition at line 115 of file generictypes.h.

◆ MMVariantMapMap

Definition at line 84 of file generictypes.h.

◆ PortList

Definition at line 93 of file generictypes.h.

◆ QVariantMapList

typedef QList<QVariantMap> ModemManager::QVariantMapList

Definition at line 114 of file generictypes.h.

◆ SupportedModesType

typedef QList<CurrentModesType> ModemManager::SupportedModesType

Definition at line 104 of file generictypes.h.

◆ UIntList

Definition at line 86 of file generictypes.h.

◆ UIntListList

Definition at line 87 of file generictypes.h.

◆ UnlockRetriesMap

typedef QMap<MMModemLock, uint> ModemManager::UnlockRetriesMap

Definition at line 113 of file generictypes.h.

Function Documentation

◆ findModemDevice()

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)

Parameters
unithe 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

Definition at line 112 of file manager.cpp.

◆ modemDevices()

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

Definition at line 126 of file manager.cpp.

◆ notifier()

ModemManager::Notifier * ModemManager::notifier ( )

Definition at line 218 of file manager.cpp.

◆ scanDevices()

void ModemManager::scanDevices ( )

Start a new scan for connected modem devices.

Definition at line 143 of file manager.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.