Hey,

On Wed, Nov 9, 2016 at 10:27 AM, Thinh Nguyen
<nguyentrongthin...@gmail.com> wrote:
> I’m looking for an example to get signal strength of 3G use Dbus API to
> communication with Modem manager. My problem is how to list all modem device
> (/org/freedesktop/ModemManager1/Modems/#)

You can list the available modems using the standard ObjectManager
interface and its GetManagedObjects() method:

org.freedesktop.DBus.ObjectManager.GetManagedObjects (out
DICT<OBJPATH,DICT<STRING,DICT<STRING,VARIANT>>>
objpath_interfaces_and_properties);

See 
https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager

-- 
Aleksander
https://aleksander.es
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to