org.freedesktop.ModemManager1

org.freedesktop.ModemManager1 — The ModemManager Manager interface.

Methods

ScanDevices       ();
SetLogging        (IN  s     level);
ReportKernelEvent (IN  a{sv} properties);

Description

The Manager interface allows controlling and querying the status of the ModemManager daemon.

Method Details

The ScanDevices() method

ScanDevices ();

Start a new scan for connected modem devices.


The SetLogging() method

SetLogging (IN  s level);

Set logging verbosity.

IN s level:

One of "ERR", "WARN", "INFO", "DEBUG".


The ReportKernelEvent() method

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:

action

The type of action, given as a string value (signature "s"). This parameter is MANDATORY.

add

A new kernel device has been added.

remove

An existing kernel device has been removed.

name

The device name, given as a string value (signature "s"). This parameter is MANDATORY.

subsystem

The device subsystem, given as a string value (signature "s"). This parameter is MANDATORY.

uid

The unique ID of the physical device, given as a string value (signature "s"). This parameter is OPTIONAL, if not given the sysfs path of the physical device will be used. This parameter must be the same for all devices exposed by the same physical device.

IN a{sv} properties:

event properties.