ModemManager::ModemFirmware

Search for usage in LXR

ModemManager::ModemFirmware Class Reference

#include <modemfirmware.h>

Public Types

typedef QList< PtrList
 
typedef QSharedPointer< ModemFirmwarePtr
 

Public Member Functions

 ModemFirmware (const QString &path, QObject *parent=nullptr)
 
QDBusPendingReply< QString, QVariantMapListlistImages ()
 
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

◆ Ptr

Constructor & Destructor Documentation

◆ ModemFirmware()

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

Definition at line 26 of file modemfirmware.cpp.

◆ ~ModemFirmware()

ModemManager::ModemFirmware::~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
uniqueidThe 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:
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.