Top |
ScanDevices (); SetLogging (IN s level); ReportKernelEvent (IN a{sv} properties); InhibitDevice (IN s uid, IN b inhibit);
The Manager interface allows controlling and querying the status of the ModemManager daemon.
SetLogging (IN s level);
"MSG"
(since 1.22), "INFO"
, "DEBUG"
.
Set logging verbosity.
Since: 1.0
|
One of |
ReportKernelEvent (IN a{sv} properties);
Reports a kernel event to ModemManager.
This method is only available if udev is not being used to report kernel events.
The properties
dictionary is composed of key/value string pairs. The
possible keys are:
|
The type of action, given as a string value (signature
|
||||
|
The device name, given as a string value (signature
|
||||
|
The device subsystem, given as a string value (signature
|
||||
|
The unique ID of the physical device, given as a string value
(signature |
Since: 1.8
|
event properties. |
InhibitDevice (IN s uid, IN b inhibit);
org.freedesktop.ModemManager1.Modem:Device property.
inhibit
: TRUE
to inhibit the modem and FALSE
to uninhibit it.
Inhibit or uninhibit the device.
When the modem is inhibited ModemManager will close all its ports and unexport it from the bus, so that users of the interface are no longer able to operate with it.
This operation binds the inhibition request to the existence of the caller in the DBus bus. If the caller disappears from the bus, the inhibition will automatically removed.
Since: 1.10
|
the unique ID of the physical device, given in the |
|
|