ModemManagerQt
modem.h
179 * When enabled, the modem's radio is powered on and data sessions, voice calls, location services, and Short Message Service may be available.
181 * When disabled, the modem enters low-power state and no network-related operations are available.
188 * This request may fail if the modem does not support additional bearers, if too many bearers are already defined, or if properties are invalid.
191 QDBusPendingReply<QDBusObjectPath> createBearer(const ModemManager::BearerProperties &bearerProperties);
196 * If the bearer is currently active and providing packet data server, it will be disconnected and that packet data service will terminate.
202 * @return the configured packet data bearers (EPS Bearers, PDP Contexts, or CDMA2000 Packet Data Sessions).
212 * Clear non-persistent configuration and state, and return the device to a newly-powered-on state.
219 * Clear the modem's configuration (including persistent configuration and state), and return the device to a factory-default state.
229 * Set the power @p state of the modem. This action can only be run when the modem is in MM_MODEM_STATE_DISABLED state.
240 * Set the access technologies (e.g. 2G/3G/4G preference) the device is currently allowed to use when connecting to a network.
248 * Set the radio frequency and technology bands the device is currently allowed to use when connecting to a network.
261 * @return List of MMModemCapability values, specifying the combinations of generic family of access technologies the modem supports.
263 * If the modem doesn't allow changing the current capabilities, a single entry with MM_MODEM_CAPABILITY_ANY will be given.
326 * @return The physical modem device reference (ie, USB, PCI, PCMCIA device), which may be dependent upon the operating system.
348 * @return The list of ports in the modem, given as an array of string and unsigned integer pairs.
349 * The string is the port name or path, and the integer is the port type given as a MMModemPortType value.
384 * @return Error specifying why the modem is in MM_MODEM_STATE_FAILED state, given as a MMModemStateFailedReason value.
393 * If the device's access technology cannot be determined, MM_MODEM_ACCESS_TECHNOLOGY_UNKNOWN will be reported.
417 * @return This property exposes the supported mode combinations, given as an list of unsigned integer pairs, where:
419 * The second integer is a single MMModemMode, which specifies the preferred access technology, among the ones defined in the allowed modes.
434 * @return List of MMModemBand values, specifying the radio frequency and technology bands supported by the device.
450 * @return QFlags of MMBearerIpFamily values, specifying the IP families supported by the device.
MMModemCdmaRmProtocol rmProtocol() const
Returns protocol of the Rm interface.
Definition modem.cpp:120
void setAllowedAuthentication(MMBearerAllowedAuth allowedAuth)
Sets the authentication method to use.
Definition modem.cpp:85
bool allowRoaming() const
Returns whether connection is allowed during roaming.
Definition modem.cpp:110
BearerProperties & operator=(const BearerProperties &other)
Makes a copy of the IpConfig object other.
Definition modem.cpp:140
MMBearerAllowedAuth allowedAuthentication() const
Returns used authentication method.
Definition modem.cpp:80
void setRmProtocol(MMModemCdmaRmProtocol rmProtocol)
Sets protocol of the Rm interface.
Definition modem.cpp:125
void setAllowRoaming(bool allow)
Sets whether connection is allowed during roaming.
Definition modem.cpp:115
ModemManager::Bearer::Ptr findBearer(const QString &bearer) const
Definition modem.cpp:338
IpBearerFamilies supportedIpFamilies() const
Definition modem.cpp:552
SupportedModesType supportedModes() const
Definition modem.cpp:528
QDBusPendingReply< void > setEnabled(bool enable)
Enable or disable the modem.
Definition modem.cpp:283
ModemManager::Bearer::List listBearers() const
Definition modem.cpp:322
QDBusPendingReply< void > reset()
Clear non-persistent configuration and state, and return the device to a newly-powered-on state.
Definition modem.cpp:344
QDBusPendingReply< void > factoryReset(const QString &code)
Clear the modem's configuration (including persistent configuration and state), and return the device...
Definition modem.cpp:350
QDBusPendingReply< void > setPowerState(MMModemPowerState state)
Set the power state of the modem.
Definition modem.cpp:356
MMModemStateFailedReason stateFailedReason() const
Definition modem.cpp:498
void setTimeout(int timeout)
Sets the timeout in milliseconds for all async method DBus calls.
Definition modem.cpp:577
AccessTechnologies accessTechnologies() const
Definition modem.cpp:504
int timeout() const
Returns the current value of the DBus timeout in milliseconds.
Definition modem.cpp:583
QList< MMModemBand > supportedBands() const
Definition modem.cpp:540
QDBusPendingReply< void > setCurrentCapabilities(Capabilities caps)
Set the capabilities of the device.
Definition modem.cpp:362
QDBusPendingReply< QDBusObjectPath > createBearer(const ModemManager::BearerProperties &bearerProperties)
Create a new packet data bearer using the given characteristics.
Definition modem.cpp:289
QDBusPendingReply< void > setCurrentModes(const CurrentModesType &mode)
Set the access technologies (e.g.
Definition modem.cpp:368
Capabilities currentCapabilities() const
Definition modem.cpp:402
QDBusPendingReply< void > setCurrentBands(const QList< MMModemBand > &bands)
Set the radio frequency and technology bands the device is currently allowed to use when connecting t...
Definition modem.cpp:374
QDBusPendingReply< void > deleteBearer(const QString &bearer)
Delete an existing packet data bearer.
Definition modem.cpp:316
QList< MMModemCapability > supportedCapabilities() const
Definition modem.cpp:396
This namespace allows to query the underlying system to discover the available modem interfaces respo...
Definition bearer.cpp:20
Q_FLAGS(...)
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:23 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:23 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.