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 Notifier * notifier ()
 
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.

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)

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 107 of file manager.cpp.

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 121 of file manager.cpp.

void ModemManager::scanDevices ( )

Start a new scan for connected modem devices.

Definition at line 138 of file manager.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Apr 20 2021 22:59:31 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.