ModemManager::ModemSignal

Search for usage in LXR

ModemManager::ModemSignal Class Reference

#include <modemsignal.h>

Public Types

typedef QList< PtrList
 
typedef QSharedPointer< ModemSignalPtr
 

Signals

void cdmaChanged (const QVariantMap &cdma)
 
void evdoChanged (const QVariantMap &evdo)
 
void gsmChanged (const QVariantMap &gsm)
 
void lteChanged (const QString &lte)
 
void rateChanged (uint rate)
 
void umtsChanged (const QVariantMap &umts)
 

Public Member Functions

 ModemSignal (const QString &path, QObject *parent=nullptr)
 
QVariantMap cdma () const
 
QVariantMap evdo () const
 
QVariantMap gsm () const
 
QVariantMap lte () const
 
uint rate () const
 
void setTimeout (int timeout)
 
QDBusPendingReply< void > setup (uint rate)
 
int timeout () const
 
QVariantMap umts () const
 

Detailed Description

The ModemSignal class.

This class provides access to extended signal quality information.

Since
1.1.94

Definition at line 29 of file modemsignal.h.

Member Typedef Documentation

◆ List

◆ Ptr

Constructor & Destructor Documentation

◆ ModemSignal()

ModemManager::ModemSignal::ModemSignal ( const QString & path,
QObject * parent = nullptr )
explicit

Definition at line 36 of file modemsignal.cpp.

◆ ~ModemSignal()

ModemManager::ModemSignal::~ModemSignal ( )
override

Definition at line 57 of file modemsignal.cpp.

Member Function Documentation

◆ cdma()

QVariantMap ModemManager::ModemSignal::cdma ( ) const
Returns
Dictionary of available signal information for the CDMA1x access technology.

This dictionary is composed of a string key, with an associated data which contains type-specific information.

Parameters
rssiThe CDMA1x RSSI (Received Signal Strength Indication), in dBm, given as a floating point value (signature "d").
ecioThe CDMA1x Ec/Io, in dBm, given as a floating point value (signature "d").

Definition at line 67 of file modemsignal.cpp.

◆ evdo()

QVariantMap ModemManager::ModemSignal::evdo ( ) const
Returns
Dictionary of available signal information for the CDMA EV-DO access technology.

This dictionary is composed of a string key, with an associated data which contains type-specific information.

Parameters
rssiThe CDMA EV-DO RSSI (Received Signal Strength Indication), in dBm, given as a floating point value (signature "d").
ecioThe CDMA EV-DO Ec/Io, in dBm, given as a floating point value (signature "d").
sinrCDMA EV-DO SINR level, in dB, given as a floating point value (signature "d").
ioThe CDMA EV-DO Io, in dBm, given as a floating point value (signature "d").

Definition at line 73 of file modemsignal.cpp.

◆ gsm()

QVariantMap ModemManager::ModemSignal::gsm ( ) const
Returns
Dictionary of available signal information for the GSM/GPRS access technology.

This dictionary is composed of a string key, with an associated data which contains type-specific information.

Parameters
rssiThe GSM RSSI (Received Signal Strength Indication), in dBm, given as a floating point value (signature "d").

Definition at line 79 of file modemsignal.cpp.

◆ lte()

QVariantMap ModemManager::ModemSignal::lte ( ) const
Returns
Dictionary of available signal information for the UMTS (WCDMA) access technology.

This dictionary is composed of a string key, with an associated data which contains type-specific information.

Parameters
rssiThe LTE RSSI (Received Signal Strength Indication), in dBm, given as a floating point value (signature "d").
rsrqThe LTE RSRQ (Reference Signal Received Quality), in dB, given as a floating point value (signature "d").
rsrpThe LTE RSRP (Reference Signal Received Power), in dBm, given as a floating point value (signature "d").
snrThe LTE S/R ratio, in dB, given as a floating point value (signature "d").

Definition at line 85 of file modemsignal.cpp.

◆ rate()

uint ModemManager::ModemSignal::rate ( ) const
Returns
refresh rate for the extended signal quality information updates, in seconds. A value of 0 disables the retrieval of the values.

Definition at line 61 of file modemsignal.cpp.

◆ setTimeout()

void ModemManager::ModemSignal::setTimeout ( int timeout)

Sets the timeout in milliseconds for all async method DBus calls.

-1 means the default DBus timeout (usually 25 seconds).

Definition at line 103 of file modemsignal.cpp.

◆ setup()

QDBusPendingReply< void > ModemManager::ModemSignal::setup ( uint rate)

Setup extended signal quality information retrieval.

Parameters
raterefresh rate to set, in seconds. 0 to disable retrieval.

Definition at line 97 of file modemsignal.cpp.

◆ timeout()

int ModemManager::ModemSignal::timeout ( ) const

Returns the current value of the DBus timeout in milliseconds.

-1 means the default DBus timeout (usually 25 seconds).

Definition at line 109 of file modemsignal.cpp.

◆ umts()

QVariantMap ModemManager::ModemSignal::umts ( ) const
Returns
Dictionary of available signal information for the UMTS (WCDMA) access technology.

This dictionary is composed of a string key, with an associated data which contains type-specific information.

Parameters
rssiThe UMTS RSSI (Received Signal Strength Indication), in dBm, given as a floating point value (signature "d").
ecioThe UMTS Ec/Io, in dBm, given as a floating point value (signature "d").

Definition at line 91 of file modemsignal.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.