ModemManager::ModemSignal
#include <modemsignal.h>
Public Types | |
typedef QList< Ptr > | List |
typedef QSharedPointer< ModemSignal > | Ptr |
Signals | |
void | cdmaChanged (const QVariantMap &cdma) |
void | evdoChanged (const QVariantMap &evdo) |
void | gsmChanged (const QVariantMap &gsm) |
void | lteChanged (const QString <e) |
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
Definition at line 36 of file modemsignal.h.
◆ Ptr
Definition at line 35 of file modemsignal.h.
Constructor & Destructor Documentation
◆ ModemSignal()
|
explicit |
Definition at line 36 of file modemsignal.cpp.
◆ ~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
-
rssi The CDMA1x RSSI (Received Signal Strength Indication), in dBm, given as a floating point value (signature "d"). ecio The 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
-
rssi The CDMA EV-DO RSSI (Received Signal Strength Indication), in dBm, given as a floating point value (signature "d"). ecio The CDMA EV-DO Ec/Io, in dBm, given as a floating point value (signature "d"). sinr CDMA EV-DO SINR level, in dB, given as a floating point value (signature "d"). io The 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
-
rssi The 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
-
rssi The LTE RSSI (Received Signal Strength Indication), in dBm, given as a floating point value (signature "d"). rsrq The LTE RSRQ (Reference Signal Received Quality), in dB, given as a floating point value (signature "d"). rsrp The LTE RSRP (Reference Signal Received Power), in dBm, given as a floating point value (signature "d"). snr The 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
-
rate refresh 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
-
rssi The UMTS RSSI (Received Signal Strength Indication), in dBm, given as a floating point value (signature "d"). ecio The 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:
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.