ModemManager::ModemFirmware
#include <modemfirmware.h>
Public Types | |
typedef QList< Ptr > | List |
typedef QSharedPointer< ModemFirmware > | Ptr |
Public Member Functions | |
ModemFirmware (const QString &path, QObject *parent=nullptr) | |
QDBusPendingReply< QString, QVariantMapList > | listImages () |
void | selectImage (const QString &uniqueid) |
Detailed Description
The ModemFirmware class.
This class allows clients to select or install firmware images on modems.
Firmware slots and firmware images are identified by arbitrary opaque strings.
- Since
- 1.1.94
Definition at line 30 of file modemfirmware.h.
Member Typedef Documentation
◆ List
Definition at line 37 of file modemfirmware.h.
◆ Ptr
Definition at line 36 of file modemfirmware.h.
Constructor & Destructor Documentation
◆ ModemFirmware()
|
explicit |
Definition at line 26 of file modemfirmware.cpp.
◆ ~ModemFirmware()
|
override |
Definition at line 31 of file modemfirmware.cpp.
Member Function Documentation
◆ listImages()
QDBusPendingReply< QString, ModemManager::QVariantMapList > ModemManager::ModemFirmware::listImages | ( | ) |
List installed firmware images.
Depending on the type of modem, installed images may be stored on the host or the modem. Installed images can be selected non-destructively.
- Returns
- Parameters
-
selected (QString) The unique name of the selected firmware image, or the empty string if no image is selected. installed (QVariantMapList) A map of dictionaries containing the properties of the installed firmware images.
Definition at line 35 of file modemfirmware.cpp.
◆ selectImage()
void ModemManager::ModemFirmware::selectImage | ( | const QString & | uniqueid | ) |
Selects a different firmware image to use, and immediately resets the modem so that it begins using the new firmware image.
The method will fail if the identifier does not match any of the names returned by listImages(), or if the image could not be selected for some reason.
- Parameters
-
uniqueid The unique ID of the firmware image to select.
Definition at line 41 of file modemfirmware.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.